diff --git a/.gitattributes b/.gitattributes index 03dd8163e520f0b612e2e37d98adb6b22cb78063..083dcbc8cef6ec92bd28aac81b6b7b94504fb958 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1321,3 +1321,4 @@ pace_revision_2/.venv-pace/lib/python3.11/site-packages/triton/instrumentation/l pace_revision_2/.venv-pace/lib/python3.11/site-packages/triton/language/__pycache__/core.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text pace_revision_2/.venv-pace/lib/python3.11/site-packages/yaml/_yaml.cpython-311-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text pace_revision_2/outputs/pace21_cuda_device_fix/source_identity_audit.sqlite filter=lfs diff=lfs merge=lfs -text +pace_revision_2/vendor/helena/model.keras filter=lfs diff=lfs merge=lfs -text diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/figures/spectra_A_ds300_fd100_snr10.pdf b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/figures/spectra_A_ds300_fd100_snr10.pdf new file mode 100644 index 0000000000000000000000000000000000000000..5489f7aaae53b0640b11af9cbeab0201fc871ae0 Binary files /dev/null and b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/figures/spectra_A_ds300_fd100_snr10.pdf differ diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/figures/spectra_A_ds300_fd100_snr10.png b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/figures/spectra_A_ds300_fd100_snr10.png new file mode 100644 index 0000000000000000000000000000000000000000..cc212efb99f3c515ce25919b37b7f42cab04a15a --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/figures/spectra_A_ds300_fd100_snr10.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1d3bfeafb2a9fa416782e29012cccdaebcc5bb55bd7972cfa353dc6675a2cd29 +size 195501 diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/figures/spectra_A_ds300_fd100_snr10.svg b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/figures/spectra_A_ds300_fd100_snr10.svg new file mode 100644 index 0000000000000000000000000000000000000000..13fb777a4f20a610ce2fb8edf22e2f9951934e9c --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/figures/spectra_A_ds300_fd100_snr10.svg @@ -0,0 +1,752 @@ + + + + + + + + 2026-09-26T06:43:38.463520 + image/svg+xml + + + Matplotlib v3.10.8, https://matplotlib.org/ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 30 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 50 + + + + + + + + + + + + + 60 + + + + Periodic delay coordinate (μs) + + + + + + + + + + + + + + + + + −6000 + + + + + + + + + + + + + −4000 + + + + + + + + + + + + + −2000 + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 2000 + + + + + + + + + + + + + 4000 + + + + + + + + + + + + + 6000 + + + + Nominal slot-DFT Doppler (Hz) + + + + + + + + + + Required correction + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 30 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 50 + + + + + + + + + + + + + 60 + + + + Periodic delay coordinate (μs) + + + + + + + + + + + + + + −6000 + + + + + + + + + + + + + −4000 + + + + + + + + + + + + + −2000 + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 2000 + + + + + + + + + + + + + 4000 + + + + + + + + + + + + + 6000 + + + + Nominal slot-DFT Doppler (Hz) + + + + + + + + + + Estimation error + + + + + + + + + + + + + + + + + + + + −50 + + + + + + + + + + −40 + + + + + + + + + + −30 + + + + + + + + + + −20 + + + + + + + + + + −10 + + + + + + + + + + 0 + + + + + + + + + + 10 + + + + Mean spectral energy (dB) + + + + + + + + + + + + + + + + + + + + + + −50 + + + + + + + + + + −40 + + + + + + + + + + −30 + + + + + + + + + + −20 + + + + + + + + + + −10 + + + + + + + + + + 0 + + + + + + + + + + 10 + + + + Mean spectral energy (dB) + + + + + + + + + SMOKE TEST — NOT RESEARCH RESULTS + + + + + + + + + + + diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/figures/spectra_C_ds100_fd100_snr10.pdf b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/figures/spectra_C_ds100_fd100_snr10.pdf new file mode 100644 index 0000000000000000000000000000000000000000..eeb11c8e19f9b2f4ebf9d5b54a053a3c4894cab4 Binary files /dev/null and b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/figures/spectra_C_ds100_fd100_snr10.pdf differ diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/figures/spectra_C_ds100_fd100_snr10.png b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/figures/spectra_C_ds100_fd100_snr10.png new file mode 100644 index 0000000000000000000000000000000000000000..e3cb15a7e29ab838f26d10d048cdc1c4b0425bb7 --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/figures/spectra_C_ds100_fd100_snr10.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6d4fe702fe6998270ce6eb931104b6cdcf7dcdcdd87a60f86463863e9e729379 +size 197708 diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/figures/spectra_C_ds100_fd100_snr10.svg b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/figures/spectra_C_ds100_fd100_snr10.svg new file mode 100644 index 0000000000000000000000000000000000000000..6a170031c908ced450c18cc423e4f58cb578db9f --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/figures/spectra_C_ds100_fd100_snr10.svg @@ -0,0 +1,742 @@ + + + + + + + + 2026-09-26T06:43:33.217958 + image/svg+xml + + + Matplotlib v3.10.8, https://matplotlib.org/ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 30 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 50 + + + + + + + + + + + + + 60 + + + + Periodic delay coordinate (μs) + + + + + + + + + + + + + + + + + −6000 + + + + + + + + + + + + + −4000 + + + + + + + + + + + + + −2000 + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 2000 + + + + + + + + + + + + + 4000 + + + + + + + + + + + + + 6000 + + + + Nominal slot-DFT Doppler (Hz) + + + + + + + + + + Required correction + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 30 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 50 + + + + + + + + + + + + + 60 + + + + Periodic delay coordinate (μs) + + + + + + + + + + + + + + −6000 + + + + + + + + + + + + + −4000 + + + + + + + + + + + + + −2000 + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 2000 + + + + + + + + + + + + + 4000 + + + + + + + + + + + + + 6000 + + + + Nominal slot-DFT Doppler (Hz) + + + + + + + + + + Estimation error + + + + + + + + + + + + + + + + + + + + −50 + + + + + + + + + + −40 + + + + + + + + + + −30 + + + + + + + + + + −20 + + + + + + + + + + −10 + + + + + + + + + + 0 + + + + Mean spectral energy (dB) + + + + + + + + + + + + + + + + + + + + + + −50 + + + + + + + + + + −40 + + + + + + + + + + −30 + + + + + + + + + + −20 + + + + + + + + + + −10 + + + + + + + + + + 0 + + + + + + + + + + 10 + + + + Mean spectral energy (dB) + + + + + + + + + SMOKE TEST — NOT RESEARCH RESULTS + + + + + + + + + + + diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/figures/spectra_C_ds100_fd10_snr10.pdf b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/figures/spectra_C_ds100_fd10_snr10.pdf new file mode 100644 index 0000000000000000000000000000000000000000..927966fb07a174fd704acd8a9e5f162039e795ed Binary files /dev/null and b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/figures/spectra_C_ds100_fd10_snr10.pdf differ diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/figures/spectra_C_ds100_fd10_snr10.png b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/figures/spectra_C_ds100_fd10_snr10.png new file mode 100644 index 0000000000000000000000000000000000000000..612dcf806cc7058c2fc107d49f0781827deb00fb --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/figures/spectra_C_ds100_fd10_snr10.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3dab405f3076cc98015204ecf1784a7abfdde81fd96b1695de8220aec0c1bc4b +size 197245 diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/figures/spectra_C_ds100_fd10_snr10.svg b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/figures/spectra_C_ds100_fd10_snr10.svg new file mode 100644 index 0000000000000000000000000000000000000000..ece62c4751691569e6db041554cdadcc4c1a9640 --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/figures/spectra_C_ds100_fd10_snr10.svg @@ -0,0 +1,742 @@ + + + + + + + + 2026-09-26T06:43:32.194054 + image/svg+xml + + + Matplotlib v3.10.8, https://matplotlib.org/ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 30 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 50 + + + + + + + + + + + + + 60 + + + + Periodic delay coordinate (μs) + + + + + + + + + + + + + + + + + −6000 + + + + + + + + + + + + + −4000 + + + + + + + + + + + + + −2000 + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 2000 + + + + + + + + + + + + + 4000 + + + + + + + + + + + + + 6000 + + + + Nominal slot-DFT Doppler (Hz) + + + + + + + + + + Required correction + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 30 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 50 + + + + + + + + + + + + + 60 + + + + Periodic delay coordinate (μs) + + + + + + + + + + + + + + −6000 + + + + + + + + + + + + + −4000 + + + + + + + + + + + + + −2000 + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 2000 + + + + + + + + + + + + + 4000 + + + + + + + + + + + + + 6000 + + + + Nominal slot-DFT Doppler (Hz) + + + + + + + + + + Estimation error + + + + + + + + + + + + + + + + + + + + −50 + + + + + + + + + + −40 + + + + + + + + + + −30 + + + + + + + + + + −20 + + + + + + + + + + −10 + + + + + + + + + + 0 + + + + Mean spectral energy (dB) + + + + + + + + + + + + + + + + + + + + + + −50 + + + + + + + + + + −40 + + + + + + + + + + −30 + + + + + + + + + + −20 + + + + + + + + + + −10 + + + + + + + + + + 0 + + + + + + + + + + 10 + + + + Mean spectral energy (dB) + + + + + + + + + SMOKE TEST — NOT RESEARCH RESULTS + + + + + + + + + + + diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/figures/spectra_C_ds100_fd200_snr10.pdf b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/figures/spectra_C_ds100_fd200_snr10.pdf new file mode 100644 index 0000000000000000000000000000000000000000..fa4ddfbfe2332c99b4881ab94639d70129a74a19 Binary files /dev/null and b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/figures/spectra_C_ds100_fd200_snr10.pdf differ diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/figures/spectra_C_ds100_fd200_snr10.png b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/figures/spectra_C_ds100_fd200_snr10.png new file mode 100644 index 0000000000000000000000000000000000000000..1bbda5de19100bbe65995295081c24529f4d37b0 --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/figures/spectra_C_ds100_fd200_snr10.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a73a9897e75d6624d7aa1494584034af372d3843d7e997968c5a5a85d7902079 +size 195650 diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/figures/spectra_C_ds100_fd200_snr10.svg b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/figures/spectra_C_ds100_fd200_snr10.svg new file mode 100644 index 0000000000000000000000000000000000000000..199d24b6676b90a68bff230878666ff9b001bd02 --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/figures/spectra_C_ds100_fd200_snr10.svg @@ -0,0 +1,752 @@ + + + + + + + + 2026-09-26T06:43:34.260269 + image/svg+xml + + + Matplotlib v3.10.8, https://matplotlib.org/ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 30 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 50 + + + + + + + + + + + + + 60 + + + + Periodic delay coordinate (μs) + + + + + + + + + + + + + + + + + −6000 + + + + + + + + + + + + + −4000 + + + + + + + + + + + + + −2000 + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 2000 + + + + + + + + + + + + + 4000 + + + + + + + + + + + + + 6000 + + + + Nominal slot-DFT Doppler (Hz) + + + + + + + + + + Required correction + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 30 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 50 + + + + + + + + + + + + + 60 + + + + Periodic delay coordinate (μs) + + + + + + + + + + + + + + −6000 + + + + + + + + + + + + + −4000 + + + + + + + + + + + + + −2000 + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 2000 + + + + + + + + + + + + + 4000 + + + + + + + + + + + + + 6000 + + + + Nominal slot-DFT Doppler (Hz) + + + + + + + + + + Estimation error + + + + + + + + + + + + + + + + + + + + −50 + + + + + + + + + + −40 + + + + + + + + + + −30 + + + + + + + + + + −20 + + + + + + + + + + −10 + + + + + + + + + + 0 + + + + + + + + + + 10 + + + + Mean spectral energy (dB) + + + + + + + + + + + + + + + + + + + + + + −50 + + + + + + + + + + −40 + + + + + + + + + + −30 + + + + + + + + + + −20 + + + + + + + + + + −10 + + + + + + + + + + 0 + + + + + + + + + + 10 + + + + Mean spectral energy (dB) + + + + + + + + + SMOKE TEST — NOT RESEARCH RESULTS + + + + + + + + + + + diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/figures/spectra_C_ds100_fd500_snr10.pdf b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/figures/spectra_C_ds100_fd500_snr10.pdf new file mode 100644 index 0000000000000000000000000000000000000000..766603e032a92190eceda7fa2583ea7446e88bb4 Binary files /dev/null and b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/figures/spectra_C_ds100_fd500_snr10.pdf differ diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/figures/spectra_C_ds100_fd500_snr10.png b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/figures/spectra_C_ds100_fd500_snr10.png new file mode 100644 index 0000000000000000000000000000000000000000..674c10d0203d50bde47f2728379b53f59dd25a3e --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/figures/spectra_C_ds100_fd500_snr10.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:05f71a538350a9f540322cb3eb6bf269c2c929b0666751c3a5e59a03e587636b +size 188534 diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/figures/spectra_C_ds100_fd500_snr10.svg b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/figures/spectra_C_ds100_fd500_snr10.svg new file mode 100644 index 0000000000000000000000000000000000000000..6c79ab68f0b1d7f637588702b0ec76029135bf84 --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/figures/spectra_C_ds100_fd500_snr10.svg @@ -0,0 +1,752 @@ + + + + + + + + 2026-09-26T06:43:35.278431 + image/svg+xml + + + Matplotlib v3.10.8, https://matplotlib.org/ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 30 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 50 + + + + + + + + + + + + + 60 + + + + Periodic delay coordinate (μs) + + + + + + + + + + + + + + + + + −6000 + + + + + + + + + + + + + −4000 + + + + + + + + + + + + + −2000 + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 2000 + + + + + + + + + + + + + 4000 + + + + + + + + + + + + + 6000 + + + + Nominal slot-DFT Doppler (Hz) + + + + + + + + + + Required correction + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 30 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 50 + + + + + + + + + + + + + 60 + + + + Periodic delay coordinate (μs) + + + + + + + + + + + + + + −6000 + + + + + + + + + + + + + −4000 + + + + + + + + + + + + + −2000 + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 2000 + + + + + + + + + + + + + 4000 + + + + + + + + + + + + + 6000 + + + + Nominal slot-DFT Doppler (Hz) + + + + + + + + + + Estimation error + + + + + + + + + + + + + + + + + + + + −50 + + + + + + + + + + −40 + + + + + + + + + + −30 + + + + + + + + + + −20 + + + + + + + + + + −10 + + + + + + + + + + 0 + + + + + + + + + + 10 + + + + Mean spectral energy (dB) + + + + + + + + + + + + + + + + + + + + + + −50 + + + + + + + + + + −40 + + + + + + + + + + −30 + + + + + + + + + + −20 + + + + + + + + + + −10 + + + + + + + + + + 0 + + + + + + + + + + 10 + + + + Mean spectral energy (dB) + + + + + + + + + SMOKE TEST — NOT RESEARCH RESULTS + + + + + + + + + + + diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/figures/spectra_C_ds300_fd10_snr10.pdf b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/figures/spectra_C_ds300_fd10_snr10.pdf new file mode 100644 index 0000000000000000000000000000000000000000..c04d5afe780a348d8ee73d549411ab53d3b5ce37 Binary files /dev/null and b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/figures/spectra_C_ds300_fd10_snr10.pdf differ diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/figures/spectra_C_ds300_fd10_snr10.png b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/figures/spectra_C_ds300_fd10_snr10.png new file mode 100644 index 0000000000000000000000000000000000000000..51a89c04af6e0057825a35e6d06f81e40e614278 --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/figures/spectra_C_ds300_fd10_snr10.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:969fd7fc37060ada0a2a6d721f1cac5cc894e8e60ac0c769cbd493618a36a47a +size 189538 diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/figures/spectra_C_ds300_fd10_snr10.svg b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/figures/spectra_C_ds300_fd10_snr10.svg new file mode 100644 index 0000000000000000000000000000000000000000..dde4484d116105e4fb4b45037399b96e9c003a70 --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/figures/spectra_C_ds300_fd10_snr10.svg @@ -0,0 +1,752 @@ + + + + + + + + 2026-09-26T06:43:37.455040 + image/svg+xml + + + Matplotlib v3.10.8, https://matplotlib.org/ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 30 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 50 + + + + + + + + + + + + + 60 + + + + Periodic delay coordinate (μs) + + + + + + + + + + + + + + + + + −6000 + + + + + + + + + + + + + −4000 + + + + + + + + + + + + + −2000 + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 2000 + + + + + + + + + + + + + 4000 + + + + + + + + + + + + + 6000 + + + + Nominal slot-DFT Doppler (Hz) + + + + + + + + + + Required correction + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 30 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 50 + + + + + + + + + + + + + 60 + + + + Periodic delay coordinate (μs) + + + + + + + + + + + + + + −6000 + + + + + + + + + + + + + −4000 + + + + + + + + + + + + + −2000 + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 2000 + + + + + + + + + + + + + 4000 + + + + + + + + + + + + + 6000 + + + + Nominal slot-DFT Doppler (Hz) + + + + + + + + + + Estimation error + + + + + + + + + + + + + + + + + + + + −50 + + + + + + + + + + −40 + + + + + + + + + + −30 + + + + + + + + + + −20 + + + + + + + + + + −10 + + + + + + + + + + 0 + + + + + + + + + + 10 + + + + Mean spectral energy (dB) + + + + + + + + + + + + + + + + + + + + + + −50 + + + + + + + + + + −40 + + + + + + + + + + −30 + + + + + + + + + + −20 + + + + + + + + + + −10 + + + + + + + + + + 0 + + + + + + + + + + 10 + + + + Mean spectral energy (dB) + + + + + + + + + SMOKE TEST — NOT RESEARCH RESULTS + + + + + + + + + + + diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/mechanism_diagnostics.csv b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/mechanism_diagnostics.csv new file mode 100644 index 0000000000000000000000000000000000000000..5b73b8824be15546f87ecc1e0a1ab4e86ddd2e27 --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/mechanism_diagnostics.csv @@ -0,0 +1,295 @@ +file,projection_fraction_pooled,anchor_nmse_pooled,correction_energy_normalized,required_learned_inner_normalized,cosine_mean_defined,cosine_undefined_count,max_abs_closure +evaluation/E01_main_compact_D_base_s41001/DIAG/C_ds100_fd10_snr0/raw.npz,0.0006875906529715881,1.0,0.009283493396251553,0.00557955082155035,0.14630344410044946,0,9.094947017729282e-13 +evaluation/E01_main_compact_D_base_s41001/DIAG/C_ds100_fd10_snr5/raw.npz,0.0006875906529715881,1.0,0.009265727533905846,0.0055535868707636896,0.14663525481811998,0,4.547473508864641e-13 +evaluation/E01_main_compact_D_base_s41001/DIAG/C_ds100_fd10_snr10/raw.npz,0.0006875906529715881,1.0,0.00926486469834431,0.005527528619533386,0.14679673837999857,0,4.547473508864641e-13 +evaluation/E01_main_compact_D_base_s41001/DIAG/C_ds100_fd10_snr15/raw.npz,0.0006875906529715881,1.0,0.009272219595498928,0.005506889970493988,0.14689935109986005,0,2.2737367544323206e-13 +evaluation/E01_main_compact_D_base_s41001/DIAG/C_ds100_fd10_snr20/raw.npz,0.0006875906529715881,1.0,0.00928499230954309,0.005490727528429952,0.14699441180226316,0,4.547473508864641e-13 +evaluation/E01_main_compact_D_base_s41001/DIAG/C_ds100_fd10_snr25/raw.npz,0.0006875906529715881,1.0,0.009300809449665158,0.005478978419942372,0.1470966990447149,0,9.094947017729282e-13 +evaluation/E01_main_compact_D_base_s41001/DIAG/C_ds100_fd100_snr0/raw.npz,0.0008261512542778008,1.0,0.009993693834216968,-0.004332839244657244,0.06499549132801083,0,4.547473508864641e-13 +evaluation/E01_main_compact_D_base_s41001/DIAG/C_ds100_fd100_snr5/raw.npz,0.0008261512542778008,1.0,0.009974846992140438,-0.004353346770346638,0.06510816462573571,0,4.547473508864641e-13 +evaluation/E01_main_compact_D_base_s41001/DIAG/C_ds100_fd100_snr10/raw.npz,0.0008261512542778008,1.0,0.009975344966770784,-0.004383701458774711,0.0651995292847904,0,4.547473508864641e-13 +evaluation/E01_main_compact_D_base_s41001/DIAG/C_ds100_fd100_snr15/raw.npz,0.0008261512542778008,1.0,0.009986579033766136,-0.004409478413292437,0.06539814276360983,0,4.547473508864641e-13 +evaluation/E01_main_compact_D_base_s41001/DIAG/C_ds100_fd100_snr20/raw.npz,0.0008261512542778008,1.0,0.01000232489731087,-0.004431788567403627,0.06559628269340674,0,4.547473508864641e-13 +evaluation/E01_main_compact_D_base_s41001/DIAG/C_ds100_fd100_snr25/raw.npz,0.0008261512542778008,1.0,0.010021044479074658,-0.004451494946754061,0.06578303797855571,0,1.1368683772161603e-13 +evaluation/E01_main_compact_D_base_s41001/DIAG/C_ds100_fd200_snr0/raw.npz,0.0019593703772979756,1.0,0.00964171305344462,-0.014275841185574161,-0.04256699755944682,0,4.547473508864641e-13 +evaluation/E01_main_compact_D_base_s41001/DIAG/C_ds100_fd200_snr5/raw.npz,0.0019593703772979756,1.0,0.009624064018217667,-0.014291581063749987,-0.0426907525894322,0,4.547473508864641e-13 +evaluation/E01_main_compact_D_base_s41001/DIAG/C_ds100_fd200_snr10/raw.npz,0.0019593703772979756,1.0,0.009627292084178316,-0.01432285892731235,-0.04267006560538152,0,4.547473508864641e-13 +evaluation/E01_main_compact_D_base_s41001/DIAG/C_ds100_fd200_snr15/raw.npz,0.0019593703772979756,1.0,0.009640217219696852,-0.014354454777308548,-0.04248652416922282,0,4.547473508864641e-13 +evaluation/E01_main_compact_D_base_s41001/DIAG/C_ds100_fd200_snr20/raw.npz,0.0019593703772979756,1.0,0.009656679987123665,-0.014387540393036666,-0.04229023227633678,0,4.547473508864641e-13 +evaluation/E01_main_compact_D_base_s41001/DIAG/C_ds100_fd200_snr25/raw.npz,0.0019593703772979756,1.0,0.009675314642498425,-0.014419821899462145,-0.04207800178546104,0,4.547473508864641e-13 +evaluation/E01_main_compact_D_base_s41001/DIAG/C_ds100_fd500_snr0/raw.npz,0.04389855639818994,1.0,0.006914196124254842,-0.020813168100457465,-0.2139165326853383,0,4.547473508864641e-13 +evaluation/E01_main_compact_D_base_s41001/DIAG/C_ds100_fd500_snr5/raw.npz,0.04389855639818994,1.0,0.006901047115714661,-0.020835569653241463,-0.21437016204981493,0,9.094947017729282e-13 +evaluation/E01_main_compact_D_base_s41001/DIAG/C_ds100_fd500_snr10/raw.npz,0.04389855639818994,1.0,0.0069037892445859995,-0.020873701583129133,-0.214576152179355,0,9.094947017729282e-13 +evaluation/E01_main_compact_D_base_s41001/DIAG/C_ds100_fd500_snr15/raw.npz,0.04389855639818994,1.0,0.006913865240152836,-0.020917228882526416,-0.21465900700524096,0,9.094947017729282e-13 +evaluation/E01_main_compact_D_base_s41001/DIAG/C_ds100_fd500_snr20/raw.npz,0.04389855639818994,1.0,0.006926684927364131,-0.02095839537626654,-0.2146482869293098,0,9.094947017729282e-13 +evaluation/E01_main_compact_D_base_s41001/DIAG/C_ds100_fd500_snr25/raw.npz,0.04389855639818994,1.0,0.006941238672080159,-0.020997630228501932,-0.21457804605218547,0,9.094947017729282e-13 +evaluation/E01_main_compact_D_base_s41001/DIAG/A_ds100_fd10_snr0/raw.npz,0.0003311967844247724,1.0,0.009896800675751124,-0.009420781821005862,-0.08753520209666145,0,9.094947017729282e-13 +evaluation/E01_main_compact_D_base_s41001/DIAG/A_ds100_fd10_snr5/raw.npz,0.0003311967844247724,1.0,0.009862801590951972,-0.00939184427608123,-0.08734143470553506,0,9.094947017729282e-13 +evaluation/E01_main_compact_D_base_s41001/DIAG/A_ds100_fd10_snr10/raw.npz,0.0003311967844247724,1.0,0.009856020692508334,-0.00939375217683259,-0.08731893485456373,0,9.094947017729282e-13 +evaluation/E01_main_compact_D_base_s41001/DIAG/A_ds100_fd10_snr15/raw.npz,0.0003311967844247724,1.0,0.009860036576396542,-0.009409641222079775,-0.08736895575621144,0,4.547473508864641e-13 +evaluation/E01_main_compact_D_base_s41001/DIAG/A_ds100_fd10_snr20/raw.npz,0.0003311967844247724,1.0,0.009870008303990945,-0.009435133985195724,-0.08747054549166655,0,2.2737367544323206e-13 +evaluation/E01_main_compact_D_base_s41001/DIAG/A_ds100_fd10_snr25/raw.npz,0.0003311967844247724,1.0,0.009883770803734128,-0.009461712395541551,-0.08755615017792921,0,2.2737367544323206e-13 +evaluation/E01_main_compact_D_base_s41001/DIAG/C_ds300_fd10_snr0/raw.npz,0.04625639653331669,1.0,0.011393004769240139,-0.007844369531859048,-0.0028414512469230233,0,4.547473508864641e-13 +evaluation/E01_main_compact_D_base_s41001/DIAG/C_ds300_fd10_snr5/raw.npz,0.04625639653331669,1.0,0.01136838568681394,-0.007878246552102374,-0.003427222576611081,0,2.2737367544323206e-13 +evaluation/E01_main_compact_D_base_s41001/DIAG/C_ds300_fd10_snr10/raw.npz,0.04625639653331669,1.0,0.011369533063441475,-0.00789375926261813,-0.0037326663137458443,0,1.1368683772161603e-13 +evaluation/E01_main_compact_D_base_s41001/DIAG/C_ds300_fd10_snr15/raw.npz,0.04625639653331669,1.0,0.01138043597660482,-0.007896840273676107,-0.003763963401566118,0,1.1368683772161603e-13 +evaluation/E01_main_compact_D_base_s41001/DIAG/C_ds300_fd10_snr20/raw.npz,0.04625639653331669,1.0,0.011396804315361903,-0.007891900852500357,-0.0036723739439950276,0,4.547473508864641e-13 +evaluation/E01_main_compact_D_base_s41001/DIAG/C_ds300_fd10_snr25/raw.npz,0.04625639653331669,1.0,0.011417425414992528,-0.007883755292631954,-0.0035045609120742164,0,1.1368683772161603e-13 +evaluation/E01_main_compact_D_base_s41001/DIAG/A_ds300_fd100_snr0/raw.npz,0.012769628872475538,1.0,0.00526846375076703,-0.011412769307477042,-0.21926219200314634,0,9.094947017729282e-13 +evaluation/E01_main_compact_D_base_s41001/DIAG/A_ds300_fd100_snr5/raw.npz,0.012769628872475538,1.0,0.0052557309678365385,-0.011421105058155617,-0.21963312522491227,0,9.094947017729282e-13 +evaluation/E01_main_compact_D_base_s41001/DIAG/A_ds300_fd100_snr10/raw.npz,0.012769628872475538,1.0,0.005256074885675261,-0.011442193699764541,-0.21979048445401259,0,9.094947017729282e-13 +evaluation/E01_main_compact_D_base_s41001/DIAG/A_ds300_fd100_snr15/raw.npz,0.012769628872475538,1.0,0.0052617023825645955,-0.01146167404998023,-0.2197760889650806,0,9.094947017729282e-13 +evaluation/E01_main_compact_D_base_s41001/DIAG/A_ds300_fd100_snr20/raw.npz,0.012769628872475538,1.0,0.0052699971454423225,-0.01148175192376599,-0.21968612652964378,0,9.094947017729282e-13 +evaluation/E01_main_compact_D_base_s41001/DIAG/A_ds300_fd100_snr25/raw.npz,0.012769628872475538,1.0,0.005279405911617069,-0.01150131742006035,-0.2195742302921707,0,9.094947017729282e-13 +evaluation/E01_main_compact_A-raw_base_s41001/DIAG/C_ds100_fd10_snr0/raw.npz,0.0006875906529715881,0.04020140349055827,0.00913728722361521,-0.00044741420043966745,-0.016099816791432478,0,1.4210854715202004e-14 +evaluation/E01_main_compact_A-raw_base_s41001/DIAG/C_ds100_fd10_snr5/raw.npz,0.0006875906529715881,0.016348600689867793,0.00910721927172161,-0.00034059397710631864,-0.03639018661410933,0,7.105427357601002e-15 +evaluation/E01_main_compact_A-raw_base_s41001/DIAG/C_ds100_fd10_snr10/raw.npz,0.0006875906529715881,0.007234997155262508,0.009101694165285789,-0.0002310936549648729,-0.03863527362511004,0,7.105427357601002e-15 +evaluation/E01_main_compact_A-raw_base_s41001/DIAG/C_ds100_fd10_snr15/raw.npz,0.0006875906529715881,0.003434450180677795,0.009107530998640404,-0.00013641552682370643,-0.03314561379203224,0,3.552713678800501e-15 +evaluation/E01_main_compact_A-raw_base_s41001/DIAG/C_ds100_fd10_snr20/raw.npz,0.0006875906529715881,0.0017054090905254332,0.009119780704224418,-6.960889295732306e-05,-0.027745348779744796,0,1.7763568394002505e-15 +evaluation/E01_main_compact_A-raw_base_s41001/DIAG/C_ds100_fd10_snr25/raw.npz,0.0006875906529715881,0.0010304883021762556,0.009135968622384244,-2.7146199456757897e-05,-0.023240961266636228,0,1.7763568394002505e-15 +evaluation/E01_main_compact_A-raw_base_s41001/DIAG/C_ds100_fd100_snr0/raw.npz,0.0008261512542778008,0.0691370097670838,0.009843142984426798,-0.0004872946489111829,-0.019258820003669432,0,2.842170943040401e-14 +evaluation/E01_main_compact_A-raw_base_s41001/DIAG/C_ds100_fd100_snr5/raw.npz,0.0008261512542778008,0.03478877150996135,0.009810253587200578,-0.0003275658736568312,-0.02119359063366746,0,1.4210854715202004e-14 +evaluation/E01_main_compact_A-raw_base_s41001/DIAG/C_ds100_fd100_snr10/raw.npz,0.0008261512542778008,0.01482353249771282,0.009806597294964773,-0.0002246919694376483,-0.022332002418160565,0,7.105427357601002e-15 +evaluation/E01_main_compact_A-raw_base_s41001/DIAG/C_ds100_fd100_snr15/raw.npz,0.0008261512542778008,0.005312660221834791,0.009815860460895044,-0.00014492485402107196,-0.024932775349242434,0,7.105427357601002e-15 +evaluation/E01_main_compact_A-raw_base_s41001/DIAG/C_ds100_fd100_snr20/raw.npz,0.0008261512542778008,0.002136229148051499,0.00983104159580179,-8.60181386919562e-05,-0.025141579818460862,0,3.552713678800501e-15 +evaluation/E01_main_compact_A-raw_base_s41001/DIAG/C_ds100_fd100_snr25/raw.npz,0.0008261512542778008,0.0012190697916404534,0.009849622578688585,-4.550078367338433e-05,-0.022277911865142812,0,3.552713678800501e-15 +evaluation/E01_main_compact_A-raw_base_s41001/DIAG/C_ds100_fd200_snr0/raw.npz,0.0019593703772979756,0.1394597842778802,0.00950314637795229,-0.0006651869586287324,-0.018645747058283275,0,2.842170943040401e-14 +evaluation/E01_main_compact_A-raw_base_s41001/DIAG/C_ds100_fd200_snr5/raw.npz,0.0019593703772979756,0.0821221956884967,0.009471688272340005,-0.0004558996672288991,-0.019932443319641786,0,2.842170943040401e-14 +evaluation/E01_main_compact_A-raw_base_s41001/DIAG/C_ds100_fd200_snr10/raw.npz,0.0019593703772979756,0.03421909727840558,0.009470529439269034,-0.0003616436707806759,-0.028011534292627344,0,1.4210854715202004e-14 +evaluation/E01_main_compact_A-raw_base_s41001/DIAG/C_ds100_fd200_snr15/raw.npz,0.0019593703772979756,0.010161325795423224,0.009481754903417901,-0.0002977757473764412,-0.04021917286925767,0,7.105427357601002e-15 +evaluation/E01_main_compact_A-raw_base_s41001/DIAG/C_ds100_fd200_snr20/raw.npz,0.0019593703772979756,0.0037289524130341093,0.009497540967455906,-0.00024899913234666056,-0.04839956118119554,0,3.552713678800501e-15 +evaluation/E01_main_compact_A-raw_base_s41001/DIAG/C_ds100_fd200_snr25/raw.npz,0.0019593703772979756,0.002438946116584481,0.009516213734550175,-0.0002134728537545901,-0.04829988721104498,0,3.552713678800501e-15 +evaluation/E01_main_compact_A-raw_base_s41001/DIAG/C_ds100_fd500_snr0/raw.npz,0.04389855639818994,0.32284186964810624,0.006820350336972667,-0.002486770839647291,-0.06142024562094065,0,4.547473508864641e-13 +evaluation/E01_main_compact_A-raw_base_s41001/DIAG/C_ds100_fd500_snr5/raw.npz,0.04389855639818994,0.21791014717508184,0.006797791276366848,-0.002213171307154256,-0.06762669890042183,0,1.1368683772161603e-13 +evaluation/E01_main_compact_A-raw_base_s41001/DIAG/C_ds100_fd500_snr10/raw.npz,0.04389855639818994,0.11087659170916153,0.006796588424438907,-0.0020858166100769624,-0.07951932598670976,0,5.684341886080802e-14 +evaluation/E01_main_compact_A-raw_base_s41001/DIAG/C_ds100_fd500_snr15/raw.npz,0.04389855639818994,0.0596238534084144,0.006805444551290547,-0.0020119339016859946,-0.09227651553557435,0,2.842170943040401e-14 +evaluation/E01_main_compact_A-raw_base_s41001/DIAG/C_ds100_fd500_snr20/raw.npz,0.04389855639818994,0.04972155595167968,0.006818044211167815,-0.00196629362808612,-0.09684632816538274,0,5.684341886080802e-14 +evaluation/E01_main_compact_A-raw_base_s41001/DIAG/C_ds100_fd500_snr25/raw.npz,0.04389855639818994,0.04918081566792843,0.006832671172556122,-0.0019385650079309091,-0.09766581739907537,0,1.4210854715202004e-14 +evaluation/E01_main_compact_A-raw_base_s41001/DIAG/A_ds100_fd10_snr0/raw.npz,0.0003311967844247724,0.03778741483226194,0.009753906050270144,0.0017213171056122566,0.1025318453716384,0,2.842170943040401e-14 +evaluation/E01_main_compact_A-raw_base_s41001/DIAG/A_ds100_fd10_snr5/raw.npz,0.0003311967844247724,0.016397099447168547,0.009707771216944423,0.0009355190857711947,0.07831081613844364,0,7.105427357601002e-15 +evaluation/E01_main_compact_A-raw_base_s41001/DIAG/A_ds100_fd10_snr10/raw.npz,0.0003311967844247724,0.007335689783721937,0.009695798021856664,0.0004998180781357607,0.05788218651091761,0,3.552713678800501e-15 +evaluation/E01_main_compact_A-raw_base_s41001/DIAG/A_ds100_fd10_snr15/raw.npz,0.0003311967844247724,0.003318906417025761,0.009698355546286582,0.00027438617193299795,0.0429701649649342,0,3.552713678800501e-15 +evaluation/E01_main_compact_A-raw_base_s41001/DIAG/A_ds100_fd10_snr20/raw.npz,0.0003311967844247724,0.0014514677464451428,0.00970844879806563,0.00015784462375354255,0.03417790815414253,0,3.552713678800501e-15 +evaluation/E01_main_compact_A-raw_base_s41001/DIAG/A_ds100_fd10_snr25/raw.npz,0.0003311967844247724,0.0007111596706473284,0.00972401566069371,9.631609666323235e-05,0.027063900997620873,0,1.7763568394002505e-15 +evaluation/E01_main_compact_A-raw_base_s41001/DIAG/C_ds300_fd10_snr0/raw.npz,0.04625639653331669,0.13736059034479176,0.011193546764566749,-0.0011914590551640994,-0.011351477349125907,0,2.842170943040401e-14 +evaluation/E01_main_compact_A-raw_base_s41001/DIAG/C_ds300_fd10_snr5/raw.npz,0.04625639653331669,0.08316057263999066,0.011151225468162142,-0.0008574137299442172,-0.01472133450772474,0,5.684341886080802e-14 +evaluation/E01_main_compact_A-raw_base_s41001/DIAG/C_ds300_fd10_snr10/raw.npz,0.04625639653331669,0.05937569100153513,0.011145012007738575,-0.0006842942355339967,-0.02202092551442682,0,5.684341886080802e-14 +evaluation/E01_main_compact_A-raw_base_s41001/DIAG/C_ds300_fd10_snr15/raw.npz,0.04625639653331669,0.05034803904558316,0.01115276534909746,-0.0005779031471248559,-0.024166927748668493,0,2.842170943040401e-14 +evaluation/E01_main_compact_A-raw_base_s41001/DIAG/C_ds300_fd10_snr20/raw.npz,0.04625639653331669,0.04750373940352022,0.011168549796578638,-0.0005067932135052991,-0.022369044815303375,0,2.842170943040401e-14 +evaluation/E01_main_compact_A-raw_base_s41001/DIAG/C_ds300_fd10_snr25/raw.npz,0.04625639653331669,0.046647959704074475,0.011189851566468602,-0.0004611909026160978,-0.020369998621441315,0,2.842170943040401e-14 +evaluation/E01_main_compact_A-raw_base_s41001/DIAG/A_ds300_fd100_snr0/raw.npz,0.012769628872475538,0.09681389654071092,0.0051949762288360695,0.0015527180698366521,0.059062201881069025,0,5.684341886080802e-14 +evaluation/E01_main_compact_A-raw_base_s41001/DIAG/A_ds300_fd100_snr5/raw.npz,0.012769628872475538,0.049825291709415485,0.005174312707031872,0.0008554551570526134,0.0542679875045377,0,2.842170943040401e-14 +evaluation/E01_main_compact_A-raw_base_s41001/DIAG/A_ds300_fd100_snr10/raw.npz,0.012769628872475538,0.025557756231031153,0.005170510878403766,0.0004642466846812473,0.051406533843923456,0,1.4210854715202004e-14 +evaluation/E01_main_compact_A-raw_base_s41001/DIAG/A_ds300_fd100_snr15/raw.npz,0.012769628872475538,0.016005269051824242,0.005173585244738299,0.00024032064746667598,0.046123566372825366,0,2.842170943040401e-14 +evaluation/E01_main_compact_A-raw_base_s41001/DIAG/A_ds300_fd100_snr20/raw.npz,0.012769628872475538,0.013534123062042663,0.005180345218911007,0.00010752496150558462,0.0315850597742078,0,7.105427357601002e-15 +evaluation/E01_main_compact_A-raw_base_s41001/DIAG/A_ds300_fd100_snr25/raw.npz,0.012769628872475538,0.01298139540285142,0.00518905717570952,2.832281237096339e-05,0.015553934892549004,0,1.4210854715202004e-14 +evaluation/E01_main_compact_A-res_base_s41001/DIAG/C_ds100_fd10_snr0/raw.npz,0.0006875906529715881,0.04020140349055827,0.009079727059668056,-0.00047855599984505546,-0.018375377532349316,0,1.4210854715202004e-14 +evaluation/E01_main_compact_A-res_base_s41001/DIAG/C_ds100_fd10_snr5/raw.npz,0.0006875906529715881,0.016348600689867793,0.009051597101993054,-0.0003655642316824314,-0.03887994292482693,0,7.105427357601002e-15 +evaluation/E01_main_compact_A-res_base_s41001/DIAG/C_ds100_fd10_snr10/raw.npz,0.0006875906529715881,0.007234997155262508,0.009047934978629983,-0.00024975980360368566,-0.041210027979919496,0,7.105427357601002e-15 +evaluation/E01_main_compact_A-res_base_s41001/DIAG/C_ds100_fd10_snr15/raw.npz,0.0006875906529715881,0.003434450180677795,0.009057060774383879,-0.00015058574392614476,-0.035854679882107186,0,3.552713678800501e-15 +evaluation/E01_main_compact_A-res_base_s41001/DIAG/C_ds100_fd10_snr20/raw.npz,0.0006875906529715881,0.0017054090905254332,0.009069475274648726,-8.125138603527009e-05,-0.030813018184196943,0,3.552713678800501e-15 +evaluation/E01_main_compact_A-res_base_s41001/DIAG/C_ds100_fd10_snr25/raw.npz,0.0006875906529715881,0.0010304883021762556,0.009083629121968823,-3.755280617843921e-05,-0.02663352483212263,0,1.7763568394002505e-15 +evaluation/E01_main_compact_A-res_base_s41001/DIAG/C_ds100_fd100_snr0/raw.npz,0.0008261512542778008,0.0691370097670838,0.009789323797080673,-0.0005350142946349594,-0.021534763013885308,0,2.842170943040401e-14 +evaluation/E01_main_compact_A-res_base_s41001/DIAG/C_ds100_fd100_snr5/raw.npz,0.0008261512542778008,0.03478877150996135,0.0097589318931147,-0.00035995267478734343,-0.02332358079051036,0,1.4210854715202004e-14 +evaluation/E01_main_compact_A-res_base_s41001/DIAG/C_ds100_fd100_snr10/raw.npz,0.0008261512542778008,0.01482353249771282,0.009754529665822813,-0.0002455633120248723,-0.024396467221276984,0,7.105427357601002e-15 +evaluation/E01_main_compact_A-res_base_s41001/DIAG/C_ds100_fd100_snr15/raw.npz,0.0008261512542778008,0.005312660221834791,0.009764212134996897,-0.0001598998166190926,-0.027368791614448145,0,3.552713678800501e-15 +evaluation/E01_main_compact_A-res_base_s41001/DIAG/C_ds100_fd100_snr20/raw.npz,0.0008261512542778008,0.002136229148051499,0.00977751802762947,-9.845078849894088e-05,-0.028227917404973518,0,3.552713678800501e-15 +evaluation/E01_main_compact_A-res_base_s41001/DIAG/C_ds100_fd100_snr25/raw.npz,0.0008261512542778008,0.0012190697916404534,0.009792794485368904,-5.678794954089703e-05,-0.025771789649513904,0,1.7763568394002505e-15 +evaluation/E01_main_compact_A-res_base_s41001/DIAG/C_ds100_fd200_snr0/raw.npz,0.0019593703772979756,0.1394597842778802,0.009458242225407117,-0.0007219826765587033,-0.020596214454665737,0,5.684341886080802e-14 +evaluation/E01_main_compact_A-res_base_s41001/DIAG/C_ds100_fd200_snr5/raw.npz,0.0019593703772979756,0.0821221956884967,0.009428026991760843,-0.0004868420698277433,-0.021432080555828625,0,5.684341886080802e-14 +evaluation/E01_main_compact_A-res_base_s41001/DIAG/C_ds100_fd200_snr10/raw.npz,0.0019593703772979756,0.03421909727840558,0.009422142123134608,-0.00037552614341640906,-0.0291590890457612,0,1.4210854715202004e-14 +evaluation/E01_main_compact_A-res_base_s41001/DIAG/C_ds100_fd200_snr15/raw.npz,0.0019593703772979756,0.010161325795423224,0.00943077001718741,-0.00030695907736528284,-0.04150735767279989,0,7.105427357601002e-15 +evaluation/E01_main_compact_A-res_base_s41001/DIAG/C_ds100_fd200_snr20/raw.npz,0.0019593703772979756,0.0037289524130341093,0.009443520364185816,-0.00025833951724161516,-0.050350087426505985,0,3.552713678800501e-15 +evaluation/E01_main_compact_A-res_base_s41001/DIAG/C_ds100_fd200_snr25/raw.npz,0.0019593703772979756,0.002438946116584481,0.009458322981737374,-0.00022285327427944276,-0.05059597037412408,0,3.552713678800501e-15 +evaluation/E01_main_compact_A-res_base_s41001/DIAG/C_ds100_fd500_snr0/raw.npz,0.04389855639818994,0.32284186964810624,0.006794707699310329,-0.0024923870642021297,-0.061978321067152266,0,5.684341886080802e-14 +evaluation/E01_main_compact_A-res_base_s41001/DIAG/C_ds100_fd500_snr5/raw.npz,0.04389855639818994,0.21791014717508184,0.006768071123145703,-0.0021944727786821685,-0.06753260589122595,0,1.1368683772161603e-13 +evaluation/E01_main_compact_A-res_base_s41001/DIAG/C_ds100_fd500_snr10/raw.npz,0.04389855639818994,0.11087659170916153,0.006759007716940302,-0.002058598814063727,-0.07900389297117714,0,5.684341886080802e-14 +evaluation/E01_main_compact_A-res_base_s41001/DIAG/C_ds100_fd500_snr15/raw.npz,0.04389855639818994,0.0596238534084144,0.00676297398465577,-0.001990205083650222,-0.09172595063575673,0,5.684341886080802e-14 +evaluation/E01_main_compact_A-res_base_s41001/DIAG/C_ds100_fd500_snr20/raw.npz,0.04389855639818994,0.04972155595167968,0.006772136793234314,-0.0019522556751272587,-0.09680590233260737,0,2.842170943040401e-14 +evaluation/E01_main_compact_A-res_base_s41001/DIAG/C_ds100_fd500_snr25/raw.npz,0.04389855639818994,0.04918081566792843,0.006782936541236833,-0.0019279470774184201,-0.09799011833183956,0,5.684341886080802e-14 +evaluation/E01_main_compact_A-res_base_s41001/DIAG/A_ds100_fd10_snr0/raw.npz,0.0003311967844247724,0.03778741483226194,0.009685935710735316,0.0017396842211205975,0.10453919989014615,0,2.1316282072803006e-14 +evaluation/E01_main_compact_A-res_base_s41001/DIAG/A_ds100_fd10_snr5/raw.npz,0.0003311967844247724,0.016397099447168547,0.009646757019438129,0.0009464282646444337,0.0797010610348647,0,1.4210854715202004e-14 +evaluation/E01_main_compact_A-res_base_s41001/DIAG/A_ds100_fd10_snr10/raw.npz,0.0003311967844247724,0.007335689783721937,0.009639235858398649,0.0005074353110333491,0.05904749931375065,0,3.552713678800501e-15 +evaluation/E01_main_compact_A-res_base_s41001/DIAG/A_ds100_fd10_snr15/raw.npz,0.0003311967844247724,0.003318906417025761,0.009646471125876318,0.00027866232881301316,0.04401230187678982,0,7.105427357601002e-15 +evaluation/E01_main_compact_A-res_base_s41001/DIAG/A_ds100_fd10_snr20/raw.npz,0.0003311967844247724,0.0014514677464451428,0.009657904850713321,0.0001584973326737165,0.03473903901933704,0,3.552713678800501e-15 +evaluation/E01_main_compact_A-res_base_s41001/DIAG/A_ds100_fd10_snr25/raw.npz,0.0003311967844247724,0.0007111596706473284,0.009671410509608735,9.400474894279492e-05,0.02678055896424171,0,3.552713678800501e-15 +evaluation/E01_main_compact_A-res_base_s41001/DIAG/C_ds300_fd10_snr0/raw.npz,0.04625639653331669,0.13736059034479176,0.011183020102674569,-0.0012531728647616864,-0.0125423655245337,0,5.684341886080802e-14 +evaluation/E01_main_compact_A-res_base_s41001/DIAG/C_ds300_fd10_snr5/raw.npz,0.04625639653331669,0.08316057263999066,0.011147714654657347,-0.0009190837188334878,-0.0164836085709533,0,2.842170943040401e-14 +evaluation/E01_main_compact_A-res_base_s41001/DIAG/C_ds300_fd10_snr10/raw.npz,0.04625639653331669,0.05937569100153513,0.011139767170885148,-0.0007433009408476868,-0.024260326505125107,0,5.684341886080802e-14 +evaluation/E01_main_compact_A-res_base_s41001/DIAG/C_ds300_fd10_snr15/raw.npz,0.04625639653331669,0.05034803904558316,0.011146547479532245,-0.0006361569083124254,-0.02664398988691445,0,2.842170943040401e-14 +evaluation/E01_main_compact_A-res_base_s41001/DIAG/C_ds300_fd10_snr20/raw.npz,0.04625639653331669,0.04750373940352022,0.011160983342161654,-0.0005666817576798117,-0.024984001860436093,0,1.4210854715202004e-14 +evaluation/E01_main_compact_A-res_base_s41001/DIAG/C_ds300_fd10_snr25/raw.npz,0.04625639653331669,0.046647959704074475,0.011178911328329079,-0.0005204740891116324,-0.022965695661660568,0,2.842170943040401e-14 +evaluation/E01_main_compact_A-res_base_s41001/DIAG/A_ds300_fd100_snr0/raw.npz,0.012769628872475538,0.09681389654071092,0.005133494282583969,0.0016276392035409783,0.06193525353658035,0,5.684341886080802e-14 +evaluation/E01_main_compact_A-res_base_s41001/DIAG/A_ds300_fd100_snr5/raw.npz,0.012769628872475538,0.049825291709415485,0.005111682445017083,0.0009058616325726926,0.05684968005183364,0,2.842170943040401e-14 +evaluation/E01_main_compact_A-res_base_s41001/DIAG/A_ds300_fd100_snr10/raw.npz,0.012769628872475538,0.025557756231031153,0.005106101220006644,0.0004894398420164296,0.05303908790333244,0,2.842170943040401e-14 +evaluation/E01_main_compact_A-res_base_s41001/DIAG/A_ds300_fd100_snr15/raw.npz,0.012769628872475538,0.016005269051824242,0.005107725918128842,0.0002485470211849704,0.04651793743800264,0,1.4210854715202004e-14 +evaluation/E01_main_compact_A-res_base_s41001/DIAG/A_ds300_fd100_snr20/raw.npz,0.012769628872475538,0.013534123062042663,0.005112785717056068,0.00010881167706750213,0.031238839692399625,0,1.4210854715202004e-14 +evaluation/E01_main_compact_A-res_base_s41001/DIAG/A_ds300_fd100_snr25/raw.npz,0.012769628872475538,0.01298139540285142,0.005120061697465039,2.8071501421457973e-05,0.015010631084259977,0,2.842170943040401e-14 +evaluation/E02_main_reesnet_D_base_s41001/DIAG/C_ds100_fd10_snr0/raw.npz,0.0006875906529715881,1.0,0.01159094509520486,0.010210730616251574,-0.066517137807576,0,6.821210263296962e-13 +evaluation/E02_main_reesnet_D_base_s41001/DIAG/C_ds100_fd10_snr5/raw.npz,0.0006875906529715881,1.0,0.010550946226628199,0.010040700018752756,-0.079583404786201,0,4.547473508864641e-13 +evaluation/E02_main_reesnet_D_base_s41001/DIAG/C_ds100_fd10_snr10/raw.npz,0.0006875906529715881,1.0,0.010217579435337519,0.0099437036032221,-0.08442511048155632,0,4.547473508864641e-13 +evaluation/E02_main_reesnet_D_base_s41001/DIAG/C_ds100_fd10_snr15/raw.npz,0.0006875906529715881,1.0,0.010107595526605949,0.00988573352851339,-0.0860244634223698,0,4.547473508864641e-13 +evaluation/E02_main_reesnet_D_base_s41001/DIAG/C_ds100_fd10_snr20/raw.npz,0.0006875906529715881,1.0,0.010069560596404481,0.009853078520201081,-0.08651610495894912,0,4.547473508864641e-13 +evaluation/E02_main_reesnet_D_base_s41001/DIAG/C_ds100_fd10_snr25/raw.npz,0.0006875906529715881,1.0,0.01005568978458733,0.009834010646182384,-0.08666235614611754,0,4.547473508864641e-13 +evaluation/E02_main_reesnet_D_base_s41001/DIAG/C_ds100_fd100_snr0/raw.npz,0.0008261512542778008,1.0,0.012863115223803703,0.02245215548589403,-0.018673625743105316,0,4.547473508864641e-13 +evaluation/E02_main_reesnet_D_base_s41001/DIAG/C_ds100_fd100_snr5/raw.npz,0.0008261512542778008,1.0,0.011756797269261562,0.02234604619055814,-0.02799171470363937,0,4.547473508864641e-13 +evaluation/E02_main_reesnet_D_base_s41001/DIAG/C_ds100_fd100_snr10/raw.npz,0.0008261512542778008,1.0,0.011403920419198193,0.022273116956998133,-0.03125735853417189,0,2.2737367544323206e-13 +evaluation/E02_main_reesnet_D_base_s41001/DIAG/C_ds100_fd100_snr15/raw.npz,0.0008261512542778008,1.0,0.01128858947580936,0.02222605201721281,-0.03220578725592183,0,4.547473508864641e-13 +evaluation/E02_main_reesnet_D_base_s41001/DIAG/C_ds100_fd100_snr20/raw.npz,0.0008261512542778008,1.0,0.011250314940231978,0.02219839055553894,-0.03242704509137992,0,2.2737367544323206e-13 +evaluation/E02_main_reesnet_D_base_s41001/DIAG/C_ds100_fd100_snr25/raw.npz,0.0008261512542778008,1.0,0.011236810587415968,0.022182620870855926,-0.032449185863706265,0,4.547473508864641e-13 +evaluation/E02_main_reesnet_D_base_s41001/DIAG/C_ds100_fd200_snr0/raw.npz,0.0019593703772979756,1.0,0.012891338673887228,0.03376568920273898,0.06926891703003213,0,2.2737367544323206e-13 +evaluation/E02_main_reesnet_D_base_s41001/DIAG/C_ds100_fd200_snr5/raw.npz,0.0019593703772979756,1.0,0.011840493372697563,0.03374837869489559,0.06670326030411343,0,4.547473508864641e-13 +evaluation/E02_main_reesnet_D_base_s41001/DIAG/C_ds100_fd200_snr10/raw.npz,0.0019593703772979756,1.0,0.011508137549034599,0.03372591084278464,0.06603454599430729,0,4.547473508864641e-13 +evaluation/E02_main_reesnet_D_base_s41001/DIAG/C_ds100_fd200_snr15/raw.npz,0.0019593703772979756,1.0,0.011401212077009979,0.03370735386907685,0.06605237795729085,0,9.094947017729282e-13 +evaluation/E02_main_reesnet_D_base_s41001/DIAG/C_ds100_fd200_snr20/raw.npz,0.0019593703772979756,1.0,0.01136602924428861,0.03369502295502543,0.06619153254701625,0,4.547473508864641e-13 +evaluation/E02_main_reesnet_D_base_s41001/DIAG/C_ds100_fd200_snr25/raw.npz,0.0019593703772979756,1.0,0.011354074490084356,0.03368789829464739,0.06631004381699589,0,4.547473508864641e-13 +evaluation/E02_main_reesnet_D_base_s41001/DIAG/C_ds100_fd500_snr0/raw.npz,0.04389855639818994,1.0,0.009924170217712027,0.039430031067056844,0.27062332456584076,0,4.547473508864641e-13 +evaluation/E02_main_reesnet_D_base_s41001/DIAG/C_ds100_fd500_snr5/raw.npz,0.04389855639818994,1.0,0.009183068238952194,0.03956071248857706,0.28105261561577916,0,4.547473508864641e-13 +evaluation/E02_main_reesnet_D_base_s41001/DIAG/C_ds100_fd500_snr10/raw.npz,0.04389855639818994,1.0,0.008951411916485857,0.03962627216757763,0.2851544505657185,0,4.547473508864641e-13 +evaluation/E02_main_reesnet_D_base_s41001/DIAG/C_ds100_fd500_snr15/raw.npz,0.04389855639818994,1.0,0.008879862414792031,0.03966390698863951,0.2868159204841675,0,9.094947017729282e-13 +evaluation/E02_main_reesnet_D_base_s41001/DIAG/C_ds100_fd500_snr20/raw.npz,0.04389855639818994,1.0,0.008858398174976582,0.039686093455935,0.2875364234958979,0,9.094947017729282e-13 +evaluation/E02_main_reesnet_D_base_s41001/DIAG/C_ds100_fd500_snr25/raw.npz,0.04389855639818994,1.0,0.008852089340062883,0.039698496712627776,0.2878684244992868,0,9.094947017729282e-13 +evaluation/E02_main_reesnet_D_base_s41001/DIAG/A_ds100_fd10_snr0/raw.npz,0.0003311967844247724,1.0,0.01238815066732886,0.029676253719441815,0.1973504781873833,0,4.547473508864641e-13 +evaluation/E02_main_reesnet_D_base_s41001/DIAG/A_ds100_fd10_snr5/raw.npz,0.0003311967844247724,1.0,0.011326588519211053,0.0294760825523961,0.20007097874948687,0,4.547473508864641e-13 +evaluation/E02_main_reesnet_D_base_s41001/DIAG/A_ds100_fd10_snr10/raw.npz,0.0003311967844247724,1.0,0.010978824935167176,0.02936818059102128,0.20079224219455097,0,9.094947017729282e-13 +evaluation/E02_main_reesnet_D_base_s41001/DIAG/A_ds100_fd10_snr15/raw.npz,0.0003311967844247724,1.0,0.010860977309369003,0.029305743651021045,0.20098757894344801,0,2.2737367544323206e-13 +evaluation/E02_main_reesnet_D_base_s41001/DIAG/A_ds100_fd10_snr20/raw.npz,0.0003311967844247724,1.0,0.010817813393615133,0.029269553565348282,0.20103961376550408,0,9.094947017729282e-13 +evaluation/E02_main_reesnet_D_base_s41001/DIAG/A_ds100_fd10_snr25/raw.npz,0.0003311967844247724,1.0,0.010800560621078231,0.02924853334012495,0.2010521478887717,0,4.547473508864641e-13 +evaluation/E02_main_reesnet_D_base_s41001/DIAG/C_ds300_fd10_snr0/raw.npz,0.04625639653331669,1.0,0.014390459210157872,0.012012563624511207,-0.03578189536602023,0,4.547473508864641e-13 +evaluation/E02_main_reesnet_D_base_s41001/DIAG/C_ds300_fd10_snr5/raw.npz,0.04625639653331669,1.0,0.013138810198223522,0.011899455060237901,-0.04267107778328457,0,4.547473508864641e-13 +evaluation/E02_main_reesnet_D_base_s41001/DIAG/C_ds300_fd10_snr10/raw.npz,0.04625639653331669,1.0,0.012744004864232215,0.011834631521872002,-0.04529752933766868,0,4.547473508864641e-13 +evaluation/E02_main_reesnet_D_base_s41001/DIAG/C_ds300_fd10_snr15/raw.npz,0.04625639653331669,1.0,0.012617452684978906,0.011792167647475805,-0.046230482793147364,0,2.2737367544323206e-13 +evaluation/E02_main_reesnet_D_base_s41001/DIAG/C_ds300_fd10_snr20/raw.npz,0.04625639653331669,1.0,0.012575508770332087,0.011767470969202628,-0.046551743489355646,0,4.547473508864641e-13 +evaluation/E02_main_reesnet_D_base_s41001/DIAG/C_ds300_fd10_snr25/raw.npz,0.04625639653331669,1.0,0.012561310705660973,0.01175343568845927,-0.04666560062330338,0,4.547473508864641e-13 +evaluation/E02_main_reesnet_D_base_s41001/DIAG/A_ds300_fd100_snr0/raw.npz,0.012769628872475538,1.0,0.007673559339072782,0.023919543541565273,0.265564225730552,0,9.094947017729282e-13 +evaluation/E02_main_reesnet_D_base_s41001/DIAG/A_ds300_fd100_snr5/raw.npz,0.012769628872475538,1.0,0.007070565758659964,0.02391046912346719,0.2747831280109076,0,9.094947017729282e-13 +evaluation/E02_main_reesnet_D_base_s41001/DIAG/A_ds300_fd100_snr10/raw.npz,0.012769628872475538,1.0,0.006870638975570875,0.023901990439390206,0.27835085047576813,0,9.094947017729282e-13 +evaluation/E02_main_reesnet_D_base_s41001/DIAG/A_ds300_fd100_snr15/raw.npz,0.012769628872475538,1.0,0.0068015028615204184,0.023894573294500013,0.2797571704177548,0,9.094947017729282e-13 +evaluation/E02_main_reesnet_D_base_s41001/DIAG/A_ds300_fd100_snr20/raw.npz,0.012769628872475538,1.0,0.006776145437562422,0.023889927799464087,0.2803547877278849,0,4.547473508864641e-13 +evaluation/E02_main_reesnet_D_base_s41001/DIAG/A_ds300_fd100_snr25/raw.npz,0.012769628872475538,1.0,0.006766003738241973,0.023887059421109972,0.2806312685605328,0,9.094947017729282e-13 +evaluation/E02_main_channelformer_D_base_s41001/DIAG/C_ds100_fd10_snr0/raw.npz,0.0006875906529715881,1.0,0.10532006402588093,0.00842617915098219,0.023327149886635406,0,4.547473508864641e-13 +evaluation/E02_main_channelformer_D_base_s41001/DIAG/C_ds100_fd10_snr5/raw.npz,0.0006875906529715881,1.0,0.10342779690147282,0.012253924567389463,0.03452794661509531,0,9.094947017729282e-13 +evaluation/E02_main_channelformer_D_base_s41001/DIAG/C_ds100_fd10_snr10/raw.npz,0.0006875906529715881,1.0,0.10139972824877849,0.016362822534343083,0.04738599510066175,0,4.547473508864641e-13 +evaluation/E02_main_channelformer_D_base_s41001/DIAG/C_ds100_fd10_snr15/raw.npz,0.0006875906529715881,1.0,0.1002887528492407,0.019479053186922345,0.05800457786897803,0,4.547473508864641e-13 +evaluation/E02_main_channelformer_D_base_s41001/DIAG/C_ds100_fd10_snr20/raw.npz,0.0006875906529715881,1.0,0.10024790439938203,0.02117546038210566,0.06433280013629016,0,9.094947017729282e-13 +evaluation/E02_main_channelformer_D_base_s41001/DIAG/C_ds100_fd10_snr25/raw.npz,0.0006875906529715881,1.0,0.10062606297521279,0.021899701829562072,0.06722158243512964,0,2.2737367544323206e-13 +evaluation/E02_main_channelformer_D_base_s41001/DIAG/C_ds100_fd100_snr0/raw.npz,0.0008261512542778008,1.0,0.11294419314755515,0.007262552116915575,0.01891677413268091,0,4.547473508864641e-13 +evaluation/E02_main_channelformer_D_base_s41001/DIAG/C_ds100_fd100_snr5/raw.npz,0.0008261512542778008,1.0,0.11041117150151727,0.010731722360758714,0.02849191088501736,0,4.547473508864641e-13 +evaluation/E02_main_channelformer_D_base_s41001/DIAG/C_ds100_fd100_snr10/raw.npz,0.0008261512542778008,1.0,0.1079740119950784,0.014246162753565307,0.03908033506722873,0,4.547473508864641e-13 +evaluation/E02_main_channelformer_D_base_s41001/DIAG/C_ds100_fd100_snr15/raw.npz,0.0008261512542778008,1.0,0.10737014693169246,0.01686454428269559,0.04777805879134111,0,4.547473508864641e-13 +evaluation/E02_main_channelformer_D_base_s41001/DIAG/C_ds100_fd100_snr20/raw.npz,0.0008261512542778008,1.0,0.1082526784265239,0.018296052919547622,0.05287892916620346,0,4.547473508864641e-13 +evaluation/E02_main_channelformer_D_base_s41001/DIAG/C_ds100_fd100_snr25/raw.npz,0.0008261512542778008,1.0,0.10928331106195681,0.018889270888210588,0.05508724229232389,0,4.547473508864641e-13 +evaluation/E02_main_channelformer_D_base_s41001/DIAG/C_ds100_fd200_snr0/raw.npz,0.0019593703772979756,1.0,0.10826152380082772,0.006001986997183478,0.015562988837802086,0,4.547473508864641e-13 +evaluation/E02_main_channelformer_D_base_s41001/DIAG/C_ds100_fd200_snr5/raw.npz,0.0019593703772979756,1.0,0.10597155947848406,0.00897730018748879,0.023703293711292334,0,4.547473508864641e-13 +evaluation/E02_main_channelformer_D_base_s41001/DIAG/C_ds100_fd200_snr10/raw.npz,0.0019593703772979756,1.0,0.10507217066458882,0.011720573145510222,0.03166752357793256,0,4.547473508864641e-13 +evaluation/E02_main_channelformer_D_base_s41001/DIAG/C_ds100_fd200_snr15/raw.npz,0.0019593703772979756,1.0,0.10619739375018056,0.013508743569558562,0.03717449417510283,0,4.547473508864641e-13 +evaluation/E02_main_channelformer_D_base_s41001/DIAG/C_ds100_fd200_snr20/raw.npz,0.0019593703772979756,1.0,0.10802787811597936,0.014277263884496953,0.039691946018732584,0,4.547473508864641e-13 +evaluation/E02_main_channelformer_D_base_s41001/DIAG/C_ds100_fd200_snr25/raw.npz,0.0019593703772979756,1.0,0.10936252639767415,0.014500059601357515,0.0405377710377492,0,4.547473508864641e-13 +evaluation/E02_main_channelformer_D_base_s41001/DIAG/C_ds100_fd500_snr0/raw.npz,0.04389855639818994,1.0,0.07811103424563356,0.00479804249876222,0.012251388997832798,0,9.094947017729282e-13 +evaluation/E02_main_channelformer_D_base_s41001/DIAG/C_ds100_fd500_snr5/raw.npz,0.04389855639818994,1.0,0.07707369942167665,0.0068533214350539,0.019155538725290047,0,2.2737367544323206e-13 +evaluation/E02_main_channelformer_D_base_s41001/DIAG/C_ds100_fd500_snr10/raw.npz,0.04389855639818994,1.0,0.07665566284291878,0.008507627587628033,0.025219217804427874,0,4.547473508864641e-13 +evaluation/E02_main_channelformer_D_base_s41001/DIAG/C_ds100_fd500_snr15/raw.npz,0.04389855639818994,1.0,0.07748644983162345,0.009381969369640959,0.029038069398683742,0,9.094947017729282e-13 +evaluation/E02_main_channelformer_D_base_s41001/DIAG/C_ds100_fd500_snr20/raw.npz,0.04389855639818994,1.0,0.07878732261171864,0.009727498871517663,0.031030444168410068,0,4.547473508864641e-13 +evaluation/E02_main_channelformer_D_base_s41001/DIAG/C_ds100_fd500_snr25/raw.npz,0.04389855639818994,1.0,0.07966766718072121,0.0098102633128346,0.03188292490676243,0,9.094947017729282e-13 +evaluation/E02_main_channelformer_D_base_s41001/DIAG/A_ds100_fd10_snr0/raw.npz,0.0003311967844247724,1.0,0.11219183097454612,0.0025764339956412495,0.006838969325383556,0,2.2737367544323206e-13 +evaluation/E02_main_channelformer_D_base_s41001/DIAG/A_ds100_fd10_snr5/raw.npz,0.0003311967844247724,1.0,0.1108519053606993,0.004906277305631165,0.014965507470401027,0,9.094947017729282e-13 +evaluation/E02_main_channelformer_D_base_s41001/DIAG/A_ds100_fd10_snr10/raw.npz,0.0003311967844247724,1.0,0.10888335675288686,0.007741461971389639,0.02565656340377785,0,9.094947017729282e-13 +evaluation/E02_main_channelformer_D_base_s41001/DIAG/A_ds100_fd10_snr15/raw.npz,0.0003311967844247724,1.0,0.10739285205196246,0.010153995580332835,0.03598224977522921,0,9.094947017729282e-13 +evaluation/E02_main_channelformer_D_base_s41001/DIAG/A_ds100_fd10_snr20/raw.npz,0.0003311967844247724,1.0,0.10722413553843246,0.011587454014403161,0.042999080669045536,0,2.2737367544323206e-13 +evaluation/E02_main_channelformer_D_base_s41001/DIAG/A_ds100_fd10_snr25/raw.npz,0.0003311967844247724,1.0,0.10772478501127669,0.012215277402376348,0.04650889411370765,0,9.094947017729282e-13 +evaluation/E02_main_channelformer_D_base_s41001/DIAG/C_ds300_fd10_snr0/raw.npz,0.04625639653331669,1.0,0.12861839897770855,0.005123018394952101,0.015395167410441125,0,4.547473508864641e-13 +evaluation/E02_main_channelformer_D_base_s41001/DIAG/C_ds300_fd10_snr5/raw.npz,0.04625639653331669,1.0,0.1283760005033212,0.007593682369517914,0.021638230362726957,0,4.547473508864641e-13 +evaluation/E02_main_channelformer_D_base_s41001/DIAG/C_ds300_fd10_snr10/raw.npz,0.04625639653331669,1.0,0.13044930364183083,0.00990722625011286,0.02765825198846543,0,4.547473508864641e-13 +evaluation/E02_main_channelformer_D_base_s41001/DIAG/C_ds300_fd10_snr15/raw.npz,0.04625639653331669,1.0,0.13417056231677427,0.011555190412881456,0.031723971015047425,0,2.2737367544323206e-13 +evaluation/E02_main_channelformer_D_base_s41001/DIAG/C_ds300_fd10_snr20/raw.npz,0.04625639653331669,1.0,0.1376034656076747,0.012465356667812585,0.03373236162377749,0,4.547473508864641e-13 +evaluation/E02_main_channelformer_D_base_s41001/DIAG/C_ds300_fd10_snr25/raw.npz,0.04625639653331669,1.0,0.13956000110950076,0.01289333329105272,0.03455861401176485,0,4.547473508864641e-13 +evaluation/E02_main_channelformer_D_base_s41001/DIAG/A_ds300_fd100_snr0/raw.npz,0.012769628872475538,1.0,0.05837774385857922,0.006153256751623871,0.023764241081284058,0,9.094947017729282e-13 +evaluation/E02_main_channelformer_D_base_s41001/DIAG/A_ds300_fd100_snr5/raw.npz,0.012769628872475538,1.0,0.05938327777458414,0.008329996102880089,0.032004497111433446,0,9.094947017729282e-13 +evaluation/E02_main_channelformer_D_base_s41001/DIAG/A_ds300_fd100_snr10/raw.npz,0.012769628872475538,1.0,0.06151827147062051,0.009851914222498462,0.037542451400020806,0,9.094947017729282e-13 +evaluation/E02_main_channelformer_D_base_s41001/DIAG/A_ds300_fd100_snr15/raw.npz,0.012769628872475538,1.0,0.06361987405872077,0.010589337111080897,0.04000403254870725,0,9.094947017729282e-13 +evaluation/E02_main_channelformer_D_base_s41001/DIAG/A_ds300_fd100_snr20/raw.npz,0.012769628872475538,1.0,0.06492996149329996,0.010834332905995675,0.04067000576253096,0,4.547473508864641e-13 +evaluation/E02_main_channelformer_D_base_s41001/DIAG/A_ds300_fd100_snr25/raw.npz,0.012769628872475538,1.0,0.06554518316799031,0.010887411052671903,0.04072886084883807,0,9.094947017729282e-13 +evaluation/E02_main_fortitran_D_base_s41001/DIAG/C_ds100_fd10_snr0/raw.npz,0.0006875906529715881,1.0,0.012972311691584863,-0.00688774824557479,-0.15833231346882434,0,4.547473508864641e-13 +evaluation/E02_main_fortitran_D_base_s41001/DIAG/C_ds100_fd10_snr5/raw.npz,0.0006875906529715881,1.0,0.013008037637815962,-0.006896403921022263,-0.15832182982561302,0,4.547473508864641e-13 +evaluation/E02_main_fortitran_D_base_s41001/DIAG/C_ds100_fd10_snr10/raw.npz,0.0006875906529715881,1.0,0.013020645932088489,-0.006899279700337151,-0.15831958496306806,0,4.547473508864641e-13 +evaluation/E02_main_fortitran_D_base_s41001/DIAG/C_ds100_fd10_snr15/raw.npz,0.0006875906529715881,1.0,0.013024878938265408,-0.0068999810232536225,-0.158320366547855,0,9.094947017729282e-13 +evaluation/E02_main_fortitran_D_base_s41001/DIAG/C_ds100_fd10_snr20/raw.npz,0.0006875906529715881,1.0,0.013026356346503511,-0.006900160160565807,-0.1583204834288252,0,4.547473508864641e-13 +evaluation/E02_main_fortitran_D_base_s41001/DIAG/C_ds100_fd10_snr25/raw.npz,0.0006875906529715881,1.0,0.01302688190031909,-0.006900144614701821,-0.15832063301521673,0,6.821210263296962e-13 +evaluation/E02_main_fortitran_D_base_s41001/DIAG/C_ds100_fd100_snr0/raw.npz,0.0008261512542778008,1.0,0.013988907702372533,0.007394134209924963,-0.06624840761328257,0,4.547473508864641e-13 +evaluation/E02_main_fortitran_D_base_s41001/DIAG/C_ds100_fd100_snr5/raw.npz,0.0008261512542778008,1.0,0.014027655263688122,0.00739858111166015,-0.06627263992138056,0,2.2737367544323206e-13 +evaluation/E02_main_fortitran_D_base_s41001/DIAG/C_ds100_fd100_snr10/raw.npz,0.0008261512542778008,1.0,0.014041367425134664,0.0073994105214299395,-0.06628136728583324,0,4.547473508864641e-13 +evaluation/E02_main_fortitran_D_base_s41001/DIAG/C_ds100_fd100_snr15/raw.npz,0.0008261512542778008,1.0,0.014045827670908492,0.007399592093358125,-0.066285544566246,0,2.2737367544323206e-13 +evaluation/E02_main_fortitran_D_base_s41001/DIAG/C_ds100_fd100_snr20/raw.npz,0.0008261512542778008,1.0,0.014047297154099287,0.007399714515719131,-0.06628566715884117,0,4.547473508864641e-13 +evaluation/E02_main_fortitran_D_base_s41001/DIAG/C_ds100_fd100_snr25/raw.npz,0.0008261512542778008,1.0,0.014047817812670704,0.007399848531033137,-0.0662855254414461,0,2.2737367544323206e-13 +evaluation/E02_main_fortitran_D_base_s41001/DIAG/C_ds100_fd200_snr0/raw.npz,0.0019593703772979756,1.0,0.013510848308088226,0.021528224924569874,0.05711942465350365,0,4.547473508864641e-13 +evaluation/E02_main_fortitran_D_base_s41001/DIAG/C_ds100_fd200_snr5/raw.npz,0.0019593703772979756,1.0,0.013547436367300006,0.02154753675011854,0.0570702819003214,0,4.547473508864641e-13 +evaluation/E02_main_fortitran_D_base_s41001/DIAG/C_ds100_fd200_snr10/raw.npz,0.0019593703772979756,1.0,0.01356026517940596,0.02155328067194022,0.05705623743192675,0,2.2737367544323206e-13 +evaluation/E02_main_fortitran_D_base_s41001/DIAG/C_ds100_fd200_snr15/raw.npz,0.0019593703772979756,1.0,0.013564535020438794,0.02155517609813236,0.057053075240615786,0,4.547473508864641e-13 +evaluation/E02_main_fortitran_D_base_s41001/DIAG/C_ds100_fd200_snr20/raw.npz,0.0019593703772979756,1.0,0.013565949299562396,0.021555593538550986,0.05705130744522527,0,4.547473508864641e-13 +evaluation/E02_main_fortitran_D_base_s41001/DIAG/C_ds100_fd200_snr25/raw.npz,0.0019593703772979756,1.0,0.013566435109240617,0.02155577763796137,0.057050493100892656,0,4.547473508864641e-13 +evaluation/E02_main_fortitran_D_base_s41001/DIAG/C_ds100_fd500_snr0/raw.npz,0.04389855639818994,1.0,0.009679817893973122,0.030069232480878113,0.25479940910259385,0,9.094947017729282e-13 +evaluation/E02_main_fortitran_D_base_s41001/DIAG/C_ds100_fd500_snr5/raw.npz,0.04389855639818994,1.0,0.0097053851869289,0.03010352825722597,0.25485519430983916,0,9.094947017729282e-13 +evaluation/E02_main_fortitran_D_base_s41001/DIAG/C_ds100_fd500_snr10/raw.npz,0.04389855639818994,1.0,0.009714488649139952,0.030115499587995614,0.25488592807843696,0,4.547473508864641e-13 +evaluation/E02_main_fortitran_D_base_s41001/DIAG/C_ds100_fd500_snr15/raw.npz,0.04389855639818994,1.0,0.00971755219571728,0.030119592060584816,0.25490044444558424,0,4.547473508864641e-13 +evaluation/E02_main_fortitran_D_base_s41001/DIAG/C_ds100_fd500_snr20/raw.npz,0.04389855639818994,1.0,0.009718571260673704,0.03012115677659918,0.2549077805855653,0,9.094947017729282e-13 +evaluation/E02_main_fortitran_D_base_s41001/DIAG/C_ds100_fd500_snr25/raw.npz,0.04389855639818994,1.0,0.009718938715726539,0.03012189728178794,0.25491206405190375,0,4.547473508864641e-13 +evaluation/E02_main_fortitran_D_base_s41001/DIAG/A_ds100_fd10_snr0/raw.npz,0.0003311967844247724,1.0,0.013816942278522603,0.015623314181337309,0.12106787755202524,0,4.547473508864641e-13 +evaluation/E02_main_fortitran_D_base_s41001/DIAG/A_ds100_fd10_snr5/raw.npz,0.0003311967844247724,1.0,0.013853162504226949,0.01563720441352074,0.12106744695003036,0,9.094947017729282e-13 +evaluation/E02_main_fortitran_D_base_s41001/DIAG/A_ds100_fd10_snr10/raw.npz,0.0003311967844247724,1.0,0.013866290226695636,0.01564334198469234,0.12107312529364507,0,9.094947017729282e-13 +evaluation/E02_main_fortitran_D_base_s41001/DIAG/A_ds100_fd10_snr15/raw.npz,0.0003311967844247724,1.0,0.013871020250558377,0.015646189321950013,0.12107727452840804,0,2.2737367544323206e-13 +evaluation/E02_main_fortitran_D_base_s41001/DIAG/A_ds100_fd10_snr20/raw.npz,0.0003311967844247724,1.0,0.013872715433500228,0.01564746910471549,0.12107973146839039,0,4.547473508864641e-13 +evaluation/E02_main_fortitran_D_base_s41001/DIAG/A_ds100_fd10_snr25/raw.npz,0.0003311967844247724,1.0,0.013873324803510712,0.015648076166271004,0.12108145450438763,0,9.094947017729282e-13 +evaluation/E02_main_fortitran_D_base_s41001/DIAG/C_ds300_fd10_snr0/raw.npz,0.04625639653331669,1.0,0.01597588467513107,0.008209443511738568,-0.014116266356099269,0,4.547473508864641e-13 +evaluation/E02_main_fortitran_D_base_s41001/DIAG/C_ds300_fd10_snr5/raw.npz,0.04625639653331669,1.0,0.016020514784914165,0.008209314125631114,-0.014134385816949688,0,4.547473508864641e-13 +evaluation/E02_main_fortitran_D_base_s41001/DIAG/C_ds300_fd10_snr10/raw.npz,0.04625639653331669,1.0,0.016036908577109363,0.008210836879646783,-0.01413161015045084,0,4.547473508864641e-13 +evaluation/E02_main_fortitran_D_base_s41001/DIAG/C_ds300_fd10_snr15/raw.npz,0.04625639653331669,1.0,0.016042611585071476,0.008212724189035587,-0.01412540438569726,0,1.1368683772161603e-13 +evaluation/E02_main_fortitran_D_base_s41001/DIAG/C_ds300_fd10_snr20/raw.npz,0.04625639653331669,1.0,0.016044568281268615,0.008214013130011773,-0.014120097127200087,0,4.547473508864641e-13 +evaluation/E02_main_fortitran_D_base_s41001/DIAG/C_ds300_fd10_snr25/raw.npz,0.04625639653331669,1.0,0.01604527597625028,0.00821476678159274,-0.014117410386193902,0,4.547473508864641e-13 +evaluation/E02_main_fortitran_D_base_s41001/DIAG/A_ds300_fd100_snr0/raw.npz,0.012769628872475538,1.0,0.007296755280539932,0.0149769259742822,0.24291185907912438,0,9.094947017729282e-13 +evaluation/E02_main_fortitran_D_base_s41001/DIAG/A_ds300_fd100_snr5/raw.npz,0.012769628872475538,1.0,0.0073141609099713805,0.014996741621616079,0.2429271586939704,0,9.094947017729282e-13 +evaluation/E02_main_fortitran_D_base_s41001/DIAG/A_ds300_fd100_snr10/raw.npz,0.012769628872475538,1.0,0.007320109602965021,0.015005797204282455,0.24294970058705134,0,1.8189894035458565e-12 +evaluation/E02_main_fortitran_D_base_s41001/DIAG/A_ds300_fd100_snr15/raw.npz,0.012769628872475538,1.0,0.007322114961911083,0.015009869576918697,0.24296788225773666,0,9.094947017729282e-13 +evaluation/E02_main_fortitran_D_base_s41001/DIAG/A_ds300_fd100_snr20/raw.npz,0.012769628872475538,1.0,0.0073227934028442234,0.015011575440356544,0.2429773543320561,0,4.547473508864641e-13 +evaluation/E02_main_fortitran_D_base_s41001/DIAG/A_ds300_fd100_snr25/raw.npz,0.012769628872475538,1.0,0.007323043693757583,0.01501235543631051,0.24298267119885422,0,9.094947017729282e-13 +evaluation/E02_main_helena_D_base_s41001/DIAG/C_ds100_fd10_snr0/raw.npz,0.0006875906529715881,1.0,0.22248539364295186,0.0753608057636227,0.14647928200840735,0,2.2737367544323206e-13 +evaluation/E02_main_helena_D_base_s41001/DIAG/C_ds100_fd10_snr5/raw.npz,0.0006875906529715881,1.0,0.16288884018350988,0.07749169653381804,0.17680302555667113,0,4.547473508864641e-13 +evaluation/E02_main_helena_D_base_s41001/DIAG/C_ds100_fd10_snr10/raw.npz,0.0006875906529715881,1.0,0.13877825056416138,0.07780971006902401,0.19524573578124724,0,4.547473508864641e-13 +evaluation/E02_main_helena_D_base_s41001/DIAG/C_ds100_fd10_snr15/raw.npz,0.0006875906529715881,1.0,0.13000949219399077,0.07744538238755955,0.20328374646331615,0,4.547473508864641e-13 +evaluation/E02_main_helena_D_base_s41001/DIAG/C_ds100_fd10_snr20/raw.npz,0.0006875906529715881,1.0,0.12711722048687504,0.07712527879466129,0.20577131086126463,0,4.547473508864641e-13 +evaluation/E02_main_helena_D_base_s41001/DIAG/C_ds100_fd10_snr25/raw.npz,0.0006875906529715881,1.0,0.1261794655755987,0.07696489728058539,0.2064174939075597,0,4.547473508864641e-13 +evaluation/E02_main_helena_D_base_s41001/DIAG/C_ds100_fd100_snr0/raw.npz,0.0008261512542778008,1.0,0.23797133226329892,0.0761536592393466,0.14028087392824076,0,4.547473508864641e-13 +evaluation/E02_main_helena_D_base_s41001/DIAG/C_ds100_fd100_snr5/raw.npz,0.0008261512542778008,1.0,0.1742343383556952,0.07891279203659018,0.17048160076103538,0,2.2737367544323206e-13 +evaluation/E02_main_helena_D_base_s41001/DIAG/C_ds100_fd100_snr10/raw.npz,0.0008261512542778008,1.0,0.1492630415889127,0.07947686109588355,0.187181025917268,0,2.2737367544323206e-13 +evaluation/E02_main_helena_D_base_s41001/DIAG/C_ds100_fd100_snr15/raw.npz,0.0008261512542778008,1.0,0.14042278077374978,0.07933919935010852,0.19465088602918498,0,4.547473508864641e-13 +evaluation/E02_main_helena_D_base_s41001/DIAG/C_ds100_fd100_snr20/raw.npz,0.0008261512542778008,1.0,0.1375121976403691,0.07920940230665435,0.19762196536443524,0,4.547473508864641e-13 +evaluation/E02_main_helena_D_base_s41001/DIAG/C_ds100_fd100_snr25/raw.npz,0.0008261512542778008,1.0,0.13660180724488685,0.07908322491544449,0.19836743155058448,0,4.547473508864641e-13 +evaluation/E02_main_helena_D_base_s41001/DIAG/C_ds100_fd200_snr0/raw.npz,0.0019593703772979756,1.0,0.23484343492323914,0.07555571339712323,0.13695449259125747,0,4.547473508864641e-13 +evaluation/E02_main_helena_D_base_s41001/DIAG/C_ds100_fd200_snr5/raw.npz,0.0019593703772979756,1.0,0.17429685730020655,0.07812143730299732,0.16570329479307386,0,4.547473508864641e-13 +evaluation/E02_main_helena_D_base_s41001/DIAG/C_ds100_fd200_snr10/raw.npz,0.0019593703772979756,1.0,0.1508835643805495,0.07878462153696632,0.18129241099452073,0,4.547473508864641e-13 +evaluation/E02_main_helena_D_base_s41001/DIAG/C_ds100_fd200_snr15/raw.npz,0.0019593703772979756,1.0,0.14272465435895978,0.07890374337882969,0.18850676103412542,0,4.547473508864641e-13 +evaluation/E02_main_helena_D_base_s41001/DIAG/C_ds100_fd200_snr20/raw.npz,0.0019593703772979756,1.0,0.14015535503029797,0.07889308800342337,0.19158211718307316,0,4.547473508864641e-13 +evaluation/E02_main_helena_D_base_s41001/DIAG/C_ds100_fd200_snr25/raw.npz,0.0019593703772979756,1.0,0.13934424669122758,0.07886612619520467,0.19259273611297748,0,4.547473508864641e-13 +evaluation/E02_main_helena_D_base_s41001/DIAG/C_ds100_fd500_snr0/raw.npz,0.04389855639818994,1.0,0.18902728138310337,0.07147236421698648,0.14610987769362058,0,9.094947017729282e-13 +evaluation/E02_main_helena_D_base_s41001/DIAG/C_ds100_fd500_snr5/raw.npz,0.04389855639818994,1.0,0.14757713516517118,0.07384831173735147,0.1736490077454659,0,4.547473508864641e-13 +evaluation/E02_main_helena_D_base_s41001/DIAG/C_ds100_fd500_snr10/raw.npz,0.04389855639818994,1.0,0.13208027373792222,0.07477357373848371,0.18862507008233972,0,9.094947017729282e-13 +evaluation/E02_main_helena_D_base_s41001/DIAG/C_ds100_fd500_snr15/raw.npz,0.04389855639818994,1.0,0.12656346590669507,0.07513036349561501,0.19601414642060222,0,9.094947017729282e-13 +evaluation/E02_main_helena_D_base_s41001/DIAG/C_ds100_fd500_snr20/raw.npz,0.04389855639818994,1.0,0.12475964435343743,0.07528781231991073,0.1988750564836891,0,9.094947017729282e-13 +evaluation/E02_main_helena_D_base_s41001/DIAG/C_ds100_fd500_snr25/raw.npz,0.04389855639818994,1.0,0.12421120145786713,0.07536666994691164,0.20000980404333168,0,9.094947017729282e-13 +evaluation/E02_main_helena_D_base_s41001/DIAG/A_ds100_fd10_snr0/raw.npz,0.0003311967844247724,1.0,0.22713670153606555,0.07460166381907461,0.12853628295631728,0,4.547473508864641e-13 +evaluation/E02_main_helena_D_base_s41001/DIAG/A_ds100_fd10_snr5/raw.npz,0.0003311967844247724,1.0,0.16241874488639502,0.0757963352555332,0.161279506086497,0,9.094947017729282e-13 +evaluation/E02_main_helena_D_base_s41001/DIAG/A_ds100_fd10_snr10/raw.npz,0.0003311967844247724,1.0,0.13590282489050043,0.07620777064475732,0.18470942443197738,0,9.094947017729282e-13 +evaluation/E02_main_helena_D_base_s41001/DIAG/A_ds100_fd10_snr15/raw.npz,0.0003311967844247724,1.0,0.1264254877556157,0.07615205269310293,0.1960261756884869,0,2.2737367544323206e-13 +evaluation/E02_main_helena_D_base_s41001/DIAG/A_ds100_fd10_snr20/raw.npz,0.0003311967844247724,1.0,0.12346208708878534,0.07600587788485552,0.19967223808272982,0,4.547473508864641e-13 +evaluation/E02_main_helena_D_base_s41001/DIAG/A_ds100_fd10_snr25/raw.npz,0.0003311967844247724,1.0,0.1225681400550103,0.07591026636830121,0.20061310180438632,0,2.2737367544323206e-13 +evaluation/E02_main_helena_D_base_s41001/DIAG/C_ds300_fd10_snr0/raw.npz,0.04625639653331669,1.0,0.2678814092029808,0.07021612140221933,0.11739503575351057,0,4.547473508864641e-13 +evaluation/E02_main_helena_D_base_s41001/DIAG/C_ds300_fd10_snr5/raw.npz,0.04625639653331669,1.0,0.19246473766102162,0.07231556519875461,0.14594668098636848,0,4.547473508864641e-13 +evaluation/E02_main_helena_D_base_s41001/DIAG/C_ds300_fd10_snr10/raw.npz,0.04625639653331669,1.0,0.16153546174853592,0.07298209953358192,0.16445769418813852,0,6.821210263296962e-13 +evaluation/E02_main_helena_D_base_s41001/DIAG/C_ds300_fd10_snr15/raw.npz,0.04625639653331669,1.0,0.1499526916408781,0.07312475989098785,0.1733850513588453,0,4.547473508864641e-13 +evaluation/E02_main_helena_D_base_s41001/DIAG/C_ds300_fd10_snr20/raw.npz,0.04625639653331669,1.0,0.14593511355563682,0.07323623430672939,0.17746802168532697,0,4.547473508864641e-13 +evaluation/E02_main_helena_D_base_s41001/DIAG/C_ds300_fd10_snr25/raw.npz,0.04625639653331669,1.0,0.14446697841093878,0.07333252602841149,0.17932619386168488,0,4.547473508864641e-13 +evaluation/E02_main_helena_D_base_s41001/DIAG/A_ds300_fd100_snr0/raw.npz,0.012769628872475538,1.0,0.15063210030655313,0.06796786202254378,0.16655817663309216,0,9.094947017729282e-13 +evaluation/E02_main_helena_D_base_s41001/DIAG/A_ds300_fd100_snr5/raw.npz,0.012769628872475538,1.0,0.12154863330781035,0.0694249970889357,0.18974044861986272,0,9.094947017729282e-13 +evaluation/E02_main_helena_D_base_s41001/DIAG/A_ds300_fd100_snr10/raw.npz,0.012769628872475538,1.0,0.1112432268667337,0.07004592833678329,0.2009836271077786,0,9.094947017729282e-13 +evaluation/E02_main_helena_D_base_s41001/DIAG/A_ds300_fd100_snr15/raw.npz,0.012769628872475538,1.0,0.10771358398351612,0.0701715408570375,0.20512687908043928,0,4.547473508864641e-13 +evaluation/E02_main_helena_D_base_s41001/DIAG/A_ds300_fd100_snr20/raw.npz,0.012769628872475538,1.0,0.10648298042707635,0.07010894879764429,0.20617194734798008,0,9.094947017729282e-13 +evaluation/E02_main_helena_D_base_s41001/DIAG/A_ds300_fd100_snr25/raw.npz,0.012769628872475538,1.0,0.10606743469740414,0.07005054013054549,0.2063256441478177,0,9.094947017729282e-13 diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/nmse_plot_data.csv b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/nmse_plot_data.csv new file mode 100644 index 0000000000000000000000000000000000000000..23abf49795c0d40f014c80d6e6f300a9d14bcdb3 --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/nmse_plot_data.csv @@ -0,0 +1,121 @@ +fd,arch,arm,snr,nmse_db_pooled_seeds,seeds +10,channelformer,D,0,0.36815548274716553,1 +10,channelformer,D,5,0.32989222687613057,1 +10,channelformer,D,10,0.28845277278200737,1 +10,channelformer,D,15,0.2585070489020308,1 +10,channelformer,D,20,0.24443378836171623,1 +10,channelformer,D,25,0.24003760177851574,1 +10,compact,A-raw,0,-12.990063962240137,1 +10,compact,A-raw,5,-15.827441306052066,1 +10,compact,A-raw,10,-17.747197076104243,1 +10,compact,A-raw,15,-18.92287752865171,1 +10,compact,A-raw,20,-19.600148287743234,1 +10,compact,A-raw,25,-19.90517263191476,1 +10,compact,A-res,0,-12.989655616319968,1 +10,compact,A-res,5,-15.82838547765623,1 +10,compact,A-res,10,-17.75144592979876,1 +10,compact,A-res,15,-18.930383806184366,1 +10,compact,A-res,20,-19.61086415425606,1 +10,compact,A-res,25,-19.918589311873568,1 +10,compact,D,0,-0.008153311719998668,1 +10,compact,D,5,-0.008004671617034324,1 +10,compact,D,10,-0.007781674848016629,1 +10,compact,D,15,-0.007570094282510709,1 +10,compact,D,20,-0.00737390064301361,1 +10,compact,D,25,-0.007202869430572834,1 +10,fortitran,D,0,0.11463784430331075,1 +10,fortitran,D,5,0.1148621760272364,1 +10,fortitran,D,10,0.11493982995159349,1 +10,fortitran,D,15,0.1149636659476537,1 +10,fortitran,D,20,0.11497142994199065,1 +10,fortitran,D,25,0.11497352125992565,1 +10,helena,D,0,0.3009907693500561,1 +10,helena,D,5,0.034197923060471015,1 +10,helena,D,10,-0.07376315732984302,1 +10,helena,D,15,-0.10942502738709756,1 +10,helena,D,20,-0.1194667826806246,1 +10,helena,D,25,-0.12222195135136475,1 +10,reesnet,D,0,-0.03852077489592013,1 +10,reesnet,D,5,-0.04158873104073753,1 +10,reesnet,D,10,-0.04219989168848679,1 +10,reesnet,D,15,-0.04217377156454854,1 +10,reesnet,D,20,-0.042054163119791536,1 +10,reesnet,D,25,-0.0419477577460587,1 +10,ls,classical,0,-1.2529196110143603,1 +10,ls,classical,5,-6.252418580973669,1 +10,ls,classical,10,-11.251271162485637,1 +10,ls,classical,15,-16.248420621950473,1 +10,ls,classical,20,-21.24079623907841,1 +10,ls,classical,25,-26.21921056423083,1 +10,bem,classical,0,-13.95758785899014,1 +10,bem,classical,5,-17.865194130085943,1 +10,bem,classical,10,-21.40561633593981,1 +10,bem,classical,15,-24.641427810924622,1 +10,bem,classical,20,-27.681714275599234,1 +10,bem,classical,25,-29.869569358995612,1 +10,lmmse,classical,0,-14.035145058605528,1 +10,lmmse,classical,5,-18.27808332224061,1 +10,lmmse,classical,10,-22.66240823508406,1 +10,lmmse,classical,15,-26.858111037995585,1 +10,lmmse,classical,20,-31.088823172543833,1 +10,lmmse,classical,25,-35.394635933546304,1 +100,channelformer,D,0,0.40768071695795915,1 +100,channelformer,D,5,0.3700703263375949,1 +100,channelformer,D,10,0.33215278884521227,1 +100,channelformer,D,15,0.30859111506884224,1 +100,channelformer,D,20,0.30057252899044484,1 +100,channelformer,D,25,0.29994108434106215,1 +100,compact,A-raw,0,-10.971557735089286,1 +100,compact,A-raw,5,-13.44341522277514,1 +100,compact,A-raw,10,-16.006808883257957,1 +100,compact,A-raw,15,-18.119615256167762,1 +100,compact,A-raw,20,-19.158061044833918,1 +100,compact,A-raw,25,-19.523477160616324,1 +100,compact,A-res,0,-10.969297621657056,1 +100,compact,A-res,5,-13.442124463697255,1 +100,compact,A-res,10,-16.008597191241677,1 +100,compact,A-res,15,-18.125731423156637,1 +100,compact,A-res,20,-19.168325916082345,1 +100,compact,A-res,25,-19.536827972220262,1 +100,compact,D,0,0.08028985330277633,1 +100,compact,D,5,0.08038436405366106,1 +100,compact,D,10,0.08064530150455364,1 +100,compact,D,15,0.08091296113987471,1 +100,compact,D,20,0.0811702812829774,1 +100,compact,D,25,0.0814180649650907,1 +100,fortitran,D,0,-0.003472967748505834,1 +100,fortitran,D,5,-0.003343212741314643,1 +100,fortitran,D,10,-0.003290825746088191,1 +100,fortitran,D,15,-0.0032730188070914873,1 +100,fortitran,D,20,-0.0032676962632845045,1 +100,fortitran,D,25,-0.0032665982883826237,1 +100,helena,D,0,0.3569544262312183,1 +100,helena,D,5,0.07068396953121418,1 +100,helena,D,10,-0.042291339625364285,1 +100,helena,D,15,-0.08001575253821505,1 +100,helena,D,20,-0.09175880064296295,1 +100,helena,D,25,-0.09467861723670623,1 +100,reesnet,D,0,-0.1414312561179125,1 +100,reesnet,D,5,-0.14544466934831757,1 +100,reesnet,D,10,-0.14637445786628867,1 +100,reesnet,D,15,-0.14646969014407768,1 +100,reesnet,D,20,-0.14639311095444096,1 +100,reesnet,D,25,-0.14631210142358086,1 +100,ls,classical,0,-0.9168521847117007,1 +100,ls,classical,5,-5.898547725634167,1 +100,ls,classical,10,-10.843567979388304,1 +100,ls,classical,15,-15.678260560186759,1 +100,ls,classical,20,-20.19997930376742,1 +100,ls,classical,25,-23.970998557951173,1 +100,bem,classical,0,-11.602894078833902,1 +100,bem,classical,5,-14.585609074044593,1 +100,bem,classical,10,-18.290482916882723,1 +100,bem,classical,15,-22.746879519408214,1 +100,bem,classical,20,-26.70352159380208,1 +100,bem,classical,25,-29.139714298830484,1 +100,lmmse,classical,0,-11.356353090300495,1 +100,lmmse,classical,5,-13.509926192461778,1 +100,lmmse,classical,10,-15.207607841577968,1 +100,lmmse,classical,15,-17.28835550697665,1 +100,lmmse,classical,20,-20.76168301686913,1 +100,lmmse,classical,25,-25.17856677231952,1 diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/paired_anchor_gain.csv b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/paired_anchor_gain.csv new file mode 100644 index 0000000000000000000000000000000000000000..490b2b88d270864af926a3cb4135c68d6f9cfef7 --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/paired_anchor_gain.csv @@ -0,0 +1,13 @@ +seed,fd,snr,gain_db +41001,10,0,12.981502304599971 +41001,10,5,15.820380806039198 +41001,10,10,17.74366425495074 +41001,10,15,18.92281371190186 +41001,10,20,19.603490253613046 +41001,10,25,19.911386442442996 +41001,100,0,11.049587474959832 +41001,100,5,13.522508827750915 +41001,100,10,16.08924249274623 +41001,100,15,18.20664438429651 +41001,100,20,19.249496197365325 +41001,100,25,19.61824603718535 diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/primary_endpoint.json b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/primary_endpoint.json new file mode 100644 index 0000000000000000000000000000000000000000..8e9cad6b9e5a7009926efe1ecdd93ded40ec4346 --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/primary_endpoint.json @@ -0,0 +1,13 @@ +{ + "n": 1, + "mean": -1.6544217622045103, + "low": null, + "high": null, + "p": null, + "sd": null, + "dz": null, + "endpoint": "G(fd100)-G(fd10) at 10dB", + "required_seeds": 20, + "complete": false, + "confirmatory_eligible": false +} diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/primary_seed_contrasts.csv b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/primary_seed_contrasts.csv new file mode 100644 index 0000000000000000000000000000000000000000..09572befefc7df2e246ecca7e90e656481ad2c8f --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/primary_seed_contrasts.csv @@ -0,0 +1,2 @@ +seed,delta_db +41001,-1.6544217622045103 diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/report_status.json b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/report_status.json new file mode 100644 index 0000000000000000000000000000000000000000..e7d8241ce0afd0fb13675c03a259b8f76b687b6e --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/report_status.json @@ -0,0 +1,7 @@ +{ + "seed_rows": 294, + "primary_seeds": 1, + "bootstrap_replicates": 100, + "source": "linear-domain raw records", + "incomplete": true +} diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/secondary_family.json b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/secondary_family.json new file mode 100644 index 0000000000000000000000000000000000000000..2691cd5471c497a8f0c318cfa81224bc01adbd00 --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/secondary_family.json @@ -0,0 +1,138 @@ +{ + "complete": false, + "hypotheses": [ + { + "hypothesis": "anchor_gain_fd10_sign", + "required_n": 20, + "n": 1, + "mean": 17.74366425495074, + "low": null, + "high": null, + "p": null, + "sd": null, + "dz": null + }, + { + "hypothesis": "anchor_gain_fd100_sign", + "required_n": 20, + "n": 1, + "mean": 16.08924249274623, + "low": null, + "high": null, + "p": null, + "sd": null, + "dz": null + }, + { + "hypothesis": "A-raw_delta", + "required_n": 20, + "n": 1, + "mean": -1.6519612164937172, + "low": null, + "high": null, + "p": null, + "sd": null, + "dz": null + }, + { + "hypothesis": "scalar_vs_D", + "required_n": 20, + "n": 1, + "mean": 15.835750380275828, + "low": null, + "high": null, + "p": null, + "sd": null, + "dz": null + }, + { + "hypothesis": "resource_vs_D", + "required_n": 20, + "n": 1, + "mean": 12.885711478741044, + "low": null, + "high": null, + "p": null, + "sd": null, + "dz": null + }, + { + "hypothesis": "resource_vs_A-res", + "required_n": 20, + "n": 1, + "mean": -3.2035310140051863, + "low": null, + "high": null, + "p": null, + "sd": null, + "dz": null + }, + { + "hypothesis": "A-res_vs_ls", + "required_n": 20, + "n": 1, + "mean": 5.165029211853373, + "low": null, + "high": null, + "p": null, + "sd": null, + "dz": null + }, + { + "hypothesis": "A-res_vs_lmmse", + "required_n": 20, + "n": 1, + "mean": 0.8009893496637098, + "low": null, + "high": null, + "p": null, + "sd": null, + "dz": null + }, + { + "hypothesis": "A-res_vs_reesnet", + "required_n": 10, + "n": 1, + "mean": 15.862222733375388, + "low": null, + "high": null, + "p": null, + "sd": null, + "dz": null + }, + { + "hypothesis": "A-res_vs_channelformer", + "required_n": 10, + "n": 1, + "mean": 16.34074998008689, + "low": null, + "high": null, + "p": null, + "sd": null, + "dz": null + }, + { + "hypothesis": "A-res_vs_fortitran", + "required_n": 10, + "n": 1, + "mean": 16.00530636549559, + "low": null, + "high": null, + "p": null, + "sd": null, + "dz": null + }, + { + "hypothesis": "A-res_vs_helena", + "required_n": 10, + "n": 1, + "mean": 15.966305851616314, + "low": null, + "high": null, + "p": null, + "sd": null, + "dz": null + } + ], + "intervals": "pointwise 95%; Holm p-values only after full family is available" +} diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/spectra/A_ds100_fd10_snr10/plot_data.npz b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/spectra/A_ds100_fd10_snr10/plot_data.npz new file mode 100644 index 0000000000000000000000000000000000000000..416b02959ab1a9086daf7e0a537ba3e984b2ebca --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/spectra/A_ds100_fd10_snr10/plot_data.npz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4359aa4b07037ba694b4f81cf856aac64645a038eb82e4cc044aaa0206053f3f +size 26143 diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/spectra/A_ds300_fd100_snr10/plot_data.npz b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/spectra/A_ds300_fd100_snr10/plot_data.npz new file mode 100644 index 0000000000000000000000000000000000000000..6bf8de71c23735e451737dc48114a91f6e521e30 --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/spectra/A_ds300_fd100_snr10/plot_data.npz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b09389d693efc1574256f7cb9b0000a3f42f74a3d5112bd7d697149d35e5dfff +size 26113 diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/spectra/C_ds100_fd100_snr10/plot_data.npz b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/spectra/C_ds100_fd100_snr10/plot_data.npz new file mode 100644 index 0000000000000000000000000000000000000000..cd4ae4b332b755bdc8f7832101a2aa0895be11af --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/spectra/C_ds100_fd100_snr10/plot_data.npz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3970def0c49d32f0276b77a199b3b663745e7e76be4ae33462055c761467bae1 +size 26140 diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/spectra/C_ds100_fd10_snr10/plot_data.npz b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/spectra/C_ds100_fd10_snr10/plot_data.npz new file mode 100644 index 0000000000000000000000000000000000000000..67bb8ddde599a3b5f25406be6bc6e7ad61f6eb2f --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/spectra/C_ds100_fd10_snr10/plot_data.npz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0bce34f45870cafcee5832d052ca9fdd77a5e33b736f4f54d2b7ae92905db189 +size 26085 diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/spectra/C_ds100_fd200_snr10/plot_data.npz b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/spectra/C_ds100_fd200_snr10/plot_data.npz new file mode 100644 index 0000000000000000000000000000000000000000..5cfddebd7b3c232446d0053f2a8bd04806497b82 --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/spectra/C_ds100_fd200_snr10/plot_data.npz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:24fa9439ffcea6156a6a2dab0d197ed1837a68d9680259d63921b92fff70ee37 +size 26055 diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/spectra/C_ds100_fd500_snr10/plot_data.npz b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/spectra/C_ds100_fd500_snr10/plot_data.npz new file mode 100644 index 0000000000000000000000000000000000000000..7c160af95403823e6332a4c5a6b195161eafb19f --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/spectra/C_ds100_fd500_snr10/plot_data.npz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0d527f97f54012d41043d03573c7cf8a124735593fd1256e4836d340130b0ee5 +size 26084 diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/spectra/C_ds300_fd10_snr10/plot_data.npz b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/spectra/C_ds300_fd10_snr10/plot_data.npz new file mode 100644 index 0000000000000000000000000000000000000000..2f8bf9de3936bf2e5a3548c3cd95f92b2ed03396 --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/spectra/C_ds300_fd10_snr10/plot_data.npz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7d8f6dbf370de7f934d5e18eb2949728960f5c6d76797df44b26a2ad917a61c9 +size 26122 diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/supplemental_intervals.csv b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/supplemental_intervals.csv new file mode 100644 index 0000000000000000000000000000000000000000..d0f76ee7a28ad29c68d361f1e004a6b98c80f658 --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/supplemental_intervals.csv @@ -0,0 +1,145 @@ +arc,recipe,method,snr,profile,ds_ns,fd,pooled_seed_sample_nmse_db,seed_db_n,seed_db_mean,seed_db_low,seed_db_high,seed_db_p,seed_db_sd,seed_db_dz +adaptation,target,A-res_128_labels,0.0,C,100.0,100,-13.206217171409785,1,-13.206217171409785,,,,, +adaptation,target,A-res_128_labels,5.0,C,100.0,100,-16.337659255051406,1,-16.337659255051406,,,,, +adaptation,target,A-res_128_labels,10.0,C,100.0,100,-19.46389061238697,1,-19.46389061238697,,,,, +adaptation,target,A-res_128_labels,15.0,C,100.0,100,-21.888182887075168,1,-21.888182887075168,,,,, +adaptation,target,A-res_128_labels,20.0,C,100.0,100,-23.110015575345454,1,-23.110015575345454,,,,, +adaptation,target,A-res_128_labels,25.0,C,100.0,100,-23.438007307679545,1,-23.438007307679545,,,,, +gates,main,half,0.0,A,100.0,10,-5.544570498159217,1,-5.544570498159217,,,,, +gates,main,half,0.0,A,300.0,100,-4.4484514468624905,1,-4.4484514468624905,,,,, +gates,main,half,0.0,C,100.0,10,-5.697342137987071,1,-5.697342137987071,,,,, +gates,main,half,0.0,C,100.0,100,-5.1659425844216775,1,-5.1659425844216775,,,,, +gates,main,half,0.0,C,100.0,200,-4.241520006655115,1,-4.241520006655115,,,,, +gates,main,half,0.0,C,100.0,500,-2.5853445943842983,1,-2.5853445943842983,,,,, +gates,main,half,0.0,C,300.0,10,-4.232701766749651,1,-4.232701766749651,,,,, +gates,main,half,5.0,A,100.0,10,-5.680968229913065,1,-5.680968229913065,,,,, +gates,main,half,5.0,A,300.0,100,-4.947716804868098,1,-4.947716804868098,,,,, +gates,main,half,5.0,C,100.0,10,-5.882516311551077,1,-5.882516311551077,,,,, +gates,main,half,5.0,C,100.0,100,-5.420897217627133,1,-5.420897217627133,,,,, +gates,main,half,5.0,C,100.0,200,-4.616908780499073,1,-4.616908780499073,,,,, +gates,main,half,5.0,C,100.0,500,-3.0855320494161615,1,-3.0855320494161615,,,,, +gates,main,half,5.0,C,300.0,10,-4.708373194465322,1,-4.708373194465322,,,,, +gates,main,half,10.0,A,100.0,10,-5.720595223528976,1,-5.720595223528976,,,,, +gates,main,half,10.0,A,300.0,100,-5.283389825034265,1,-5.283389825034265,,,,, +gates,main,half,10.0,C,100.0,10,-5.948636175084015,1,-5.948636175084015,,,,, +gates,main,half,10.0,C,100.0,100,-5.5958755605575385,1,-5.5958755605575385,,,,, +gates,main,half,10.0,C,100.0,200,-5.02224201606873,1,-5.02224201606873,,,,, +gates,main,half,10.0,C,100.0,500,-3.78893422945201,1,-3.78893422945201,,,,, +gates,main,half,10.0,C,300.0,10,-4.983590280529839,1,-4.983590280529839,,,,, +gates,main,half,15.0,A,100.0,10,-5.723424265400125,1,-5.723424265400125,,,,, +gates,main,half,15.0,A,300.0,100,-5.466170186284012,1,-5.466170186284012,,,,, +gates,main,half,15.0,C,100.0,10,-5.964747330549943,1,-5.964747330549943,,,,, +gates,main,half,15.0,C,100.0,100,-5.700234240180264,1,-5.700234240180264,,,,, +gates,main,half,15.0,C,100.0,200,-5.33115936531601,1,-5.33115936531601,,,,, +gates,main,half,15.0,C,100.0,500,-4.392903695913068,1,-4.392903695913068,,,,, +gates,main,half,15.0,C,300.0,10,-5.113413687819548,1,-5.113413687819548,,,,, +gates,main,half,20.0,A,100.0,10,-5.716449638276483,1,-5.716449638276483,,,,, +gates,main,half,20.0,A,300.0,100,-5.541053104008142,1,-5.541053104008142,,,,, +gates,main,half,20.0,C,100.0,10,-5.964568605788986,1,-5.964568605788986,,,,, +gates,main,half,20.0,C,100.0,100,-5.743079689315201,1,-5.743079689315201,,,,, +gates,main,half,20.0,C,100.0,200,-5.477488135472837,1,-5.477488135472837,,,,, +gates,main,half,20.0,C,100.0,500,-4.697477336789484,1,-4.697477336789484,,,,, +gates,main,half,20.0,C,300.0,10,-5.160516230232411,1,-5.160516230232411,,,,, +gates,main,half,25.0,A,100.0,10,-5.708571702567374,1,-5.708571702567374,,,,, +gates,main,half,25.0,A,300.0,100,-5.565741933155293,1,-5.565741933155293,,,,, +gates,main,half,25.0,C,100.0,10,-5.960308182878072,1,-5.960308182878072,,,,, +gates,main,half,25.0,C,100.0,100,-5.75529547634374,1,-5.75529547634374,,,,, +gates,main,half,25.0,C,100.0,200,-5.5291963207180475,1,-5.5291963207180475,,,,, +gates,main,half,25.0,C,100.0,500,-4.810528613833086,1,-4.810528613833086,,,,, +gates,main,half,25.0,C,300.0,10,-5.173163800701701,1,-5.173163800701701,,,,, +gates,main,resource,0.0,A,100.0,10,-11.274197494051222,1,-11.274197494051222,,,,, +gates,main,resource,0.0,A,300.0,100,-9.588932408227404,1,-9.588932408227404,,,,, +gates,main,resource,0.0,C,100.0,10,-10.874665351126229,1,-10.874665351126229,,,,, +gates,main,resource,0.0,C,100.0,100,-9.387748141680856,1,-9.387748141680856,,,,, +gates,main,resource,0.0,C,100.0,200,-7.549249219649869,1,-7.549249219649869,,,,, +gates,main,resource,0.0,C,100.0,500,-4.66058177713563,1,-4.66058177713563,,,,, +gates,main,resource,0.0,C,300.0,10,-7.503511254974551,1,-7.503511254974551,,,,, +gates,main,resource,5.0,A,100.0,10,-12.535286516366869,1,-12.535286516366869,,,,, +gates,main,resource,5.0,A,300.0,100,-11.919136190226338,1,-11.919136190226338,,,,, +gates,main,resource,5.0,C,100.0,10,-12.764457671850469,1,-12.764457671850469,,,,, +gates,main,resource,5.0,C,100.0,100,-10.985791999914747,1,-10.985791999914747,,,,, +gates,main,resource,5.0,C,100.0,200,-9.028668108630333,1,-9.028668108630333,,,,, +gates,main,resource,5.0,C,100.0,500,-5.928809974526731,1,-5.928809974526731,,,,, +gates,main,resource,5.0,C,300.0,10,-8.980220346599278,1,-8.980220346599278,,,,, +gates,main,resource,10.0,A,100.0,10,-13.741447714535838,1,-13.741447714535838,,,,, +gates,main,resource,10.0,A,300.0,100,-14.062248645557908,1,-14.062248645557908,,,,, +gates,main,resource,10.0,C,100.0,10,-14.384649929314595,1,-14.384649929314595,,,,, +gates,main,resource,10.0,C,100.0,100,-12.80506617723649,1,-12.80506617723649,,,,, +gates,main,resource,10.0,C,100.0,200,-11.172008621836124,1,-11.172008621836124,,,,, +gates,main,resource,10.0,C,100.0,500,-8.123705823219293,1,-8.123705823219293,,,,, +gates,main,resource,10.0,C,300.0,10,-10.134027360424625,1,-10.134027360424625,,,,, +gates,main,resource,15.0,A,100.0,10,-14.891648165233812,1,-14.891648165233812,,,,, +gates,main,resource,15.0,A,300.0,100,-15.56827087608349,1,-15.56827087608349,,,,, +gates,main,resource,15.0,C,100.0,10,-15.79163573005373,1,-15.79163573005373,,,,, +gates,main,resource,15.0,C,100.0,100,-14.642269605060534,1,-14.642269605060534,,,,, +gates,main,resource,15.0,C,100.0,200,-13.59169113163842,1,-13.59169113163842,,,,, +gates,main,resource,15.0,C,100.0,500,-10.39303864307621,1,-10.39303864307621,,,,, +gates,main,resource,15.0,C,300.0,10,-10.953822532187953,1,-10.953822532187953,,,,, +gates,main,resource,20.0,A,100.0,10,-15.950350721451873,1,-15.950350721451873,,,,, +gates,main,resource,20.0,A,300.0,100,-16.30708386312907,1,-16.30708386312907,,,,, +gates,main,resource,20.0,C,100.0,10,-17.00457214179609,1,-17.00457214179609,,,,, +gates,main,resource,20.0,C,100.0,100,-16.151535506460895,1,-16.151535506460895,,,,, +gates,main,resource,20.0,C,100.0,200,-15.452684774764371,1,-15.452684774764371,,,,, +gates,main,resource,20.0,C,100.0,500,-11.50523300364894,1,-11.50523300364894,,,,, +gates,main,resource,20.0,C,300.0,10,-11.48959155999276,1,-11.48959155999276,,,,, +gates,main,resource,25.0,A,100.0,10,-16.86615831028891,1,-16.86615831028891,,,,, +gates,main,resource,25.0,A,300.0,100,-16.676703322138025,1,-16.676703322138025,,,,, +gates,main,resource,25.0,C,100.0,10,-17.970053699631446,1,-17.970053699631446,,,,, +gates,main,resource,25.0,C,100.0,100,-17.289083444786794,1,-17.289083444786794,,,,, +gates,main,resource,25.0,C,100.0,200,-16.692287540830968,1,-16.692287540830968,,,,, +gates,main,resource,25.0,C,100.0,500,-11.918160331968346,1,-11.918160331968346,,,,, +gates,main,resource,25.0,C,300.0,10,-11.831523525487274,1,-11.831523525487274,,,,, +gates,main,scalar,0.0,A,100.0,10,-13.596973264284104,1,-13.596973264284104,,,,, +gates,main,scalar,0.0,A,300.0,100,-9.846460852227228,1,-9.846460852227228,,,,, +gates,main,scalar,0.0,C,100.0,10,-13.099609533860301,1,-13.099609533860301,,,,, +gates,main,scalar,0.0,C,100.0,100,-10.982498535251937,1,-10.982498535251937,,,,, +gates,main,scalar,0.0,C,100.0,200,-8.18108507677916,1,-8.18108507677916,,,,, +gates,main,scalar,0.0,C,100.0,500,-4.67689208625645,1,-4.67689208625645,,,,, +gates,main,scalar,0.0,C,300.0,10,-8.150296489209222,1,-8.150296489209222,,,,, +gates,main,scalar,5.0,A,100.0,10,-16.071385245041558,1,-16.071385245041558,,,,, +gates,main,scalar,5.0,A,300.0,100,-12.408004680003037,1,-12.408004680003037,,,,, +gates,main,scalar,5.0,C,100.0,10,-15.87957646493953,1,-15.87957646493953,,,,, +gates,main,scalar,5.0,C,100.0,100,-13.350032089242136,1,-13.350032089242136,,,,, +gates,main,scalar,5.0,C,100.0,200,-10.182169223862749,1,-10.182169223862749,,,,, +gates,main,scalar,5.0,C,100.0,500,-6.237701149626597,1,-6.237701149626597,,,,, +gates,main,scalar,5.0,C,300.0,10,-10.06413568530785,1,-10.06413568530785,,,,, +gates,main,scalar,10.0,A,100.0,10,-17.689020494818127,1,-17.689020494818127,,,,, +gates,main,scalar,10.0,A,300.0,100,-14.790449749207417,1,-14.790449749207417,,,,, +gates,main,scalar,10.0,C,100.0,10,-17.719755673462167,1,-17.719755673462167,,,,, +gates,main,scalar,10.0,C,100.0,100,-15.755105078771274,1,-15.755105078771274,,,,, +gates,main,scalar,10.0,C,100.0,200,-13.139526056007714,1,-13.139526056007714,,,,, +gates,main,scalar,10.0,C,100.0,500,-8.808506821753307,1,-8.808506821753307,,,,, +gates,main,scalar,10.0,C,300.0,10,-11.304172385346739,1,-11.304172385346739,,,,, +gates,main,scalar,15.0,A,100.0,10,-18.597414912780856,1,-18.597414912780856,,,,, +gates,main,scalar,15.0,A,300.0,100,-16.3082440106487,1,-16.3082440106487,,,,, +gates,main,scalar,15.0,C,100.0,10,-18.795817282173466,1,-18.795817282173466,,,,, +gates,main,scalar,15.0,C,100.0,100,-17.69328016709103,1,-17.69328016709103,,,,, +gates,main,scalar,15.0,C,100.0,200,-16.214492539772976,1,-16.214492539772976,,,,, +gates,main,scalar,15.0,C,100.0,500,-11.07220848327309,1,-11.07220848327309,,,,, +gates,main,scalar,15.0,C,300.0,10,-11.903796146256006,1,-11.903796146256006,,,,, +gates,main,scalar,20.0,A,100.0,10,-19.059608359703365,1,-19.059608359703365,,,,, +gates,main,scalar,20.0,A,300.0,100,-16.82375510173995,1,-16.82375510173995,,,,, +gates,main,scalar,20.0,C,100.0,10,-19.38182788593182,1,-19.38182788593182,,,,, +gates,main,scalar,20.0,C,100.0,100,-18.632534770181906,1,-18.632534770181906,,,,, +gates,main,scalar,20.0,C,100.0,200,-17.760566587998426,1,-17.760566587998426,,,,, +gates,main,scalar,20.0,C,100.0,500,-11.814341351254134,1,-11.814341351254134,,,,, +gates,main,scalar,20.0,C,300.0,10,-12.118611487723001,1,-12.118611487723001,,,,, +gates,main,scalar,25.0,A,100.0,10,-19.228356427997166,1,-19.228356427997166,,,,, +gates,main,scalar,25.0,A,300.0,100,-16.942305056170962,1,-16.942305056170962,,,,, +gates,main,scalar,25.0,C,100.0,10,-19.62961918444497,1,-19.62961918444497,,,,, +gates,main,scalar,25.0,C,100.0,100,-18.957306299133695,1,-18.957306299133695,,,,, +gates,main,scalar,25.0,C,100.0,200,-18.214770738641295,1,-18.214770738641295,,,,, +gates,main,scalar,25.0,C,100.0,500,-11.927680941545525,1,-11.927680941545525,,,,, +gates,main,scalar,25.0,C,300.0,10,-12.186672836343984,1,-12.186672836343984,,,,, +oracle,main,target_cov_lmmse,0.0,C,100.0,100,-12.718622770679989,1,-12.718622770679989,,,,, +oracle,main,target_cov_lmmse,5.0,C,100.0,100,-15.182637393906294,1,-15.182637393906294,,,,, +oracle,main,target_cov_lmmse,10.0,C,100.0,100,-17.514755099534884,1,-17.514755099534884,,,,, +oracle,main,target_cov_lmmse,15.0,C,100.0,100,-19.442446480320957,1,-19.442446480320957,,,,, +oracle,main,target_cov_lmmse,20.0,C,100.0,100,-20.447306341638264,1,-20.447306341638264,,,,, +oracle,main,target_cov_lmmse,25.0,C,100.0,100,-20.81570842580209,1,-20.81570842580209,,,,, +oracle,main,target_recalibrated_bem,0.0,C,100.0,100,-12.876132513063299,1,-12.876132513063299,,,,, +oracle,main,target_recalibrated_bem,5.0,C,100.0,100,-15.736313685649964,1,-15.736313685649964,,,,, +oracle,main,target_recalibrated_bem,10.0,C,100.0,100,-19.202991779948107,1,-19.202991779948107,,,,, +oracle,main,target_recalibrated_bem,15.0,C,100.0,100,-23.210550638279074,1,-23.210550638279074,,,,, +oracle,main,target_recalibrated_bem,20.0,C,100.0,100,-26.47826266453873,1,-26.47826266453873,,,,, +oracle,main,target_recalibrated_bem,25.0,C,100.0,100,-28.17585497296276,1,-28.17585497296276,,,,, diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/supplemental_raw_summaries.csv b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/supplemental_raw_summaries.csv new file mode 100644 index 0000000000000000000000000000000000000000..a33eeafe54913e13ba0c7f9995c1d6a519c78641 --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/supplemental_raw_summaries.csv @@ -0,0 +1,145 @@ +arc,recipe,method,seed,snr,profile,ds_ns,fd,n,error_sum,denominator_sum,nmse_db,projection_fraction,raw_file +gates,main,scalar,41001,0.0,C,100.0,10,12,782.7167601220997,15979.58833086894,-13.099609533860301,0.0006875906529715881,gates/main/41001/evaluation/scalar/C_ds100_fd10_snr0/raw.npz +gates,main,scalar,41001,5.0,C,100.0,10,12,412.67479123162786,15979.58833086894,-15.87957646493953,0.0006875906529715881,gates/main/41001/evaluation/scalar/C_ds100_fd10_snr5/raw.npz +gates,main,scalar,41001,10.0,C,100.0,10,12,270.14069907248,15979.58833086894,-17.719755673462167,0.0006875906529715881,gates/main/41001/evaluation/scalar/C_ds100_fd10_snr10/raw.npz +gates,main,scalar,41001,15.0,C,100.0,10,12,210.85497797761974,15979.58833086894,-18.795817282173466,0.0006875906529715881,gates/main/41001/evaluation/scalar/C_ds100_fd10_snr15/raw.npz +gates,main,scalar,41001,20.0,C,100.0,10,12,184.23952197909142,15979.58833086894,-19.38182788593182,0.0006875906529715881,gates/main/41001/evaluation/scalar/C_ds100_fd10_snr20/raw.npz +gates,main,scalar,41001,25.0,C,100.0,10,12,174.02180473643827,15979.58833086894,-19.62961918444497,0.0006875906529715881,gates/main/41001/evaluation/scalar/C_ds100_fd10_snr25/raw.npz +gates,main,scalar,41001,0.0,C,100.0,100,12,1182.1007335300776,14821.91575030415,-10.982498535251937,0.0008261512542778008,gates/main/41001/evaluation/scalar/C_ds100_fd100_snr0/raw.npz +gates,main,scalar,41001,5.0,C,100.0,100,12,685.332190556312,14821.91575030415,-13.350032089242136,0.0008261512542778008,gates/main/41001/evaluation/scalar/C_ds100_fd100_snr5/raw.npz +gates,main,scalar,41001,10.0,C,100.0,100,12,393.9071214326002,14821.91575030415,-15.755105078771274,0.0008261512542778008,gates/main/41001/evaluation/scalar/C_ds100_fd100_snr10/raw.npz +gates,main,scalar,41001,15.0,C,100.0,100,12,252.10201890366352,14821.91575030415,-17.69328016709103,0.0008261512542778008,gates/main/41001/evaluation/scalar/C_ds100_fd100_snr15/raw.npz +gates,main,scalar,41001,20.0,C,100.0,100,12,203.0723821382696,14821.91575030415,-18.632534770181906,0.0008261512542778008,gates/main/41001/evaluation/scalar/C_ds100_fd100_snr20/raw.npz +gates,main,scalar,41001,25.0,C,100.0,100,12,188.44026679257794,14821.91575030415,-18.957306299133695,0.0008261512542778008,gates/main/41001/evaluation/scalar/C_ds100_fd100_snr25/raw.npz +gates,main,scalar,41001,0.0,C,100.0,200,12,2332.812427428046,15345.757390122058,-8.18108507677916,0.0019593703772979756,gates/main/41001/evaluation/scalar/C_ds100_fd200_snr0/raw.npz +gates,main,scalar,41001,5.0,C,100.0,200,12,1471.5377425383228,15345.757390122058,-10.182169223862749,0.0019593703772979756,gates/main/41001/evaluation/scalar/C_ds100_fd200_snr5/raw.npz +gates,main,scalar,41001,10.0,C,100.0,200,12,744.79323335091,15345.757390122058,-13.139526056007714,0.0019593703772979756,gates/main/41001/evaluation/scalar/C_ds100_fd200_snr10/raw.npz +gates,main,scalar,41001,15.0,C,100.0,200,12,366.89270267867505,15345.757390122058,-16.214492539772976,0.0019593703772979756,gates/main/41001/evaluation/scalar/C_ds100_fd200_snr15/raw.npz +gates,main,scalar,41001,20.0,C,100.0,200,12,256.99913944429716,15345.757390122058,-17.760566587998426,0.0019593703772979756,gates/main/41001/evaluation/scalar/C_ds100_fd200_snr20/raw.npz +gates,main,scalar,41001,25.0,C,100.0,200,12,231.4788169257749,15345.757390122058,-18.214770738641295,0.0019593703772979756,gates/main/41001/evaluation/scalar/C_ds100_fd200_snr25/raw.npz +gates,main,scalar,41001,0.0,C,100.0,500,12,7289.99527732111,21400.132168913726,-4.67689208625645,0.04389855639818994,gates/main/41001/evaluation/scalar/C_ds100_fd500_snr0/raw.npz +gates,main,scalar,41001,5.0,C,100.0,500,12,5089.162760788486,21400.132168913726,-6.237701149626597,0.04389855639818994,gates/main/41001/evaluation/scalar/C_ds100_fd500_snr5/raw.npz +gates,main,scalar,41001,10.0,C,100.0,500,12,2815.5663972640964,21400.132168913726,-8.808506821753307,0.04389855639818994,gates/main/41001/evaluation/scalar/C_ds100_fd500_snr10/raw.npz +gates,main,scalar,41001,15.0,C,100.0,500,12,1671.8434470230775,21400.132168913726,-11.07220848327309,0.04389855639818994,gates/main/41001/evaluation/scalar/C_ds100_fd500_snr15/raw.npz +gates,main,scalar,41001,20.0,C,100.0,500,12,1409.2314293817801,21400.132168913726,-11.814341351254134,0.04389855639818994,gates/main/41001/evaluation/scalar/C_ds100_fd500_snr20/raw.npz +gates,main,scalar,41001,25.0,C,100.0,500,12,1372.9298941323066,21400.132168913726,-11.927680941545525,0.04389855639818994,gates/main/41001/evaluation/scalar/C_ds100_fd500_snr25/raw.npz +gates,main,scalar,41001,0.0,A,100.0,10,12,655.775638963489,15012.485664548787,-13.596973264284104,0.0003311967844247724,gates/main/41001/evaluation/scalar/A_ds100_fd10_snr0/raw.npz +gates,main,scalar,41001,5.0,A,100.0,10,12,370.9488945526695,15012.485664548787,-16.071385245041558,0.0003311967844247724,gates/main/41001/evaluation/scalar/A_ds100_fd10_snr5/raw.npz +gates,main,scalar,41001,10.0,A,100.0,10,12,255.59394206551016,15012.485664548787,-17.689020494818127,0.0003311967844247724,gates/main/41001/evaluation/scalar/A_ds100_fd10_snr10/raw.npz +gates,main,scalar,41001,15.0,A,100.0,10,12,207.35337779114337,15012.485664548787,-18.597414912780856,0.0003311967844247724,gates/main/41001/evaluation/scalar/A_ds100_fd10_snr15/raw.npz +gates,main,scalar,41001,20.0,A,100.0,10,12,186.4196849724654,15012.485664548787,-19.059608359703365,0.0003311967844247724,gates/main/41001/evaluation/scalar/A_ds100_fd10_snr20/raw.npz +gates,main,scalar,41001,25.0,A,100.0,10,12,179.31514135658492,15012.485664548787,-19.228356427997166,0.0003311967844247724,gates/main/41001/evaluation/scalar/A_ds100_fd10_snr25/raw.npz +gates,main,scalar,41001,0.0,C,300.0,10,12,1987.6631717236128,12982.921761201113,-8.150296489209222,0.04625639653331669,gates/main/41001/evaluation/scalar/C_ds300_fd10_snr0/raw.npz +gates,main,scalar,41001,5.0,C,300.0,10,12,1279.2601497649916,12982.921761201113,-10.06413568530785,0.04625639653331669,gates/main/41001/evaluation/scalar/C_ds300_fd10_snr5/raw.npz +gates,main,scalar,41001,10.0,C,300.0,10,12,961.5130906714317,12982.921761201113,-11.304172385346739,0.04625639653331669,gates/main/41001/evaluation/scalar/C_ds300_fd10_snr10/raw.npz +gates,main,scalar,41001,15.0,C,300.0,10,12,837.5154459475202,12982.921761201113,-11.903796146256006,0.04625639653331669,gates/main/41001/evaluation/scalar/C_ds300_fd10_snr15/raw.npz +gates,main,scalar,41001,20.0,C,300.0,10,12,797.097213914674,12982.921761201113,-12.118611487723001,0.04625639653331669,gates/main/41001/evaluation/scalar/C_ds300_fd10_snr20/raw.npz +gates,main,scalar,41001,25.0,C,300.0,10,12,784.702716905201,12982.921761201113,-12.186672836343984,0.04625639653331669,gates/main/41001/evaluation/scalar/C_ds300_fd10_snr25/raw.npz +gates,main,scalar,41001,0.0,A,300.0,100,12,2937.9943929301007,28359.40062708738,-9.846460852227228,0.012769628872475538,gates/main/41001/evaluation/scalar/A_ds300_fd100_snr0/raw.npz +gates,main,scalar,41001,5.0,A,300.0,100,12,1628.908088510006,28359.40062708738,-12.408004680003037,0.012769628872475538,gates/main/41001/evaluation/scalar/A_ds300_fd100_snr5/raw.npz +gates,main,scalar,41001,10.0,A,300.0,100,12,941.1353210783359,28359.40062708738,-14.790449749207417,0.012769628872475538,gates/main/41001/evaluation/scalar/A_ds300_fd100_snr10/raw.npz +gates,main,scalar,41001,15.0,A,300.0,100,12,663.5484618329704,28359.40062708738,-16.3082440106487,0.012769628872475538,gates/main/41001/evaluation/scalar/A_ds300_fd100_snr15/raw.npz +gates,main,scalar,41001,20.0,A,300.0,100,12,589.2797776848698,28359.40062708738,-16.82375510173995,0.012769628872475538,gates/main/41001/evaluation/scalar/A_ds300_fd100_snr20/raw.npz +gates,main,scalar,41001,25.0,A,300.0,100,12,573.4116895644664,28359.40062708738,-16.942305056170962,0.012769628872475538,gates/main/41001/evaluation/scalar/A_ds300_fd100_snr25/raw.npz +gates,main,resource,41001,0.0,C,100.0,10,12,1306.4688267919125,15979.58833086894,-10.874665351126229,0.0006875906529715881,gates/main/41001/evaluation/resource/C_ds100_fd10_snr0/raw.npz +gates,main,resource,41001,5.0,C,100.0,10,12,845.5120853180395,15979.58833086894,-12.764457671850469,0.0006875906529715881,gates/main/41001/evaluation/resource/C_ds100_fd10_snr5/raw.npz +gates,main,resource,41001,10.0,C,100.0,10,12,582.2380635220187,15979.58833086894,-14.384649929314595,0.0006875906529715881,gates/main/41001/evaluation/resource/C_ds100_fd10_snr10/raw.npz +gates,main,resource,41001,15.0,C,100.0,10,12,421.1162630682607,15979.58833086894,-15.79163573005373,0.0006875906529715881,gates/main/41001/evaluation/resource/C_ds100_fd10_snr15/raw.npz +gates,main,resource,41001,20.0,C,100.0,10,12,318.49921961527184,15979.58833086894,-17.00457214179609,0.0006875906529715881,gates/main/41001/evaluation/resource/C_ds100_fd10_snr20/raw.npz +gates,main,resource,41001,25.0,C,100.0,10,12,255.0117647983909,15979.58833086894,-17.970053699631446,0.0006875906529715881,gates/main/41001/evaluation/resource/C_ds100_fd10_snr25/raw.npz +gates,main,resource,41001,0.0,C,100.0,100,12,1706.5912955315846,14821.91575030415,-9.387748141680856,0.0008261512542778008,gates/main/41001/evaluation/resource/C_ds100_fd100_snr0/raw.npz +gates,main,resource,41001,5.0,C,100.0,100,12,1181.2046293137826,14821.91575030415,-10.985791999914747,0.0008261512542778008,gates/main/41001/evaluation/resource/C_ds100_fd100_snr5/raw.npz +gates,main,resource,41001,10.0,C,100.0,100,12,776.9583217338271,14821.91575030415,-12.80506617723649,0.0008261512542778008,gates/main/41001/evaluation/resource/C_ds100_fd100_snr10/raw.npz +gates,main,resource,41001,15.0,C,100.0,100,12,508.95264984382464,14821.91575030415,-14.642269605060534,0.0008261512542778008,gates/main/41001/evaluation/resource/C_ds100_fd100_snr15/raw.npz +gates,main,resource,41001,20.0,C,100.0,100,12,359.54296016436876,14821.91575030415,-16.151535506460895,0.0008261512542778008,gates/main/41001/evaluation/resource/C_ds100_fd100_snr20/raw.npz +gates,main,resource,41001,25.0,C,100.0,100,12,276.6916134759853,14821.91575030415,-17.289083444786794,0.0008261512542778008,gates/main/41001/evaluation/resource/C_ds100_fd100_snr25/raw.npz +gates,main,resource,41001,0.0,C,100.0,200,12,2698.1333246273743,15345.757390122058,-7.549249219649869,0.0019593703772979756,gates/main/41001/evaluation/resource/C_ds100_fd200_snr0/raw.npz +gates,main,resource,41001,5.0,C,100.0,200,12,1919.20566570055,15345.757390122058,-9.028668108630333,0.0019593703772979756,gates/main/41001/evaluation/resource/C_ds100_fd200_snr5/raw.npz +gates,main,resource,41001,10.0,C,100.0,200,12,1171.6218589694906,15345.757390122058,-11.172008621836124,0.0019593703772979756,gates/main/41001/evaluation/resource/C_ds100_fd200_snr10/raw.npz +gates,main,resource,41001,15.0,C,100.0,200,12,671.1494130973865,15345.757390122058,-13.59169113163842,0.0019593703772979756,gates/main/41001/evaluation/resource/C_ds100_fd200_snr15/raw.npz +gates,main,resource,41001,20.0,C,100.0,200,12,437.23996456287534,15345.757390122058,-15.452684774764371,0.0019593703772979756,gates/main/41001/evaluation/resource/C_ds100_fd200_snr20/raw.npz +gates,main,resource,41001,25.0,C,100.0,200,12,328.6696284287458,15345.757390122058,-16.692287540830968,0.0019593703772979756,gates/main/41001/evaluation/resource/C_ds100_fd200_snr25/raw.npz +gates,main,resource,41001,0.0,C,100.0,500,12,7317.4249672597725,21400.132168913726,-4.66058177713563,0.04389855639818994,gates/main/41001/evaluation/resource/C_ds100_fd500_snr0/raw.npz +gates,main,resource,41001,5.0,C,100.0,500,12,5464.3116164547855,21400.132168913726,-5.928809974526731,0.04389855639818994,gates/main/41001/evaluation/resource/C_ds100_fd500_snr5/raw.npz +gates,main,resource,41001,10.0,C,100.0,500,12,3296.4452973888037,21400.132168913726,-8.123705823219293,0.04389855639818994,gates/main/41001/evaluation/resource/C_ds100_fd500_snr10/raw.npz +gates,main,resource,41001,15.0,C,100.0,500,12,1954.8461859532829,21400.132168913726,-10.39303864307621,0.04389855639818994,gates/main/41001/evaluation/resource/C_ds100_fd500_snr15/raw.npz +gates,main,resource,41001,20.0,C,100.0,500,12,1513.1889291469026,21400.132168913726,-11.50523300364894,0.04389855639818994,gates/main/41001/evaluation/resource/C_ds100_fd500_snr20/raw.npz +gates,main,resource,41001,25.0,C,100.0,500,12,1375.9429343143224,21400.132168913726,-11.918160331968346,0.04389855639818994,gates/main/41001/evaluation/resource/C_ds100_fd500_snr25/raw.npz +gates,main,resource,41001,0.0,A,100.0,10,12,1119.5225770953332,15012.485664548787,-11.274197494051222,0.0003311967844247724,gates/main/41001/evaluation/resource/A_ds100_fd10_snr0/raw.npz +gates,main,resource,41001,5.0,A,100.0,10,12,837.3826417171381,15012.485664548787,-12.535286516366869,0.0003311967844247724,gates/main/41001/evaluation/resource/A_ds100_fd10_snr5/raw.npz +gates,main,resource,41001,10.0,A,100.0,10,12,634.3191666042337,15012.485664548787,-13.741447714535838,0.0003311967844247724,gates/main/41001/evaluation/resource/A_ds100_fd10_snr10/raw.npz +gates,main,resource,41001,15.0,A,100.0,10,12,486.7296346583333,15012.485664548787,-14.891648165233812,0.0003311967844247724,gates/main/41001/evaluation/resource/A_ds100_fd10_snr15/raw.npz +gates,main,resource,41001,20.0,A,100.0,10,12,381.4323587369524,15012.485664548787,-15.950350721451873,0.0003311967844247724,gates/main/41001/evaluation/resource/A_ds100_fd10_snr20/raw.npz +gates,main,resource,41001,25.0,A,100.0,10,12,308.9134193483877,15012.485664548787,-16.86615831028891,0.0003311967844247724,gates/main/41001/evaluation/resource/A_ds100_fd10_snr25/raw.npz +gates,main,resource,41001,0.0,C,300.0,10,12,2306.8604026636053,12982.921761201113,-7.503511254974551,0.04625639653331669,gates/main/41001/evaluation/resource/C_ds300_fd10_snr0/raw.npz +gates,main,resource,41001,5.0,C,300.0,10,12,1641.9139973989522,12982.921761201113,-8.980220346599278,0.04625639653331669,gates/main/41001/evaluation/resource/C_ds300_fd10_snr5/raw.npz +gates,main,resource,41001,10.0,C,300.0,10,12,1258.8375929761453,12982.921761201113,-10.134027360424625,0.04625639653331669,gates/main/41001/evaluation/resource/C_ds300_fd10_snr10/raw.npz +gates,main,resource,41001,15.0,C,300.0,10,12,1042.2938775012603,12982.921761201113,-10.953822532187953,0.04625639653331669,gates/main/41001/evaluation/resource/C_ds300_fd10_snr15/raw.npz +gates,main,resource,41001,20.0,C,300.0,10,12,921.3259081629278,12982.921761201113,-11.48959155999276,0.04625639653331669,gates/main/41001/evaluation/resource/C_ds300_fd10_snr20/raw.npz +gates,main,resource,41001,25.0,C,300.0,10,12,851.5694786524901,12982.921761201113,-11.831523525487274,0.04625639653331669,gates/main/41001/evaluation/resource/C_ds300_fd10_snr25/raw.npz +gates,main,resource,41001,0.0,A,300.0,100,12,3117.4809406935856,28359.40062708738,-9.588932408227404,0.012769628872475538,gates/main/41001/evaluation/resource/A_ds300_fd100_snr0/raw.npz +gates,main,resource,41001,5.0,A,300.0,100,12,1822.9864004691144,28359.40062708738,-11.919136190226338,0.012769628872475538,gates/main/41001/evaluation/resource/A_ds300_fd100_snr5/raw.npz +gates,main,resource,41001,10.0,A,300.0,100,12,1112.9411062467755,28359.40062708738,-14.062248645557908,0.012769628872475538,gates/main/41001/evaluation/resource/A_ds300_fd100_snr10/raw.npz +gates,main,resource,41001,15.0,A,300.0,100,12,786.8101617171715,28359.40062708738,-15.56827087608349,0.012769628872475538,gates/main/41001/evaluation/resource/A_ds300_fd100_snr15/raw.npz +gates,main,resource,41001,20.0,A,300.0,100,12,663.7257417582485,28359.40062708738,-16.30708386312907,0.012769628872475538,gates/main/41001/evaluation/resource/A_ds300_fd100_snr20/raw.npz +gates,main,resource,41001,25.0,A,300.0,100,12,609.5743940578532,28359.40062708738,-16.676703322138025,0.012769628872475538,gates/main/41001/evaluation/resource/A_ds300_fd100_snr25/raw.npz +gates,main,half,41001,0.0,C,100.0,10,12,4303.594788707202,15979.58833086894,-5.697342137987071,0.0006875906529715881,gates/main/41001/evaluation/half/C_ds100_fd10_snr0/raw.npz +gates,main,half,41001,5.0,C,100.0,10,12,4123.955360011044,15979.58833086894,-5.882516311551077,0.0006875906529715881,gates/main/41001/evaluation/half/C_ds100_fd10_snr5/raw.npz +gates,main,half,41001,10.0,C,100.0,10,12,4061.6450669240758,15979.58833086894,-5.948636175084015,0.0006875906529715881,gates/main/41001/evaluation/half/C_ds100_fd10_snr10/raw.npz +gates,main,half,41001,15.0,C,100.0,10,12,4046.6053716251445,15979.58833086894,-5.964747330549943,0.0006875906529715881,gates/main/41001/evaluation/half/C_ds100_fd10_snr15/raw.npz +gates,main,half,41001,20.0,C,100.0,10,12,4046.7719045859694,15979.58833086894,-5.964568605788986,0.0006875906529715881,gates/main/41001/evaluation/half/C_ds100_fd10_snr20/raw.npz +gates,main,half,41001,25.0,C,100.0,10,12,4050.7437301332075,15979.58833086894,-5.960308182878072,0.0006875906529715881,gates/main/41001/evaluation/half/C_ds100_fd10_snr25/raw.npz +gates,main,half,41001,0.0,C,100.0,100,12,4511.386980886144,14821.91575030415,-5.1659425844216775,0.0008261512542778008,gates/main/41001/evaluation/half/C_ds100_fd100_snr0/raw.npz +gates,main,half,41001,5.0,C,100.0,100,12,4254.167824636281,14821.91575030415,-5.420897217627133,0.0008261512542778008,gates/main/41001/evaluation/half/C_ds100_fd100_snr5/raw.npz +gates,main,half,41001,10.0,C,100.0,100,12,4086.1733245268397,14821.91575030415,-5.5958755605575385,0.0008261512542778008,gates/main/41001/evaluation/half/C_ds100_fd100_snr10/raw.npz +gates,main,half,41001,15.0,C,100.0,100,12,3989.155046231442,14821.91575030415,-5.700234240180264,0.0008261512542778008,gates/main/41001/evaluation/half/C_ds100_fd100_snr15/raw.npz +gates,main,half,41001,20.0,C,100.0,100,12,3949.9934131944224,14821.91575030415,-5.743079689315201,0.0008261512542778008,gates/main/41001/evaluation/half/C_ds100_fd100_snr20/raw.npz +gates,main,half,41001,25.0,C,100.0,100,12,3938.8985266248123,14821.91575030415,-5.75529547634374,0.0008261512542778008,gates/main/41001/evaluation/half/C_ds100_fd100_snr25/raw.npz +gates,main,half,41001,0.0,C,100.0,200,12,5778.782211366588,15345.757390122058,-4.241520006655115,0.0019593703772979756,gates/main/41001/evaluation/half/C_ds100_fd200_snr0/raw.npz +gates,main,half,41001,5.0,C,100.0,200,12,5300.263365556847,15345.757390122058,-4.616908780499073,0.0019593703772979756,gates/main/41001/evaluation/half/C_ds100_fd200_snr5/raw.npz +gates,main,half,41001,10.0,C,100.0,200,12,4827.965147329368,15345.757390122058,-5.02224201606873,0.0019593703772979756,gates/main/41001/evaluation/half/C_ds100_fd200_snr10/raw.npz +gates,main,half,41001,15.0,C,100.0,200,12,4496.477156216497,15345.757390122058,-5.33115936531601,0.0019593703772979756,gates/main/41001/evaluation/half/C_ds100_fd200_snr15/raw.npz +gates,main,half,41001,20.0,C,100.0,200,12,4347.499236064259,15345.757390122058,-5.477488135472837,0.0019593703772979756,gates/main/41001/evaluation/half/C_ds100_fd200_snr20/raw.npz +gates,main,half,41001,25.0,C,100.0,200,12,4296.043753557322,15345.757390122058,-5.5291963207180475,0.0019593703772979756,gates/main/41001/evaluation/half/C_ds100_fd200_snr25/raw.npz +gates,main,half,41001,0.0,C,100.0,500,12,11799.999697051242,21400.132168913726,-2.5853445943842983,0.04389855639818994,gates/main/41001/evaluation/half/C_ds100_fd500_snr0/raw.npz +gates,main,half,41001,5.0,C,100.0,500,12,10516.30687360291,21400.132168913726,-3.0855320494161615,0.04389855639818994,gates/main/41001/evaluation/half/C_ds100_fd500_snr5/raw.npz +gates,main,half,41001,10.0,C,100.0,500,12,8943.819638960129,21400.132168913726,-3.78893422945201,0.04389855639818994,gates/main/41001/evaluation/half/C_ds100_fd500_snr10/raw.npz +gates,main,half,41001,15.0,C,100.0,500,12,7782.624663229726,21400.132168913726,-4.392903695913068,0.04389855639818994,gates/main/41001/evaluation/half/C_ds100_fd500_snr15/raw.npz +gates,main,half,41001,20.0,C,100.0,500,12,7255.52297922286,21400.132168913726,-4.697477336789484,0.04389855639818994,gates/main/41001/evaluation/half/C_ds100_fd500_snr20/raw.npz +gates,main,half,41001,25.0,C,100.0,500,12,7069.091355921422,21400.132168913726,-4.810528613833086,0.04389855639818994,gates/main/41001/evaluation/half/C_ds100_fd500_snr25/raw.npz +gates,main,half,41001,0.0,A,100.0,10,12,4187.892796465488,15012.485664548787,-5.544570498159217,0.0003311967844247724,gates/main/41001/evaluation/half/A_ds100_fd10_snr0/raw.npz +gates,main,half,41001,5.0,A,100.0,10,12,4058.4087224738155,15012.485664548787,-5.680968229913065,0.0003311967844247724,gates/main/41001/evaluation/half/A_ds100_fd10_snr5/raw.npz +gates,main,half,41001,10.0,A,100.0,10,12,4021.546394976321,15012.485664548787,-5.720595223528976,0.0003311967844247724,gates/main/41001/evaluation/half/A_ds100_fd10_snr10/raw.npz +gates,main,half,41001,15.0,A,100.0,10,12,4018.927568621119,15012.485664548787,-5.723424265400125,0.0003311967844247724,gates/main/41001/evaluation/half/A_ds100_fd10_snr15/raw.npz +gates,main,half,41001,20.0,A,100.0,10,12,4025.3870200994083,15012.485664548787,-5.716449638276483,0.0003311967844247724,gates/main/41001/evaluation/half/A_ds100_fd10_snr20/raw.npz +gates,main,half,41001,25.0,A,100.0,10,12,4032.6955448013537,15012.485664548787,-5.708571702567374,0.0003311967844247724,gates/main/41001/evaluation/half/A_ds100_fd10_snr25/raw.npz +gates,main,half,41001,0.0,C,300.0,10,12,4898.941610799135,12982.921761201113,-4.232701766749651,0.04625639653331669,gates/main/41001/evaluation/half/C_ds300_fd10_snr0/raw.npz +gates,main,half,41001,5.0,C,300.0,10,12,4390.713709757165,12982.921761201113,-4.708373194465322,0.04625639653331669,gates/main/41001/evaluation/half/C_ds300_fd10_snr5/raw.npz +gates,main,half,41001,10.0,C,300.0,10,12,4121.102456750808,12982.921761201113,-4.983590280529839,0.04625639653331669,gates/main/41001/evaluation/half/C_ds300_fd10_snr10/raw.npz +gates,main,half,41001,15.0,C,300.0,10,12,3999.733644076348,12982.921761201113,-5.113413687819548,0.04625639653331669,gates/main/41001/evaluation/half/C_ds300_fd10_snr15/raw.npz +gates,main,half,41001,20.0,C,300.0,10,12,3956.5878853437043,12982.921761201113,-5.160516230232411,0.04625639653331669,gates/main/41001/evaluation/half/C_ds300_fd10_snr20/raw.npz +gates,main,half,41001,25.0,C,300.0,10,12,3945.0822292585262,12982.921761201113,-5.173163800701701,0.04625639653331669,gates/main/41001/evaluation/half/C_ds300_fd10_snr25/raw.npz +gates,main,half,41001,0.0,A,300.0,100,12,10182.441019139033,28359.40062708738,-4.4484514468624905,0.012769628872475538,gates/main/41001/evaluation/half/A_ds300_fd100_snr0/raw.npz +gates,main,half,41001,5.0,A,300.0,100,12,9076.645364223745,28359.40062708738,-4.947716804868098,0.012769628872475538,gates/main/41001/evaluation/half/A_ds300_fd100_snr5/raw.npz +gates,main,half,41001,10.0,A,300.0,100,12,8401.523864476592,28359.40062708738,-5.283389825034265,0.012769628872475538,gates/main/41001/evaluation/half/A_ds300_fd100_snr10/raw.npz +gates,main,half,41001,15.0,A,300.0,100,12,8055.268652376761,28359.40062708738,-5.466170186284012,0.012769628872475538,gates/main/41001/evaluation/half/A_ds300_fd100_snr15/raw.npz +gates,main,half,41001,20.0,A,300.0,100,12,7917.566823074103,28359.40062708738,-5.541053104008142,0.012769628872475538,gates/main/41001/evaluation/half/A_ds300_fd100_snr20/raw.npz +gates,main,half,41001,25.0,A,300.0,100,12,7872.6846306106945,28359.40062708738,-5.565741933155293,0.012769628872475538,gates/main/41001/evaluation/half/A_ds300_fd100_snr25/raw.npz +adaptation,target,A-res_128_labels,41001,0.0,C,100.0,100,4,253.3755650036619,5301.349628730898,-13.206217171409785,0.0011522502358026932,adaptation/E01_main_compact_A-res_base_s41001/128/snr0.npz +adaptation,target,A-res_128_labels,41001,5.0,C,100.0,100,4,123.2027840366021,5301.349628730898,-16.337659255051406,0.0011522502358026932,adaptation/E01_main_compact_A-res_base_s41001/128/snr5.npz +adaptation,target,A-res_128_labels,41001,10.0,C,100.0,100,4,59.978746620499784,5301.349628730898,-19.46389061238697,0.0011522502358026932,adaptation/E01_main_compact_A-res_base_s41001/128/snr10.npz +adaptation,target,A-res_128_labels,41001,15.0,C,100.0,100,4,34.321650027996114,5301.349628730898,-21.888182887075168,0.0011522502358026932,adaptation/E01_main_compact_A-res_base_s41001/128/snr15.npz +adaptation,target,A-res_128_labels,41001,20.0,C,100.0,100,4,25.905077132815205,5301.349628730898,-23.110015575345454,0.0011522502358026932,adaptation/E01_main_compact_A-res_base_s41001/128/snr20.npz +adaptation,target,A-res_128_labels,41001,25.0,C,100.0,100,4,24.02070316665261,5301.349628730898,-23.438007307679545,0.0011522502358026932,adaptation/E01_main_compact_A-res_base_s41001/128/snr25.npz +oracle,main,target_cov_lmmse,0,0.0,C,100.0,100,4,283.48113976006664,5301.349628730898,-12.718622770679989,0.0011522502358026932,oracles/target_cov_lmmse/snr0.npz +oracle,main,target_cov_lmmse,0,5.0,C,100.0,100,4,160.7395350947353,5301.349628730898,-15.182637393906294,0.0011522502358026932,oracles/target_cov_lmmse/snr5.npz +oracle,main,target_cov_lmmse,0,10.0,C,100.0,100,4,93.95306171419234,5301.349628730898,-17.514755099534884,0.0011522502358026932,oracles/target_cov_lmmse/snr10.npz +oracle,main,target_cov_lmmse,0,15.0,C,100.0,100,4,60.27563568123201,5301.349628730898,-19.442446480320957,0.0011522502358026932,oracles/target_cov_lmmse/snr15.npz +oracle,main,target_cov_lmmse,0,20.0,C,100.0,100,4,47.825091886898775,5301.349628730898,-20.447306341638264,0.0011522502358026932,oracles/target_cov_lmmse/snr20.npz +oracle,main,target_cov_lmmse,0,25.0,C,100.0,100,4,43.93550318909622,5301.349628730898,-20.81570842580209,0.0011522502358026932,oracles/target_cov_lmmse/snr25.npz +oracle,main,target_recalibrated_bem,0,0.0,C,100.0,100,4,273.38406446074896,5301.349628730898,-12.876132513063299,0.001202691648806441,oracles/target_recalibrated_bem/snr0.npz +oracle,main,target_recalibrated_bem,0,5.0,C,100.0,100,4,141.49955651771614,5301.349628730898,-15.736313685649964,0.001202691648806441,oracles/target_recalibrated_bem/snr5.npz +oracle,main,target_recalibrated_bem,0,10.0,C,100.0,100,4,63.692349461115874,5301.349628730898,-19.202991779948107,0.001202691648806441,oracles/target_recalibrated_bem/snr10.npz +oracle,main,target_recalibrated_bem,0,15.0,C,100.0,100,4,25.31228684935454,5301.349628730898,-23.210550638279074,0.001202691648806441,oracles/target_recalibrated_bem/snr15.npz +oracle,main,target_recalibrated_bem,0,20.0,C,100.0,100,4,11.927795396194526,5301.349628730898,-26.47826266453873,0.001202691648806441,oracles/target_recalibrated_bem/snr20.npz +oracle,main,target_recalibrated_bem,0,25.0,C,100.0,100,4,8.068651353115342,5301.349628730898,-28.17585497296276,0.001202691648806441,oracles/target_recalibrated_bem/snr25.npz diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/waveform_ici_samples.csv b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/waveform_ici_samples.csv new file mode 100644 index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/reports/waveform_ici_samples.csv @@ -0,0 +1 @@ + diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E01_main_compact_A-raw_base_s41001/best.pt b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E01_main_compact_A-raw_base_s41001/best.pt new file mode 100644 index 0000000000000000000000000000000000000000..690d790e301c5389739c000e2c2a5b1c76ad1566 --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E01_main_compact_A-raw_base_s41001/best.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:060416930d9652b418db6ece033f23ceaf41ad77e28fd01afda42e8aa8c2533e +size 2541330 diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E01_main_compact_A-raw_base_s41001/complete.json b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E01_main_compact_A-raw_base_s41001/complete.json new file mode 100644 index 0000000000000000000000000000000000000000..8fb07f601e7c8d7c92bf49ab08426ef9c1b1d146 --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E01_main_compact_A-raw_base_s41001/complete.json @@ -0,0 +1,21 @@ +{ + "job": { + "experiment": "E01", + "arch": "compact", + "arm": "A-raw", + "seed": 41001, + "recipe": "main", + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "id": "E01_main_compact_A-raw_base_s41001" + }, + "best_linear_nmse": 0.012374838047561905, + "epochs_completed": 1, + "seconds_this_invocation": 1.1930785080000135, + "parameters": 34858, + "checkpoint_sha256": "060416930d9652b418db6ece033f23ceaf41ad77e28fd01afda42e8aa8c2533e", + "initialization_sha256": "cdcd5cd0e20e13014ab240d83305ed05d810d9ade67bf16025a6fe3c3e8e505e", + "smoke_only": true +} diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E01_main_compact_A-raw_base_s41001/history.json b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E01_main_compact_A-raw_base_s41001/history.json new file mode 100644 index 0000000000000000000000000000000000000000..fe7c03fb29b55c7b959b23f27d1f94b5f2863b6d --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E01_main_compact_A-raw_base_s41001/history.json @@ -0,0 +1,8 @@ +[ + { + "epoch": 0, + "train_complex_mse": 0.32005828619003296, + "val_pooled_linear_nmse": 0.012374838047561905, + "lr": 0.001 + } +] diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E01_main_compact_A-raw_base_s41001/initial.pt b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E01_main_compact_A-raw_base_s41001/initial.pt new file mode 100644 index 0000000000000000000000000000000000000000..1b65fa8a0a72f1d0f71d61094be5d7bd2d7257ae --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E01_main_compact_A-raw_base_s41001/initial.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cdcd5cd0e20e13014ab240d83305ed05d810d9ade67bf16025a6fe3c3e8e505e +size 146997 diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E01_main_compact_A-raw_base_s41001/last.pt b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E01_main_compact_A-raw_base_s41001/last.pt new file mode 100644 index 0000000000000000000000000000000000000000..961a4a64707acfeb0d58a48bb03cc924ed2e9f37 --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E01_main_compact_A-raw_base_s41001/last.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:38cfc5b13708998f7da5995fe87fd2ee96d2b86659659ffc3c2291eb19a9fe57 +size 2848490 diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E01_main_compact_A-raw_base_s41001/spec.json b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E01_main_compact_A-raw_base_s41001/spec.json new file mode 100644 index 0000000000000000000000000000000000000000..4405edd70b576e59655b92b5e629df01e33a00f4 --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E01_main_compact_A-raw_base_s41001/spec.json @@ -0,0 +1,17 @@ +{ + "job": { + "experiment": "E01", + "arch": "compact", + "arm": "A-raw", + "seed": 41001, + "recipe": "main", + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "id": "E01_main_compact_A-raw_base_s41001" + }, + "lr": 0.001, + "epochs": 1, + "limit": 12 +} diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E01_main_compact_A-res_base_s41001/best.pt b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E01_main_compact_A-res_base_s41001/best.pt new file mode 100644 index 0000000000000000000000000000000000000000..51d87c522ca42485f34a4b79110f817f1c09a723 --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E01_main_compact_A-res_base_s41001/best.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:31824af6fd829212de72e9f3e5402a4a4b65646f4ee0913b440593ea2cb9245f +size 2541330 diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E01_main_compact_A-res_base_s41001/complete.json b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E01_main_compact_A-res_base_s41001/complete.json new file mode 100644 index 0000000000000000000000000000000000000000..98e8498dae186ec672571254ddc42e37c2883513 --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E01_main_compact_A-res_base_s41001/complete.json @@ -0,0 +1,21 @@ +{ + "job": { + "experiment": "E01", + "arch": "compact", + "arm": "A-res", + "seed": 41001, + "recipe": "main", + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "id": "E01_main_compact_A-res_base_s41001" + }, + "best_linear_nmse": 0.012350659973219899, + "epochs_completed": 1, + "seconds_this_invocation": 1.099073513999997, + "parameters": 34858, + "checkpoint_sha256": "31824af6fd829212de72e9f3e5402a4a4b65646f4ee0913b440593ea2cb9245f", + "initialization_sha256": "cdcd5cd0e20e13014ab240d83305ed05d810d9ade67bf16025a6fe3c3e8e505e", + "smoke_only": true +} diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E01_main_compact_A-res_base_s41001/history.json b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E01_main_compact_A-res_base_s41001/history.json new file mode 100644 index 0000000000000000000000000000000000000000..4816388449332c4d143a8ddac8d93c549711e4b1 --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E01_main_compact_A-res_base_s41001/history.json @@ -0,0 +1,8 @@ +[ + { + "epoch": 0, + "train_complex_mse": 0.31805986166000366, + "val_pooled_linear_nmse": 0.012350659973219899, + "lr": 0.001 + } +] diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E01_main_compact_A-res_base_s41001/initial.pt b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E01_main_compact_A-res_base_s41001/initial.pt new file mode 100644 index 0000000000000000000000000000000000000000..1b65fa8a0a72f1d0f71d61094be5d7bd2d7257ae --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E01_main_compact_A-res_base_s41001/initial.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cdcd5cd0e20e13014ab240d83305ed05d810d9ade67bf16025a6fe3c3e8e505e +size 146997 diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E01_main_compact_A-res_base_s41001/last.pt b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E01_main_compact_A-res_base_s41001/last.pt new file mode 100644 index 0000000000000000000000000000000000000000..c960afdf44b9ca35ede80c1934eee24fd99f6485 --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E01_main_compact_A-res_base_s41001/last.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:987666ec8aede4d041a5292c6e4f28f96eface72af3bc7f561662688a36d7307 +size 2848490 diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E01_main_compact_A-res_base_s41001/spec.json b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E01_main_compact_A-res_base_s41001/spec.json new file mode 100644 index 0000000000000000000000000000000000000000..b112c0b1998dae2eaca6a8f7e3320b38a71f2d6f --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E01_main_compact_A-res_base_s41001/spec.json @@ -0,0 +1,17 @@ +{ + "job": { + "experiment": "E01", + "arch": "compact", + "arm": "A-res", + "seed": 41001, + "recipe": "main", + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "id": "E01_main_compact_A-res_base_s41001" + }, + "lr": 0.001, + "epochs": 1, + "limit": 12 +} diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E01_main_compact_D_base_s41001/best.pt b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E01_main_compact_D_base_s41001/best.pt new file mode 100644 index 0000000000000000000000000000000000000000..976bccb729c15c1bb7318abcfada63d6f79067e1 --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E01_main_compact_D_base_s41001/best.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c9d91ec4266d90254c52659dd2d182cb2b4afee90c5d72d3929340fc05a594a0 +size 2541330 diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E01_main_compact_D_base_s41001/complete.json b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E01_main_compact_D_base_s41001/complete.json new file mode 100644 index 0000000000000000000000000000000000000000..b8b8cc8a9ab10f0cc8f4cead66eb823fe9581ad5 --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E01_main_compact_D_base_s41001/complete.json @@ -0,0 +1,21 @@ +{ + "job": { + "experiment": "E01", + "arch": "compact", + "arm": "D", + "seed": 41001, + "recipe": "main", + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "id": "E01_main_compact_D_base_s41001" + }, + "best_linear_nmse": 0.9935429582900781, + "epochs_completed": 1, + "seconds_this_invocation": 0.8139825639999856, + "parameters": 34858, + "checkpoint_sha256": "c9d91ec4266d90254c52659dd2d182cb2b4afee90c5d72d3929340fc05a594a0", + "initialization_sha256": "cdcd5cd0e20e13014ab240d83305ed05d810d9ade67bf16025a6fe3c3e8e505e", + "smoke_only": true +} diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E01_main_compact_D_base_s41001/history.json b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E01_main_compact_D_base_s41001/history.json new file mode 100644 index 0000000000000000000000000000000000000000..454cb174fe7c5215b1eab846c552e46f68b686cf --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E01_main_compact_D_base_s41001/history.json @@ -0,0 +1,8 @@ +[ + { + "epoch": 0, + "train_complex_mse": 1.2092393636703491, + "val_pooled_linear_nmse": 0.9935429582900781, + "lr": 0.001 + } +] diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E01_main_compact_D_base_s41001/initial.pt b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E01_main_compact_D_base_s41001/initial.pt new file mode 100644 index 0000000000000000000000000000000000000000..1b65fa8a0a72f1d0f71d61094be5d7bd2d7257ae --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E01_main_compact_D_base_s41001/initial.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cdcd5cd0e20e13014ab240d83305ed05d810d9ade67bf16025a6fe3c3e8e505e +size 146997 diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E01_main_compact_D_base_s41001/last.pt b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E01_main_compact_D_base_s41001/last.pt new file mode 100644 index 0000000000000000000000000000000000000000..598b604a590fadde86cded5f32f369ddff232fac --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E01_main_compact_D_base_s41001/last.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:88497ff6c9c0d14d59ee6fb46d885612bcc14ada4e05dd765f023a5430251e55 +size 2848490 diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E01_main_compact_D_base_s41001/spec.json b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E01_main_compact_D_base_s41001/spec.json new file mode 100644 index 0000000000000000000000000000000000000000..7777e445ebfa3e065e9b2c5e5b361cd6f794a7b8 --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E01_main_compact_D_base_s41001/spec.json @@ -0,0 +1,17 @@ +{ + "job": { + "experiment": "E01", + "arch": "compact", + "arm": "D", + "seed": 41001, + "recipe": "main", + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "id": "E01_main_compact_D_base_s41001" + }, + "lr": 0.001, + "epochs": 1, + "limit": 12 +} diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_channelformer_D_base_s41001/best.pt b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_channelformer_D_base_s41001/best.pt new file mode 100644 index 0000000000000000000000000000000000000000..e70dcf1283ce0cf435d4b9f7906cefe321b0d8c7 --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_channelformer_D_base_s41001/best.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:96c3ce198b37935c64b3bdd3473027eac053d0b730559b46df98c9f1bf600508 +size 3147493 diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_channelformer_D_base_s41001/complete.json b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_channelformer_D_base_s41001/complete.json new file mode 100644 index 0000000000000000000000000000000000000000..64df4e38332d991af7adaaeb3a377e4bce83c570 --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_channelformer_D_base_s41001/complete.json @@ -0,0 +1,21 @@ +{ + "job": { + "experiment": "E02", + "arch": "channelformer", + "arm": "D", + "seed": 41001, + "recipe": "main", + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "id": "E02_main_channelformer_D_base_s41001" + }, + "best_linear_nmse": 1.0523369438303898, + "epochs_completed": 1, + "seconds_this_invocation": 0.12434960199999523, + "parameters": 185181, + "checkpoint_sha256": "96c3ce198b37935c64b3bdd3473027eac053d0b730559b46df98c9f1bf600508", + "initialization_sha256": "5ac039fc7b5005b17fa2cfd1381313939acaa54c4d4ab0e97cfa2f7fe0891f38", + "smoke_only": true +} diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_channelformer_D_base_s41001/history.json b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_channelformer_D_base_s41001/history.json new file mode 100644 index 0000000000000000000000000000000000000000..f74a9796b1a48677facf2c5b30e862771ccd9028 --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_channelformer_D_base_s41001/history.json @@ -0,0 +1,8 @@ +[ + { + "epoch": 0, + "train_complex_mse": 0.9193091988563538, + "val_pooled_linear_nmse": 1.0523369438303898, + "lr": 0.001 + } +] diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_channelformer_D_base_s41001/initial.pt b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_channelformer_D_base_s41001/initial.pt new file mode 100644 index 0000000000000000000000000000000000000000..28f501eaf4fc8b261372ddc21fd0446fb9e28f99 --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_channelformer_D_base_s41001/initial.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5ac039fc7b5005b17fa2cfd1381313939acaa54c4d4ab0e97cfa2f7fe0891f38 +size 751605 diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_channelformer_D_base_s41001/last.pt b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_channelformer_D_base_s41001/last.pt new file mode 100644 index 0000000000000000000000000000000000000000..09ad6bd66f68e2ae19b1efdc4fc305a3f7976136 --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_channelformer_D_base_s41001/last.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4238d14715b994d27982023f19c4bfb747d801e2790456399635d2780d597b3b +size 4672015 diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_channelformer_D_base_s41001/spec.json b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_channelformer_D_base_s41001/spec.json new file mode 100644 index 0000000000000000000000000000000000000000..51576d7e48366500ce2e30413f9e3ad7efff6a1d --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_channelformer_D_base_s41001/spec.json @@ -0,0 +1,17 @@ +{ + "job": { + "experiment": "E02", + "arch": "channelformer", + "arm": "D", + "seed": 41001, + "recipe": "main", + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "id": "E02_main_channelformer_D_base_s41001" + }, + "lr": 0.001, + "epochs": 1, + "limit": 12 +} diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_fortitran_D_base_s41001/best.pt b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_fortitran_D_base_s41001/best.pt new file mode 100644 index 0000000000000000000000000000000000000000..62a085519be689156277f2a6cf652f9b3d0135c1 --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_fortitran_D_base_s41001/best.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f5ef9cb359cebc6b56973d535ebb295d6457d1771873106c1fa2df76f7f6835e +size 3168032 diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_fortitran_D_base_s41001/complete.json b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_fortitran_D_base_s41001/complete.json new file mode 100644 index 0000000000000000000000000000000000000000..1830c3f9c6006caff1180a108b8b7d39649d2c94 --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_fortitran_D_base_s41001/complete.json @@ -0,0 +1,21 @@ +{ + "job": { + "experiment": "E02", + "arch": "fortitran", + "arm": "D", + "seed": 41001, + "recipe": "main", + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "id": "E02_main_fortitran_D_base_s41001" + }, + "best_linear_nmse": 1.0310584520780441, + "epochs_completed": 1, + "seconds_this_invocation": 0.08762514600002191, + "parameters": 188120, + "checkpoint_sha256": "f5ef9cb359cebc6b56973d535ebb295d6457d1771873106c1fa2df76f7f6835e", + "initialization_sha256": "8998b9717d1890e06c3007c7f6cb599564b0d6fcc6dd12bc22fd812905c07311", + "smoke_only": true +} diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_fortitran_D_base_s41001/history.json b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_fortitran_D_base_s41001/history.json new file mode 100644 index 0000000000000000000000000000000000000000..724def11096c8e1cdaa84e18c6469865edd2566d --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_fortitran_D_base_s41001/history.json @@ -0,0 +1,8 @@ +[ + { + "epoch": 0, + "train_complex_mse": 0.8272771239280701, + "val_pooled_linear_nmse": 1.0310584520780441, + "lr": 0.001 + } +] diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_fortitran_D_base_s41001/initial.pt b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_fortitran_D_base_s41001/initial.pt new file mode 100644 index 0000000000000000000000000000000000000000..b42053015075276589429d7d798c0a7ab26952df --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_fortitran_D_base_s41001/initial.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8998b9717d1890e06c3007c7f6cb599564b0d6fcc6dd12bc22fd812905c07311 +size 770613 diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_fortitran_D_base_s41001/last.pt b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_fortitran_D_base_s41001/last.pt new file mode 100644 index 0000000000000000000000000000000000000000..4d4b9f9064269936872df21634e44c37b64250ef --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_fortitran_D_base_s41001/last.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ccaff23c827a1f01a3129878c0323921286e632adc10c4032f71ec07410d9fc3 +size 4735511 diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_fortitran_D_base_s41001/spec.json b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_fortitran_D_base_s41001/spec.json new file mode 100644 index 0000000000000000000000000000000000000000..cc9478697e1396c98acc114187e0847550bb10bd --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_fortitran_D_base_s41001/spec.json @@ -0,0 +1,17 @@ +{ + "job": { + "experiment": "E02", + "arch": "fortitran", + "arm": "D", + "seed": 41001, + "recipe": "main", + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "id": "E02_main_fortitran_D_base_s41001" + }, + "lr": 0.001, + "epochs": 1, + "limit": 12 +} diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_helena_D_base_s41001/best.pt b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_helena_D_base_s41001/best.pt new file mode 100644 index 0000000000000000000000000000000000000000..03c7e1b81362eac8ebd3adc6c576c8b5cd6befd3 --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_helena_D_base_s41001/best.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4cea5e6b4659db3fe8ea1fd40fdd20f3cd517a84f6cf83b1b5892c555be7014a +size 2866895 diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_helena_D_base_s41001/complete.json b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_helena_D_base_s41001/complete.json new file mode 100644 index 0000000000000000000000000000000000000000..b9370e53c97c9e07a0c3ccc98e2fe96a280ab968 --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_helena_D_base_s41001/complete.json @@ -0,0 +1,21 @@ +{ + "job": { + "experiment": "E02", + "arch": "helena", + "arm": "D", + "seed": 41001, + "recipe": "main", + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "id": "E02_main_helena_D_base_s41001" + }, + "best_linear_nmse": 0.99164470196917, + "epochs_completed": 1, + "seconds_this_invocation": 0.08804034299998875, + "parameters": 116290, + "checkpoint_sha256": "4cea5e6b4659db3fe8ea1fd40fdd20f3cd517a84f6cf83b1b5892c555be7014a", + "initialization_sha256": "5c41c566e96b64edbc807b9db8b90cb4b211b6e227eab2db51a6c93109f302d8", + "smoke_only": true +} diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_helena_D_base_s41001/history.json b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_helena_D_base_s41001/history.json new file mode 100644 index 0000000000000000000000000000000000000000..fdb0b50842025b6e3c97c689a689a4ffbe2a789b --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_helena_D_base_s41001/history.json @@ -0,0 +1,8 @@ +[ + { + "epoch": 0, + "train_complex_mse": 0.9067041873931885, + "val_pooled_linear_nmse": 0.99164470196917, + "lr": 0.001 + } +] diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_helena_D_base_s41001/initial.pt b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_helena_D_base_s41001/initial.pt new file mode 100644 index 0000000000000000000000000000000000000000..fa8b4639af901fa0645e7bc92a8339479963db2e --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_helena_D_base_s41001/initial.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5c41c566e96b64edbc807b9db8b90cb4b211b6e227eab2db51a6c93109f302d8 +size 472309 diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_helena_D_base_s41001/last.pt b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_helena_D_base_s41001/last.pt new file mode 100644 index 0000000000000000000000000000000000000000..74f558def6675f29082764e4af1d026dbfdefe52 --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_helena_D_base_s41001/last.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:118a86c179ee9e6841d6a63091fffba86608864c7e0eac40acc0ecca72bfe3c8 +size 3829315 diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_helena_D_base_s41001/spec.json b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_helena_D_base_s41001/spec.json new file mode 100644 index 0000000000000000000000000000000000000000..8099912d6d95aa4e82d59a187c6b706427f2448a --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_helena_D_base_s41001/spec.json @@ -0,0 +1,17 @@ +{ + "job": { + "experiment": "E02", + "arch": "helena", + "arm": "D", + "seed": 41001, + "recipe": "main", + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "id": "E02_main_helena_D_base_s41001" + }, + "lr": 0.001, + "epochs": 1, + "limit": 12 +} diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_reesnet_D_base_s41001/best.pt b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_reesnet_D_base_s41001/best.pt new file mode 100644 index 0000000000000000000000000000000000000000..011d024420c543c8f7822efccc5c90c21ef636d5 --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_reesnet_D_base_s41001/best.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:71d8442397a153be12af19273c9c6909f3ce0cf728d38e926efbee07e97f1323 +size 2535049 diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_reesnet_D_base_s41001/complete.json b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_reesnet_D_base_s41001/complete.json new file mode 100644 index 0000000000000000000000000000000000000000..1bb7a8bca03cb7e1b0f5d854fedde84982aeec06 --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_reesnet_D_base_s41001/complete.json @@ -0,0 +1,21 @@ +{ + "job": { + "experiment": "E02", + "arch": "reesnet", + "arm": "D", + "seed": 41001, + "recipe": "main", + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "id": "E02_main_reesnet_D_base_s41001" + }, + "best_linear_nmse": 1.0086332749867362, + "epochs_completed": 1, + "seconds_this_invocation": 0.049535921999989796, + "parameters": 33010, + "checkpoint_sha256": "71d8442397a153be12af19273c9c6909f3ce0cf728d38e926efbee07e97f1323", + "initialization_sha256": "2ade6b45ab7095a6b53506de45ae3b3bd29be99e0b5068fccd2145e0d37a65cf", + "smoke_only": true +} diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_reesnet_D_base_s41001/history.json b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_reesnet_D_base_s41001/history.json new file mode 100644 index 0000000000000000000000000000000000000000..fece10c18adf9043a023469a8ace1fa4f7d11488 --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_reesnet_D_base_s41001/history.json @@ -0,0 +1,8 @@ +[ + { + "epoch": 0, + "train_complex_mse": 0.819101870059967, + "val_pooled_linear_nmse": 1.0086332749867362, + "lr": 0.001 + } +] diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_reesnet_D_base_s41001/initial.pt b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_reesnet_D_base_s41001/initial.pt new file mode 100644 index 0000000000000000000000000000000000000000..58c20ff175d4a57d3fd91a8e24cec40a98f4f9af --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_reesnet_D_base_s41001/initial.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2ade6b45ab7095a6b53506de45ae3b3bd29be99e0b5068fccd2145e0d37a65cf +size 139957 diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_reesnet_D_base_s41001/last.pt b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_reesnet_D_base_s41001/last.pt new file mode 100644 index 0000000000000000000000000000000000000000..1b1ffd77157a7d2bf1df8da9caa52f548b4f5625 --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_reesnet_D_base_s41001/last.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a60b2a0433045f85bc161f910c732a4f5d0f79fc10264aaa427d6a4adf1ca14e +size 2833007 diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_reesnet_D_base_s41001/spec.json b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_reesnet_D_base_s41001/spec.json new file mode 100644 index 0000000000000000000000000000000000000000..42426ec42600fbc6e83d99a9a1bfd17bb248603a --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/runs/E02_main_reesnet_D_base_s41001/spec.json @@ -0,0 +1,17 @@ +{ + "job": { + "experiment": "E02", + "arch": "reesnet", + "arm": "D", + "seed": 41001, + "recipe": "main", + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "id": "E02_main_reesnet_D_base_s41001" + }, + "lr": 0.001, + "epochs": 1, + "limit": 12 +} diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/selected_lr.json b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/selected_lr.json new file mode 100644 index 0000000000000000000000000000000000000000..002cc14f7d9d5b53c40012bde061fd2274ff52c4 --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/selected_lr.json @@ -0,0 +1,9 @@ +{ + "compact": 0.001, + "wide": 0.001, + "cnn16": 0.001, + "reesnet": 0.001, + "channelformer": 0.001, + "fortitran": 0.001, + "helena": 0.001 +} diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/study.json b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/study.json new file mode 100644 index 0000000000000000000000000000000000000000..04f16c3b23561122923a65310e534bc624614973 --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/study.json @@ -0,0 +1,95 @@ +{ + "protocol": "2.1/A01", + "implementation": "3.0.0", + "smoke_only": true, + "source_hashes": { + "__init__.py": "0403ceb3be6d13f6d7c1a22f1a2585d5ff2a51a5f5a5b8763b8da8194c87a1d3", + "auxiliary_reporting.py": "debc71e5e12e1054c5b6efb1df692948d6ced765aec0785d13b49f16c487a679", + "backup.py": "b5f7ac86fecc2fa595c39eea226137cef283346454b65ffec8538e6a6ef2ebd6", + "classical.py": "4d46573b7e8f34080880b4810f0e2832a2638b34a1186bc8350889b1417a6ac3", + "cli.py": "de3cfc5def95b16d9089fe49d97830bccc91bf7cd97ac1185ea3a81145af9e1f", + "complexity.py": "8de6f8a033d6336b3f6326fe4ad4b066a3772aa7bf35184bfc888d6d71715365", + "config.py": "43ca1e02eb3223ee89f8ed8c8beaa5b0c23caaede6e033a1885c38d53e02a20f", + "data.py": "d8764abe9abd20f9032f5d8db853769818d9421e2aec2952604ce9885e5478d2", + "diagnostics.py": "672d0bb016e8886247220b3fef3e33797355762e1348f97f26c9fb1001637160", + "evaluation.py": "23a60cd245ee7ad38408f71af1b79d37c1e8aa1914842ea668f8e051137170dd", + "experiments.py": "f24dffcdbb5d0c6f2a4028e8986f73bbea6c6a11734382ad4a83108be325c7b7", + "fidelity.py": "dded5443b3bc4daf226029a6a7e0b78f552baee61742880ba8cf2e21c76e016d", + "interventions.py": "15e350d903afa56f5dd3757b87fa8060a6554d92c02db3e7995d9d60ea55a9a0", + "io.py": "565712d802992766660bc1cddb36329b7cd16d4246c926165626be0abc1b439b", + "metrics.py": "d395ed82b0963e6a1d329b70e5a6c3037dc35ad1f561740f288751224f74cf2d", + "reporting.py": "0548cdf5e07c1c328002a8c1ca93a99951328470941bf422950f5074af6093ed", + "training.py": "b820d6753e2acb3ef064a43952db6d0606f9baa384066c9b4be3d8bebe620ec2", + "validation.py": "9a45069a380e9b18253d3721b6998941496771b1cb62c8559861b25ecc5d45b5", + "physics.py": "be98bf7dc78fd6819199e0f6514a395bd9435f6a231df54a2b6f34d3731fb336", + "receiver.py": "fc2e96d134c3cd72215027ee513cc62944870275b9278beb3da0adb8bb7a85c9", + "devices.py": "c53262df39385047d65f8fb8b3462e31f4dea6ad5213f78ba96f3399108e760f", + "models/__init__.py": "2734808475138dd8664c29b17f3495e020810e1c4f8b61f4906e823786e5eab0", + "models/base.py": "711a4ba831f92c48174f4eb6e16959f7cb487c5bd9d9cd7b3662c1dd3c0d4e9c", + "models/channelformer.py": "8fc70ea79fed4bdf5729bff648c68b010c3633244f7da16546c8bfdbeff81e77", + "models/compact.py": "5a0fb926b423af7192edb786f7c1b41c97372925e89525e91bef86ed258e9802", + "models/deterministic.py": "4ee252c2de338142e64f3619f5a3bde8e85502190ec26fcc9c69c72f654f19de", + "models/fortitran.py": "e0faa9ae0996ad288d515e40a77c92a66c3ec34649483527e0e83f0e7f65f892", + "models/helena.py": "a041355b38cd54e20010539b931245a79c0ce48e2e9603e95e9e78ed63326da8", + "models/hybrid_cnn_lstm.py": "475d44d58b4e3db6a0807c1746e75d3e8bb4bd9df4a85d10deb562ccb1c8e4dc", + "models/reesnet.py": "61f9c0aece4029fc0f82ba9f1f2f89d03e5f1d2c65fb383110c074b58f854712" + }, + "protocol_hashes": { + "PACE_Phase1_References.bib": "87cd065dffa6cc846bc60fa8e8632c1f9b07749570dca6115281121b95e8c252", + "PACE_Phase2_1_Backbone_Assessment.md": "bdf5de52f1a42664be34794f162aeb9028eb94eb15f0a1171b81a8c6132e50f7", + "PACE_Phase2_1_Backbone_Lock.json": "1f8763771ff4aa5b1c6d8f15f8841b758c2bafd675dd7c707471b21b2cc0109c", + "PACE_Phase2_Experimental_Protocol.md": "b754df9fad1d2967aea20741926caaba0a99df248a9e0414d8ab345a06de6e72", + "PACE_Phase2_Protocol_Config.json": "f238850ca3d81b076f182f7737542df9147005abf6ec2e410f65f0b2091d912e", + "PACE_Phase2_Source_Lock.json": "47d108147d890c358de178ec5c312a7a9a5b084e55caef16aec31abb5238a865" + }, + "vendor_hashes": { + "channelformer/LICENSE": "8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643", + "channelformer/SOURCE.json": "95f3602014c928c890023ee8d5bebabb964f224a74e4835d1ceca1f15825a86c", + "fortitran/LICENSE": "35cec147461b242377d5175ba3c63fedfbdb5f3a0055e3f39476f2ee969c1ea6", + "fortitran/SOURCE.json": "f2bda46b9630d690ae2410542aaaac76df9e9b5fb103a5dc0c4f3e865d1b1e9e", + "fortitran/src/__init__.py": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "fortitran/src/evaluate.py": "d1309a912344896df81d9dd366c3047e0f376eebbb3c23326e83ef1c7711b3f5", + "fortitran/src/train.py": "13e6857fdf684014cdee73d94cbb773441dcbca2f623c22c145b4c6c38c869c6", + "fortitran/src/utils.py": "22157f9ea28d98d07fab9d6aad02a27639b2d32df7a2d863b1672f32792e8e49", + "fortitran/src/config/__init__.py": "0c22ab8b739c3e71b03f9c64adfd5da59144184cbc2209f678ae8ef72b58fb64", + "fortitran/src/config/config_loader.py": "9a29980b4ee2ff7c1f6268b81a1122062ee4ec401cca6053db92b5574732e47b", + "fortitran/src/config/schemas.py": "5fbc328a1ba8a4471f04c2f6b478062df2396f6ef92bb9ac4aae1a8276b2f950", + "fortitran/src/data/__init__.py": "d9c175ca8b71c43a64de63106145fe5c06eaf1bb69afd039d7977e21034cdac1", + "fortitran/src/data/dataset.py": "e274b798217a4e492e62caf64165aab7550d0088f0565e6fd33944b4935ef292", + "fortitran/src/main/__init__.py": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "fortitran/src/main/parser.py": "3fb75a875ec1634fede9e91875653f28c562d775b8c6ac81ccd94e794fc1d768", + "fortitran/src/main/trainer.py": "a673cf0cf9a5a31ab6ce0c6c279ae7e8f4717bc451580b125b2d705dc3d9a84f", + "fortitran/src/models/__init__.py": "3ca822c63cf1301315d9cbce3f623926ee45823bf9a9f97ea9e6c813bcab71cd", + "fortitran/src/models/adafortitran.py": "e0b39460eef6a89b3698d195934e89f3b496c9713302a811fa8bb8a2cfe11a25", + "fortitran/src/models/fortitran.py": "4ba036715ec780712512dce0b3967e0e5a414bf1130286d4bcb3715cdb2eb5b4", + "fortitran/src/models/linear.py": "4edeada31590a0a9c816a1a2931281bc8808626278628329281cc1761670f880", + "fortitran/src/models/blocks/__init__.py": "c8dac935e2b368235d4d63fc3dbc0c4515f1b8cf1d9dedd313eddf9a775ebb22", + "fortitran/src/models/blocks/channel_adaptivity.py": "a9fd1e396b2218e3bd0ea8a6b42cb5d630b197eb2d5790a767c9629172e4559e", + "fortitran/src/models/blocks/encoders.py": "1712359450cedab9bfcb7cffaf5adb6e453839943c1a364727374fa363db878e", + "fortitran/src/models/blocks/enhancers.py": "821da89b8bd12ef392750b3b2c0f01622b73d8b28eabe7b203bf8c39a34d377a", + "fortitran/src/models/blocks/patch_processors.py": "8ca0cb8f2a0898f1cab8cb0e2b57ef90dc8b1d5e4ba1746d068a1f1d3307d6bb", + "fortitran/src/models/blocks/positional_encodings.py": "c77cda49254614239ec275d08d90a109678bc45b29fbf46514d10603256c0852", + "helena/LICENSE": "6b471b03549f0c3cea1be431f11d7960e0fc22069552d89c72a7ec9cd7d6d875", + "helena/SOURCE.json": "afca50e6594e10f22a842dbe9b8f51b8dc1acd036bf6e3e0b9f2230b5308fd5c", + "helena/dense_stress_fixture.npz": "6f1ce1308168c310a34c3bc1138f3f431067dd74fd4e4644451f513a1b775ca3", + "helena/model.keras": "7f432fd3a8521eaf0f5d5d894e39547f3712de8c0d72404b5b86456d4dda4408", + "helena/native_fixture.npz": "4c62921b12295bcae76b6247c952587bf7f23690222d0c80560c18b2d0550b58", + "sionna/LICENSE": "78d4571703b4ae47d96f32d678896a76749fbf0799db83c177f40be1c721375e" + }, + "environment": { + "python": "3.11.11 (main, Mar 17 2025, 21:02:09) [Clang 20.1.0 ]", + "platform": "Linux-4.19.0-gvisor-x86_64-with-glibc2.41", + "versions": { + "torch": "2.9.1+cu128", + "sionna": "2.0.1", + "numpy": "2.2.6", + "scipy": "1.15.3", + "h5py": "3.15.1", + "matplotlib": "3.10.8", + "marimo": null + }, + "cuda": "12.8", + "gpu": "NVIDIA RTX PRO 6000 Blackwell Server Edition", + "driver": "595.71.05" + } +} diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/test_freeze.json b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/test_freeze.json new file mode 100644 index 0000000000000000000000000000000000000000..a0901118daa9174eed6b84f0eb62d2708165ff40 --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/test_freeze.json @@ -0,0 +1,11 @@ +{ + "source_selection_sha256": "dd9b899a938645cde088f8adc442ed444e0305965ea1087e2e1447a2bf52b31f", + "bank_manifests": { + "banks/main/DIAG/TRAIN/source/manifest.json": "92896a164fc321472e4ccf0ed36f457195140c1cb24952682efa93775357d5b3", + "banks/main/DIAG/TUNE/source/manifest.json": "aff15a6fc3efc1a4faed42a80c23ff09fcc257bee34191c7640ef2700e986222", + "banks/main/DIAG/VAL/source/manifest.json": "1318a44f168e45577379c1aeebbcfc38add8d7de96802b630817360ab05d641b", + "banks/main/DIAG/GATE_FIT/source/manifest.json": "c07f898ca308ace742ff848e51584d6c13b525c78dfbf994adc69ad499590cdd", + "banks/main/DIAG/GATE_VAL/source/manifest.json": "f00cde13a68e1fe7fabfc177bc840e1bd33bfa8c6dc153ac0e42e9a420887dfe" + }, + "smoke_only": true +} diff --git a/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/tuning_jobs.json b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/tuning_jobs.json new file mode 100644 index 0000000000000000000000000000000000000000..4f9bfdbd3553645ad787d1c41edf35bf1ae62da4 --- /dev/null +++ b/pace_revision_2/outputs/pace21_cuda_device_fix_smoke/tuning_jobs.json @@ -0,0 +1,1289 @@ +[ + { + "id": "TUNE_compact_D_0.0003_s31001", + "experiment": "TUNE", + "recipe": "main", + "arch": "compact", + "arm": "D", + "seed": 31001, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.0003 + }, + { + "id": "TUNE_compact_D_0.0003_s31002", + "experiment": "TUNE", + "recipe": "main", + "arch": "compact", + "arm": "D", + "seed": 31002, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.0003 + }, + { + "id": "TUNE_compact_D_0.0003_s31003", + "experiment": "TUNE", + "recipe": "main", + "arch": "compact", + "arm": "D", + "seed": 31003, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.0003 + }, + { + "id": "TUNE_compact_A-raw_0.0003_s31001", + "experiment": "TUNE", + "recipe": "main", + "arch": "compact", + "arm": "A-raw", + "seed": 31001, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.0003 + }, + { + "id": "TUNE_compact_A-raw_0.0003_s31002", + "experiment": "TUNE", + "recipe": "main", + "arch": "compact", + "arm": "A-raw", + "seed": 31002, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.0003 + }, + { + "id": "TUNE_compact_A-raw_0.0003_s31003", + "experiment": "TUNE", + "recipe": "main", + "arch": "compact", + "arm": "A-raw", + "seed": 31003, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.0003 + }, + { + "id": "TUNE_compact_A-res_0.0003_s31001", + "experiment": "TUNE", + "recipe": "main", + "arch": "compact", + "arm": "A-res", + "seed": 31001, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.0003 + }, + { + "id": "TUNE_compact_A-res_0.0003_s31002", + "experiment": "TUNE", + "recipe": "main", + "arch": "compact", + "arm": "A-res", + "seed": 31002, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.0003 + }, + { + "id": "TUNE_compact_A-res_0.0003_s31003", + "experiment": "TUNE", + "recipe": "main", + "arch": "compact", + "arm": "A-res", + "seed": 31003, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.0003 + }, + { + "id": "TUNE_compact_D_0.001_s31001", + "experiment": "TUNE", + "recipe": "main", + "arch": "compact", + "arm": "D", + "seed": 31001, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.001 + }, + { + "id": "TUNE_compact_D_0.001_s31002", + "experiment": "TUNE", + "recipe": "main", + "arch": "compact", + "arm": "D", + "seed": 31002, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.001 + }, + { + "id": "TUNE_compact_D_0.001_s31003", + "experiment": "TUNE", + "recipe": "main", + "arch": "compact", + "arm": "D", + "seed": 31003, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.001 + }, + { + "id": "TUNE_compact_A-raw_0.001_s31001", + "experiment": "TUNE", + "recipe": "main", + "arch": "compact", + "arm": "A-raw", + "seed": 31001, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.001 + }, + { + "id": "TUNE_compact_A-raw_0.001_s31002", + "experiment": "TUNE", + "recipe": "main", + "arch": "compact", + "arm": "A-raw", + "seed": 31002, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.001 + }, + { + "id": "TUNE_compact_A-raw_0.001_s31003", + "experiment": "TUNE", + "recipe": "main", + "arch": "compact", + "arm": "A-raw", + "seed": 31003, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.001 + }, + { + "id": "TUNE_compact_A-res_0.001_s31001", + "experiment": "TUNE", + "recipe": "main", + "arch": "compact", + "arm": "A-res", + "seed": 31001, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.001 + }, + { + "id": "TUNE_compact_A-res_0.001_s31002", + "experiment": "TUNE", + "recipe": "main", + "arch": "compact", + "arm": "A-res", + "seed": 31002, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.001 + }, + { + "id": "TUNE_compact_A-res_0.001_s31003", + "experiment": "TUNE", + "recipe": "main", + "arch": "compact", + "arm": "A-res", + "seed": 31003, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.001 + }, + { + "id": "TUNE_compact_D_0.003_s31001", + "experiment": "TUNE", + "recipe": "main", + "arch": "compact", + "arm": "D", + "seed": 31001, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.003 + }, + { + "id": "TUNE_compact_D_0.003_s31002", + "experiment": "TUNE", + "recipe": "main", + "arch": "compact", + "arm": "D", + "seed": 31002, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.003 + }, + { + "id": "TUNE_compact_D_0.003_s31003", + "experiment": "TUNE", + "recipe": "main", + "arch": "compact", + "arm": "D", + "seed": 31003, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.003 + }, + { + "id": "TUNE_compact_A-raw_0.003_s31001", + "experiment": "TUNE", + "recipe": "main", + "arch": "compact", + "arm": "A-raw", + "seed": 31001, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.003 + }, + { + "id": "TUNE_compact_A-raw_0.003_s31002", + "experiment": "TUNE", + "recipe": "main", + "arch": "compact", + "arm": "A-raw", + "seed": 31002, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.003 + }, + { + "id": "TUNE_compact_A-raw_0.003_s31003", + "experiment": "TUNE", + "recipe": "main", + "arch": "compact", + "arm": "A-raw", + "seed": 31003, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.003 + }, + { + "id": "TUNE_compact_A-res_0.003_s31001", + "experiment": "TUNE", + "recipe": "main", + "arch": "compact", + "arm": "A-res", + "seed": 31001, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.003 + }, + { + "id": "TUNE_compact_A-res_0.003_s31002", + "experiment": "TUNE", + "recipe": "main", + "arch": "compact", + "arm": "A-res", + "seed": 31002, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.003 + }, + { + "id": "TUNE_compact_A-res_0.003_s31003", + "experiment": "TUNE", + "recipe": "main", + "arch": "compact", + "arm": "A-res", + "seed": 31003, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.003 + }, + { + "id": "TUNE_cnn16_D_0.0003_s31001", + "experiment": "TUNE", + "recipe": "main", + "arch": "cnn16", + "arm": "D", + "seed": 31001, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.0003 + }, + { + "id": "TUNE_cnn16_D_0.0003_s31002", + "experiment": "TUNE", + "recipe": "main", + "arch": "cnn16", + "arm": "D", + "seed": 31002, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.0003 + }, + { + "id": "TUNE_cnn16_D_0.0003_s31003", + "experiment": "TUNE", + "recipe": "main", + "arch": "cnn16", + "arm": "D", + "seed": 31003, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.0003 + }, + { + "id": "TUNE_cnn16_A-res_0.0003_s31001", + "experiment": "TUNE", + "recipe": "main", + "arch": "cnn16", + "arm": "A-res", + "seed": 31001, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.0003 + }, + { + "id": "TUNE_cnn16_A-res_0.0003_s31002", + "experiment": "TUNE", + "recipe": "main", + "arch": "cnn16", + "arm": "A-res", + "seed": 31002, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.0003 + }, + { + "id": "TUNE_cnn16_A-res_0.0003_s31003", + "experiment": "TUNE", + "recipe": "main", + "arch": "cnn16", + "arm": "A-res", + "seed": 31003, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.0003 + }, + { + "id": "TUNE_cnn16_D_0.001_s31001", + "experiment": "TUNE", + "recipe": "main", + "arch": "cnn16", + "arm": "D", + "seed": 31001, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.001 + }, + { + "id": "TUNE_cnn16_D_0.001_s31002", + "experiment": "TUNE", + "recipe": "main", + "arch": "cnn16", + "arm": "D", + "seed": 31002, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.001 + }, + { + "id": "TUNE_cnn16_D_0.001_s31003", + "experiment": "TUNE", + "recipe": "main", + "arch": "cnn16", + "arm": "D", + "seed": 31003, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.001 + }, + { + "id": "TUNE_cnn16_A-res_0.001_s31001", + "experiment": "TUNE", + "recipe": "main", + "arch": "cnn16", + "arm": "A-res", + "seed": 31001, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.001 + }, + { + "id": "TUNE_cnn16_A-res_0.001_s31002", + "experiment": "TUNE", + "recipe": "main", + "arch": "cnn16", + "arm": "A-res", + "seed": 31002, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.001 + }, + { + "id": "TUNE_cnn16_A-res_0.001_s31003", + "experiment": "TUNE", + "recipe": "main", + "arch": "cnn16", + "arm": "A-res", + "seed": 31003, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.001 + }, + { + "id": "TUNE_cnn16_D_0.003_s31001", + "experiment": "TUNE", + "recipe": "main", + "arch": "cnn16", + "arm": "D", + "seed": 31001, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.003 + }, + { + "id": "TUNE_cnn16_D_0.003_s31002", + "experiment": "TUNE", + "recipe": "main", + "arch": "cnn16", + "arm": "D", + "seed": 31002, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.003 + }, + { + "id": "TUNE_cnn16_D_0.003_s31003", + "experiment": "TUNE", + "recipe": "main", + "arch": "cnn16", + "arm": "D", + "seed": 31003, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.003 + }, + { + "id": "TUNE_cnn16_A-res_0.003_s31001", + "experiment": "TUNE", + "recipe": "main", + "arch": "cnn16", + "arm": "A-res", + "seed": 31001, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.003 + }, + { + "id": "TUNE_cnn16_A-res_0.003_s31002", + "experiment": "TUNE", + "recipe": "main", + "arch": "cnn16", + "arm": "A-res", + "seed": 31002, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.003 + }, + { + "id": "TUNE_cnn16_A-res_0.003_s31003", + "experiment": "TUNE", + "recipe": "main", + "arch": "cnn16", + "arm": "A-res", + "seed": 31003, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.003 + }, + { + "id": "TUNE_wide_D_0.0003_s31001", + "experiment": "TUNE", + "recipe": "main", + "arch": "wide", + "arm": "D", + "seed": 31001, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.0003 + }, + { + "id": "TUNE_wide_D_0.0003_s31002", + "experiment": "TUNE", + "recipe": "main", + "arch": "wide", + "arm": "D", + "seed": 31002, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.0003 + }, + { + "id": "TUNE_wide_D_0.0003_s31003", + "experiment": "TUNE", + "recipe": "main", + "arch": "wide", + "arm": "D", + "seed": 31003, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.0003 + }, + { + "id": "TUNE_wide_A-res_0.0003_s31001", + "experiment": "TUNE", + "recipe": "main", + "arch": "wide", + "arm": "A-res", + "seed": 31001, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.0003 + }, + { + "id": "TUNE_wide_A-res_0.0003_s31002", + "experiment": "TUNE", + "recipe": "main", + "arch": "wide", + "arm": "A-res", + "seed": 31002, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.0003 + }, + { + "id": "TUNE_wide_A-res_0.0003_s31003", + "experiment": "TUNE", + "recipe": "main", + "arch": "wide", + "arm": "A-res", + "seed": 31003, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.0003 + }, + { + "id": "TUNE_wide_D_0.001_s31001", + "experiment": "TUNE", + "recipe": "main", + "arch": "wide", + "arm": "D", + "seed": 31001, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.001 + }, + { + "id": "TUNE_wide_D_0.001_s31002", + "experiment": "TUNE", + "recipe": "main", + "arch": "wide", + "arm": "D", + "seed": 31002, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.001 + }, + { + "id": "TUNE_wide_D_0.001_s31003", + "experiment": "TUNE", + "recipe": "main", + "arch": "wide", + "arm": "D", + "seed": 31003, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.001 + }, + { + "id": "TUNE_wide_A-res_0.001_s31001", + "experiment": "TUNE", + "recipe": "main", + "arch": "wide", + "arm": "A-res", + "seed": 31001, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.001 + }, + { + "id": "TUNE_wide_A-res_0.001_s31002", + "experiment": "TUNE", + "recipe": "main", + "arch": "wide", + "arm": "A-res", + "seed": 31002, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.001 + }, + { + "id": "TUNE_wide_A-res_0.001_s31003", + "experiment": "TUNE", + "recipe": "main", + "arch": "wide", + "arm": "A-res", + "seed": 31003, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.001 + }, + { + "id": "TUNE_wide_D_0.003_s31001", + "experiment": "TUNE", + "recipe": "main", + "arch": "wide", + "arm": "D", + "seed": 31001, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.003 + }, + { + "id": "TUNE_wide_D_0.003_s31002", + "experiment": "TUNE", + "recipe": "main", + "arch": "wide", + "arm": "D", + "seed": 31002, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.003 + }, + { + "id": "TUNE_wide_D_0.003_s31003", + "experiment": "TUNE", + "recipe": "main", + "arch": "wide", + "arm": "D", + "seed": 31003, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.003 + }, + { + "id": "TUNE_wide_A-res_0.003_s31001", + "experiment": "TUNE", + "recipe": "main", + "arch": "wide", + "arm": "A-res", + "seed": 31001, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.003 + }, + { + "id": "TUNE_wide_A-res_0.003_s31002", + "experiment": "TUNE", + "recipe": "main", + "arch": "wide", + "arm": "A-res", + "seed": 31002, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.003 + }, + { + "id": "TUNE_wide_A-res_0.003_s31003", + "experiment": "TUNE", + "recipe": "main", + "arch": "wide", + "arm": "A-res", + "seed": 31003, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.003 + }, + { + "id": "TUNE_reesnet_D_0.0003_s31001", + "experiment": "TUNE", + "recipe": "main", + "arch": "reesnet", + "arm": "D", + "seed": 31001, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.0003 + }, + { + "id": "TUNE_reesnet_D_0.0003_s31002", + "experiment": "TUNE", + "recipe": "main", + "arch": "reesnet", + "arm": "D", + "seed": 31002, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.0003 + }, + { + "id": "TUNE_reesnet_D_0.0003_s31003", + "experiment": "TUNE", + "recipe": "main", + "arch": "reesnet", + "arm": "D", + "seed": 31003, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.0003 + }, + { + "id": "TUNE_reesnet_D_0.001_s31001", + "experiment": "TUNE", + "recipe": "main", + "arch": "reesnet", + "arm": "D", + "seed": 31001, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.001 + }, + { + "id": "TUNE_reesnet_D_0.001_s31002", + "experiment": "TUNE", + "recipe": "main", + "arch": "reesnet", + "arm": "D", + "seed": 31002, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.001 + }, + { + "id": "TUNE_reesnet_D_0.001_s31003", + "experiment": "TUNE", + "recipe": "main", + "arch": "reesnet", + "arm": "D", + "seed": 31003, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.001 + }, + { + "id": "TUNE_reesnet_D_0.003_s31001", + "experiment": "TUNE", + "recipe": "main", + "arch": "reesnet", + "arm": "D", + "seed": 31001, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.003 + }, + { + "id": "TUNE_reesnet_D_0.003_s31002", + "experiment": "TUNE", + "recipe": "main", + "arch": "reesnet", + "arm": "D", + "seed": 31002, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.003 + }, + { + "id": "TUNE_reesnet_D_0.003_s31003", + "experiment": "TUNE", + "recipe": "main", + "arch": "reesnet", + "arm": "D", + "seed": 31003, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.003 + }, + { + "id": "TUNE_channelformer_D_0.0003_s31001", + "experiment": "TUNE", + "recipe": "main", + "arch": "channelformer", + "arm": "D", + "seed": 31001, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.0003 + }, + { + "id": "TUNE_channelformer_D_0.0003_s31002", + "experiment": "TUNE", + "recipe": "main", + "arch": "channelformer", + "arm": "D", + "seed": 31002, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.0003 + }, + { + "id": "TUNE_channelformer_D_0.0003_s31003", + "experiment": "TUNE", + "recipe": "main", + "arch": "channelformer", + "arm": "D", + "seed": 31003, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.0003 + }, + { + "id": "TUNE_channelformer_D_0.001_s31001", + "experiment": "TUNE", + "recipe": "main", + "arch": "channelformer", + "arm": "D", + "seed": 31001, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.001 + }, + { + "id": "TUNE_channelformer_D_0.001_s31002", + "experiment": "TUNE", + "recipe": "main", + "arch": "channelformer", + "arm": "D", + "seed": 31002, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.001 + }, + { + "id": "TUNE_channelformer_D_0.001_s31003", + "experiment": "TUNE", + "recipe": "main", + "arch": "channelformer", + "arm": "D", + "seed": 31003, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.001 + }, + { + "id": "TUNE_channelformer_D_0.003_s31001", + "experiment": "TUNE", + "recipe": "main", + "arch": "channelformer", + "arm": "D", + "seed": 31001, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.003 + }, + { + "id": "TUNE_channelformer_D_0.003_s31002", + "experiment": "TUNE", + "recipe": "main", + "arch": "channelformer", + "arm": "D", + "seed": 31002, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.003 + }, + { + "id": "TUNE_channelformer_D_0.003_s31003", + "experiment": "TUNE", + "recipe": "main", + "arch": "channelformer", + "arm": "D", + "seed": 31003, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.003 + }, + { + "id": "TUNE_fortitran_D_0.0003_s31001", + "experiment": "TUNE", + "recipe": "main", + "arch": "fortitran", + "arm": "D", + "seed": 31001, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.0003 + }, + { + "id": "TUNE_fortitran_D_0.0003_s31002", + "experiment": "TUNE", + "recipe": "main", + "arch": "fortitran", + "arm": "D", + "seed": 31002, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.0003 + }, + { + "id": "TUNE_fortitran_D_0.0003_s31003", + "experiment": "TUNE", + "recipe": "main", + "arch": "fortitran", + "arm": "D", + "seed": 31003, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.0003 + }, + { + "id": "TUNE_fortitran_D_0.001_s31001", + "experiment": "TUNE", + "recipe": "main", + "arch": "fortitran", + "arm": "D", + "seed": 31001, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.001 + }, + { + "id": "TUNE_fortitran_D_0.001_s31002", + "experiment": "TUNE", + "recipe": "main", + "arch": "fortitran", + "arm": "D", + "seed": 31002, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.001 + }, + { + "id": "TUNE_fortitran_D_0.001_s31003", + "experiment": "TUNE", + "recipe": "main", + "arch": "fortitran", + "arm": "D", + "seed": 31003, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.001 + }, + { + "id": "TUNE_fortitran_D_0.003_s31001", + "experiment": "TUNE", + "recipe": "main", + "arch": "fortitran", + "arm": "D", + "seed": 31001, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.003 + }, + { + "id": "TUNE_fortitran_D_0.003_s31002", + "experiment": "TUNE", + "recipe": "main", + "arch": "fortitran", + "arm": "D", + "seed": 31002, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.003 + }, + { + "id": "TUNE_fortitran_D_0.003_s31003", + "experiment": "TUNE", + "recipe": "main", + "arch": "fortitran", + "arm": "D", + "seed": 31003, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.003 + }, + { + "id": "TUNE_helena_D_0.0003_s31001", + "experiment": "TUNE", + "recipe": "main", + "arch": "helena", + "arm": "D", + "seed": 31001, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.0003 + }, + { + "id": "TUNE_helena_D_0.0003_s31002", + "experiment": "TUNE", + "recipe": "main", + "arch": "helena", + "arm": "D", + "seed": 31002, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.0003 + }, + { + "id": "TUNE_helena_D_0.0003_s31003", + "experiment": "TUNE", + "recipe": "main", + "arch": "helena", + "arm": "D", + "seed": 31003, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.0003 + }, + { + "id": "TUNE_helena_D_0.001_s31001", + "experiment": "TUNE", + "recipe": "main", + "arch": "helena", + "arm": "D", + "seed": 31001, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.001 + }, + { + "id": "TUNE_helena_D_0.001_s31002", + "experiment": "TUNE", + "recipe": "main", + "arch": "helena", + "arm": "D", + "seed": 31002, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.001 + }, + { + "id": "TUNE_helena_D_0.001_s31003", + "experiment": "TUNE", + "recipe": "main", + "arch": "helena", + "arm": "D", + "seed": 31003, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.001 + }, + { + "id": "TUNE_helena_D_0.003_s31001", + "experiment": "TUNE", + "recipe": "main", + "arch": "helena", + "arm": "D", + "seed": 31001, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.003 + }, + { + "id": "TUNE_helena_D_0.003_s31002", + "experiment": "TUNE", + "recipe": "main", + "arch": "helena", + "arm": "D", + "seed": 31002, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.003 + }, + { + "id": "TUNE_helena_D_0.003_s31003", + "experiment": "TUNE", + "recipe": "main", + "arch": "helena", + "arm": "D", + "seed": 31003, + "anchor": "bem", + "info": false, + "scaled": false, + "labels_extra": false, + "lr": 0.003 + } +] diff --git a/pace_revision_2/pace/__init__.py b/pace_revision_2/pace/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..ec70dde6630d3cea07eeab0679d63136174dab05 --- /dev/null +++ b/pace_revision_2/pace/__init__.py @@ -0,0 +1,2 @@ +"""PACE terrestrial revision, protocol 2.1. No experiments run on import.""" +__version__ = '3.0.0' diff --git a/pace_revision_2/pace/__pycache__/__init__.cpython-311.pyc b/pace_revision_2/pace/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..36b885c3b47a8f7b9b0d160ee9a90f16a5c6a20a Binary files /dev/null and b/pace_revision_2/pace/__pycache__/__init__.cpython-311.pyc differ diff --git a/pace_revision_2/pace/__pycache__/auxiliary_reporting.cpython-311.pyc b/pace_revision_2/pace/__pycache__/auxiliary_reporting.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..253b3de3589b815afc1560142900361417f99d44 Binary files /dev/null and b/pace_revision_2/pace/__pycache__/auxiliary_reporting.cpython-311.pyc differ diff --git a/pace_revision_2/pace/__pycache__/classical.cpython-311.pyc b/pace_revision_2/pace/__pycache__/classical.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..fe09544ed45a58262409138fd9c410be4f9d857a Binary files /dev/null and b/pace_revision_2/pace/__pycache__/classical.cpython-311.pyc differ diff --git a/pace_revision_2/pace/__pycache__/cli.cpython-311.pyc b/pace_revision_2/pace/__pycache__/cli.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..57497472068d50012ab458b7edddc53fae96608f Binary files /dev/null and b/pace_revision_2/pace/__pycache__/cli.cpython-311.pyc differ diff --git a/pace_revision_2/pace/__pycache__/complexity.cpython-311.pyc b/pace_revision_2/pace/__pycache__/complexity.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a23aec800cb604f4a0f3d1f36cc0b7c65f88549c Binary files /dev/null and b/pace_revision_2/pace/__pycache__/complexity.cpython-311.pyc differ diff --git a/pace_revision_2/pace/__pycache__/config.cpython-311.pyc b/pace_revision_2/pace/__pycache__/config.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c3a2d048c2911903a3e9e6e12ebb10cfd9fa20b6 Binary files /dev/null and b/pace_revision_2/pace/__pycache__/config.cpython-311.pyc differ diff --git a/pace_revision_2/pace/__pycache__/data.cpython-311.pyc b/pace_revision_2/pace/__pycache__/data.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..ac55affbbade4c9b05e52c0381b5e3c7b955485a Binary files /dev/null and b/pace_revision_2/pace/__pycache__/data.cpython-311.pyc differ diff --git a/pace_revision_2/pace/__pycache__/devices.cpython-311.pyc b/pace_revision_2/pace/__pycache__/devices.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..57d38aa6c4d81fa89a04698a4f9ebff045a864e3 Binary files /dev/null and b/pace_revision_2/pace/__pycache__/devices.cpython-311.pyc differ diff --git a/pace_revision_2/pace/__pycache__/diagnostics.cpython-311.pyc b/pace_revision_2/pace/__pycache__/diagnostics.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5196fa6e5830cd9406bfd388819f9f8f4cf1a969 Binary files /dev/null and b/pace_revision_2/pace/__pycache__/diagnostics.cpython-311.pyc differ diff --git a/pace_revision_2/pace/__pycache__/evaluation.cpython-311.pyc b/pace_revision_2/pace/__pycache__/evaluation.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..2112ca8fe7d30ddb4f0388a2e6a27347d82623de Binary files /dev/null and b/pace_revision_2/pace/__pycache__/evaluation.cpython-311.pyc differ diff --git a/pace_revision_2/pace/__pycache__/experiments.cpython-311.pyc b/pace_revision_2/pace/__pycache__/experiments.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..3984ac4820db98c1e695f8426a0a8ab930ea65f1 Binary files /dev/null and b/pace_revision_2/pace/__pycache__/experiments.cpython-311.pyc differ diff --git a/pace_revision_2/pace/__pycache__/fidelity.cpython-311.pyc b/pace_revision_2/pace/__pycache__/fidelity.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..f42724955c62e994b91598e30cbcf801fc2a3e57 Binary files /dev/null and b/pace_revision_2/pace/__pycache__/fidelity.cpython-311.pyc differ diff --git a/pace_revision_2/pace/__pycache__/interventions.cpython-311.pyc b/pace_revision_2/pace/__pycache__/interventions.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..6a0f99311f1bb9efba093506666e80b486016307 Binary files /dev/null and b/pace_revision_2/pace/__pycache__/interventions.cpython-311.pyc differ diff --git a/pace_revision_2/pace/__pycache__/io.cpython-311.pyc b/pace_revision_2/pace/__pycache__/io.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a1db95fe5170a7e8c862baaf0828646f1d4bb5c1 Binary files /dev/null and b/pace_revision_2/pace/__pycache__/io.cpython-311.pyc differ diff --git a/pace_revision_2/pace/__pycache__/metrics.cpython-311.pyc b/pace_revision_2/pace/__pycache__/metrics.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d11701b43d434ed2e6adfba196fa4c966daa3250 Binary files /dev/null and b/pace_revision_2/pace/__pycache__/metrics.cpython-311.pyc differ diff --git a/pace_revision_2/pace/__pycache__/physics.cpython-311.pyc b/pace_revision_2/pace/__pycache__/physics.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..54791c02247a6705ef7aa16ef5eb491c6d231b05 Binary files /dev/null and b/pace_revision_2/pace/__pycache__/physics.cpython-311.pyc differ diff --git a/pace_revision_2/pace/__pycache__/receiver.cpython-311.pyc b/pace_revision_2/pace/__pycache__/receiver.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..9edef22749e12758baf50188b4b6873754363df6 Binary files /dev/null and b/pace_revision_2/pace/__pycache__/receiver.cpython-311.pyc differ diff --git a/pace_revision_2/pace/__pycache__/reporting.cpython-311.pyc b/pace_revision_2/pace/__pycache__/reporting.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5cedb686c458b29b57dffc4fb7f0431729e69dc6 Binary files /dev/null and b/pace_revision_2/pace/__pycache__/reporting.cpython-311.pyc differ diff --git a/pace_revision_2/pace/__pycache__/training.cpython-311.pyc b/pace_revision_2/pace/__pycache__/training.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..3fd66e06ca9771aea123d719c697f8843e8aa0b8 Binary files /dev/null and b/pace_revision_2/pace/__pycache__/training.cpython-311.pyc differ diff --git a/pace_revision_2/pace/__pycache__/validation.cpython-311.pyc b/pace_revision_2/pace/__pycache__/validation.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..08af21d1831e1dcb9b3e27c7f73a9b1841f1e232 Binary files /dev/null and b/pace_revision_2/pace/__pycache__/validation.cpython-311.pyc differ diff --git a/pace_revision_2/pace/auxiliary_reporting.py b/pace_revision_2/pace/auxiliary_reporting.py new file mode 100644 index 0000000000000000000000000000000000000000..3b873828a7c11aa836378d3544578bb6ce3170e9 --- /dev/null +++ b/pace_revision_2/pace/auxiliary_reporting.py @@ -0,0 +1,45 @@ +"""Supplement tables and figures, using only previously saved raw measurements.""" +from pathlib import Path +import numpy as np +import pandas as pd +import matplotlib.pyplot as plt +from .io import read_json +from .metrics import paired_summary + +def supplemental(root,out,figdir): + from .reporting import raw,savefig + from .experiments import jobs + ledger={j['id']:j for j in jobs()};rows=[] + def append(p,**meta): + d=raw(p);den=d['denominator'].sum();rows.append(dict(meta,n=len(d['id']),error_sum=d['error'].sum(),denominator_sum=den,nmse_db=10*np.log10(d['error'].sum()/den),projection_fraction=d['projection_outside'].sum()/den,raw_file=str(p.relative_to(root)))) + for p in (root/'gates').glob('**/summary.json'): + s=read_json(p);append(p.with_name('raw.npz'),arc='gates',recipe=s['recipe'],method=s['gate'],seed=s['seed'],snr=s['snr_db'],**s['condition']) + for p in (root/'adaptation').glob('*/*/snr*.npz'): + j=ledger[p.parent.parent.name];append(p,arc='adaptation',recipe='target',method=f"{j['arm']}_{p.parent.name}_labels",seed=j['seed'],snr=float(p.stem[3:]),profile='C',ds_ns=100,fd=100) + for p in (root/'oracles').glob('*/snr*.npz'): + append(p,arc='oracle',recipe='main',method=p.parent.name,seed=0,snr=float(p.stem[3:]),profile='C',ds_ns=100,fd=100) + for p in (root/'sensitivity').glob('*/*_snr*.npz'): + cond,snr=p.stem.split('_snr');profile,ds,fd=cond.split('_');append(p,arc='sensitivity',recipe='main',method=p.parent.name,seed=0,snr=float(snr),profile=profile,ds_ns=float(ds[2:]),fd=float(fd[2:])) + frame=pd.DataFrame(rows);frame.to_csv(out/'supplemental_raw_summaries.csv',index=False) + if len(frame): + keys=['arc','recipe','method','snr','profile','ds_ns','fd'];aggregate=[] + for key,v in frame.groupby(keys): + aggregate.append(dict(zip(keys,key),pooled_seed_sample_nmse_db=10*np.log10(v.error_sum.sum()/v.denominator_sum.sum()),**{f'seed_db_{k}':x for k,x in paired_summary(v.nmse_db).items()})) + agg=pd.DataFrame(aggregate);agg.to_csv(out/'supplemental_intervals.csv',index=False) + for (arc,recipe,fd),v in agg[(agg.profile=='C')&(agg.ds_ns==100)&agg.fd.isin([10,100])].groupby(['arc','recipe','fd']): + panels=[('',v)] if arc!='sensitivity' else list(v.groupby(v.method.str.split('_').str[0])) + for label,group in panels: + fig,ax=plt.subplots(figsize=(6,3.7)) + for method,q in group.groupby('method'): + q=q.sort_values('snr');ax.plot(q.snr,q.pooled_seed_sample_nmse_db,'-o',ms=3,label=method) + ax.set(xlabel='Transmitted active-RE $E_s/N_0$ (dB)',ylabel='Pooled seed/sample NMSE (dB)',title=f'{arc}: {recipe}, C/100 ns, {fd:g} Hz') + ax.legend(loc='upper left',bbox_to_anchor=(1.02,1),fontsize=8);savefig(fig,figdir/f'{arc}_{recipe}_{label}_fd{fd:g}') + wave=[] + for p in (root/'wave_diagnostics').glob('*.npz'): + d=raw(p) + for i in range(len(d['id'])):wave.append(dict(fd=float(p.stem[2:]),id=int(d['id'][i]),ici_to_diagonal=d['ici_energy'][i]/d['diagonal_energy'][i],guard_to_diagonal=d['guard_leakage'][i]/d['diagonal_energy'][i],normalized_doppler=float(d['normalized_doppler'][i]))) + pd.DataFrame(wave).to_csv(out/'waveform_ici_samples.csv',index=False) + basis=[] + for p in (root/'sensitivity').glob('*/basis.npz'): + with np.load(p) as d:basis.append(dict(variant=p.parent.name,singular_min=float(d['singular_values'][-1]),singular_max=float(d['singular_values'][0]),effective_rank=int(d['effective_rank']),condition=float(d['condition']) if 'condition' in d else None)) + pd.DataFrame(basis).to_csv(out/'bem_sensitivity_conditioning.csv',index=False) diff --git a/pace_revision_2/pace/backup.py b/pace_revision_2/pace/backup.py new file mode 100644 index 0000000000000000000000000000000000000000..ed63973fd571bdd72d80c24ab0b69edf5c87e587 --- /dev/null +++ b/pace_revision_2/pace/backup.py @@ -0,0 +1,19 @@ +from pathlib import Path +import fsspec +from .io import sha,atomic_json + +def backup(root,destination): + """Explicit user-selected local/remote destination. Credentials resolved by fsspec. + No deletion, no secrets in the receipt. Completion marker written last. + """ + root=Path(root);fs,base=fsspec.core.url_to_fs(destination);entries=[] + for p in sorted(root.rglob('*')): + if not p.is_file() or p.name.endswith('.tmp'):continue + rel=p.relative_to(root).as_posix();target=base.rstrip('/')+'/'+rel;fs.makedirs(target.rsplit('/',1)[0],exist_ok=True) + with p.open('rb') as src,fs.open(target,'wb') as dst: + import shutil + shutil.copyfileobj(src,dst,length=8<<20) + entries.append({'path':rel,'bytes':p.stat().st_size,'sha256':sha(p)}) + import json + with fs.open(base.rstrip('/')+'/BACKUP_COMPLETE.json','w') as f:json.dump({'files':entries},f,indent=2) + print(f'Backed up {len(entries)} files; completion manifest written last.') diff --git a/pace_revision_2/pace/classical.py b/pace_revision_2/pace/classical.py new file mode 100644 index 0000000000000000000000000000000000000000..ae02198f8cf30bf04001023aace27ff48f4fde94 --- /dev/null +++ b/pace_revision_2/pace/classical.py @@ -0,0 +1,65 @@ +import numpy as np +from scipy.signal.windows import dpss +from scipy.linalg import cho_factor,cho_solve +from .config import Bem +from .io import atomic_npz + +def interpolation(g): + eye=np.eye(g.P).reshape(len(g.pilot_symbols),len(g.pf),g.P) + freq=np.stack([np.stack([np.interp(np.arange(g.F),g.pf,eye[s,:,p]) for p in range(g.P)],-1) for s in range(len(g.pilot_symbols))]) + L=np.stack([np.stack([np.interp(g.times,g.times[list(g.pilot_symbols)],freq[:,f,p]) for p in range(g.P)],-1) for f in range(g.F)],1).reshape(g.M,g.P) + assert np.allclose(L[g.pilots],np.eye(g.P));return L + +def basis(g,b): + bf,conc=dpss(g.F,g.F*g.scs*b.tau/2,Kmax=b.kf,sym=True,norm=2,return_ratios=True) + bf=bf.T.astype(complex)*np.exp(-2j*np.pi*g.active*g.scs*b.tau/2)[:,None] + eig,bt=np.linalg.eigh(np.sinc(2*b.fd*(g.times[:,None]-g.times[None,:]))) + order=np.argsort(-eig,kind='stable');bt=bt[:,order[:b.kt]].astype(complex) + for mat in (bf,bt): + for j in range(mat.shape[1]): + v=mat[np.argmax(abs(mat[:,j])),j];mat[:,j]*=np.conj(v)/abs(v) + B=np.kron(bt,bf);assert np.allclose(B.conj().T@B,np.eye(b.kf*b.kt),atol=1e-12) + return B,conc,eig[order] + +def fit_covariance(bank,device='cpu'): + import torch + cov=None;n=0 + for h in bank.chunks_h(): + x=torch.as_tensor(h.reshape(len(h),-1),dtype=torch.complex128,device=device) + c=x.T@x.conj();cov=c if cov is None else cov+c;n+=len(h) + if not n:raise ValueError('Empty fitting bank') + return (cov/n).cpu().numpy() + +def solve_gain(cross,auto,n0,gamma=1): + M=auto+gamma*n0*np.eye(len(auto));delta=1e-10*np.trace(M).real/len(M) + K=cho_solve(cho_factor(M+delta*np.eye(len(M)),lower=True),cross.conj().T).conj().T + return K,delta + +def gains(g,cov,bem,kind,n0,spectrum=None): + B,_,_=basis(g,bem);P=g.pilots + if kind=='zero':return np.zeros((g.M,g.P),complex) + if kind=='ls':return interpolation(g).astype(complex) + if kind=='lmmse' or kind.startswith('rank'): + R=.999*cov+.001*np.trace(cov).real/g.M*np.eye(g.M) + if kind.startswith('rank'): + rank=int(kind[4:]);v,U=np.linalg.eigh(R) if spectrum is None else spectrum;R=(U[:,-rank:]*v[-rank:])@U[:,-rank:].conj().T + return solve_gain(R[:,P],R[np.ix_(P,P)],n0)[0] + R0=B.conj().T@cov@B;q=B.shape[1];alpha=1 if bem.isotropic else bem.shrink + Rc=(1-alpha)*R0+alpha*np.trace(R0).real/q*np.eye(q);A=B[P] + return solve_gain(B@Rc@A.conj().T,A@Rc@A.conj().T,n0,bem.gamma)[0] + +def diagnostics(g,cov,b): + B,conc,eigs=basis(g,b);A=B[g.pilots];s=np.linalg.svd(A,compute_uv=False);rank=int(sum(s>1e-10*s[0]));Rc=B.conj().T@cov@B + return {'singular_values':s,'effective_rank':rank,'condition':float(s[0]/s[-1]) if rank==A.shape[1] else None,'frequency_concentration':conc,'time_eigenvalues':eigs,'prior_raw':Rc,'basis':B} + + +def residual_information(g,cov,b,path): + """Finite-noise injectivity of z -> (L-K)z, separately from numerical stability.""" + from .config import SNR + L=interpolation(g);rows=[] + for snr in SNR: + K=gains(g,cov,b,'bem',10**(-snr/10)) + singular=np.linalg.svd(L-K,compute_uv=False) + pilot_singular=np.linalg.svd(np.eye(g.P)-K[g.pilots],compute_uv=False) + rows.append((snr,singular,pilot_singular)) + atomic_npz(path,snr_db=np.array([x[0] for x in rows]),residual_map_singular=np.stack([x[1] for x in rows]),pilot_residual_singular=np.stack([x[2] for x in rows]),relative_rank_tolerance=np.array(1e-10)) diff --git a/pace_revision_2/pace/cli.py b/pace_revision_2/pace/cli.py new file mode 100644 index 0000000000000000000000000000000000000000..5e49b607b209651bf7a613dbdcd4e25148205c8f --- /dev/null +++ b/pace_revision_2/pace/cli.py @@ -0,0 +1,169 @@ +import argparse,sys,os +from pathlib import Path +from .io import atomic_json,read_json,environment,sha +from .config import BANK_SIZES,Condition +from .experiments import jobs,tuning_jobs,recipes + +def select(all_jobs,experiments=None,ids=None,seeds=None): + return [j for j in all_jobs if (not experiments or j['experiment'] in experiments.split(',')) and (not ids or j['id'] in ids.split(',')) and (not seeds or j['seed'] in [int(x) for x in seeds.split(',')])] +def init(root,smoke=False): + root=Path(root);root.mkdir(parents=True,exist_ok=True) + if (root/'study.json').exists(): + if read_json(root/'study.json')['smoke_only']!=smoke:raise RuntimeError('Smoke and confirmatory outputs require different roots') + return + source=Path(__file__).resolve().parent;files={str(p.relative_to(source)):sha(p) for p in source.rglob('*.py')} + vendor_files={str(p.relative_to(source.parent/'vendor')):sha(p) for p in (source.parent/'vendor').rglob('*') if p.is_file() and '__pycache__' not in str(p)} + protocol=source.parent/'protocols';ph={p.name:sha(p) for p in protocol.glob('*') if p.is_file()} + atomic_json(root/'study.json',dict(protocol='2.1/A01',implementation='3.0.0',smoke_only=smoke,source_hashes=files,protocol_hashes=ph,vendor_hashes=vendor_files,environment=environment())) + atomic_json(root/'jobs.json',jobs());atomic_json(root/'tuning_jobs.json',tuning_jobs()) + +def guard(root,arch=None): + root=Path(root);study=read_json(root/'study.json') + if study['smoke_only']:return + source=Path(__file__).resolve().parent + if (root/'test_freeze.json').exists(): + expected=read_json(root/'test_freeze.json')['source_selection_sha256'] + if expected and sha(root/'selected_lr.json')!=expected:raise RuntimeError('Source selection changed after test freeze') + for name,h in study['source_hashes'].items(): + if sha(source/name)!=h:raise RuntimeError('Source changed since study initialization; create a new root or document an amendment') + for name,h in study.get('protocol_hashes',{}).items(): + if sha(source.parent/'protocols'/name)!=h:raise RuntimeError('Protocol changed since initialization') + if not (root/'validation'/'qc.json').exists():raise RuntimeError('Run pace qc before confirmatory work') + q=read_json(root/'validation'/'qc.json') + if not q['passed'] or not q.get('full'):raise RuntimeError('Full acceptance checks have not passed') + for name,h in study.get('vendor_hashes',{}).items(): + if sha(source.parent/'vendor'/name)!=h:raise RuntimeError('Pinned fidelity source/fixture changed') + if arch in ('fortitran','adafortitran','helena','channelformer'): + p=root/'validation'/f'{arch}_fidelity.json' + if not p.exists() or not read_json(p)['passed']:raise RuntimeError(f'Missing baseline fidelity gate: {arch}') + +def prepare(root,names,device,limit=None): + from .data import generate,Bank,bank_path + from .classical import fit_covariance,diagnostics,residual_information + from .io import atomic_npz + import numpy as np + for name in names: + r=recipes()[name] + for bank in ('TRAIN','TUNE','VAL','GATE_FIT','GATE_VAL'): + n=10000 if r.reference and bank=='VAL' else BANK_SIZES[bank] + generate(root,r,bank,limit or n,device=device) + p=Path(root)/'priors'/f'{name}.npz' + if not p.exists(): + cov=fit_covariance(Bank(bank_path(root,r,'TRAIN')),device);d=diagnostics(r.grid,cov,r.bem);atomic_npz(p,cov=cov,**{k:v for k,v in d.items() if v is not None}) + info=Path(root)/'priors'/f'{name}_residual_information.npz' + if not info.exists():residual_information(r.grid,np.load(p)['cov'],r.bem,info) + if name=='target': + generate(root,r,'ADAPT',limit or 1024,device=device);generate(root,r,'ADAPT_VAL',limit or 2048,device=device) + +def test_banks(root,names,device,limit=None): + from .data import generate,audit_source_banks + from .config import conditions + from . import io + root=Path(root) + if not read_json(root/'study.json')['smoke_only']:audit_source_banks(root) + if not (root/'selected_lr.json').exists() and not read_json(root/'study.json')['smoke_only']:raise RuntimeError('Freeze source-only LR selection before creating TEST banks') + if not (root/'test_freeze.json').exists(): + io.atomic_json(root/'test_freeze.json',{'source_selection_sha256':sha(root/'selected_lr.json') if (root/'selected_lr.json').exists() else None,'bank_manifests':{str(p.relative_to(root)):sha(p) for p in (root/'banks').glob('**/manifest.json')},'smoke_only':read_json(root/'study.json')['smoke_only']}) + for name in names: + r=recipes()[name] + for c in conditions(r):generate(root,r,'TEST',limit or (2000 if r.reference else 10000),c,device) + +def tune(root,device,limit=None): + from .training import train + import numpy as np + for j in tuning_jobs():guard(root,j['arch']);train(root,j,device,epochs=1 if limit else None,limit=limit) + selected={};table=[] + for arch in ('compact','cnn16','wide','reesnet','channelformer','fortitran','helena'): + candidates=[] + for lr in (.0003,.001,.003): + scores=[read_json(Path(root)/'runs'/j['id']/'complete.json')['best_linear_nmse'] for j in tuning_jobs() if j['arch']==arch and j['lr']==lr] + mean=float(np.mean(scores));candidates.append((mean,lr));table.append(dict(arch=arch,lr=lr,source_tune_score=mean)) + m=min(x[0] for x in candidates);selected[arch]=min(lr for v,lr in candidates if v<=m*(1+1e-6)) + atomic_json(Path(root)/'selected_lr.json',selected);atomic_json(Path(root)/'lr_selection_scores.json',table) + +def main(): + parser=argparse.ArgumentParser(description='PACE protocol 2.1 implementation. Full jobs are never launched on import.') + parser.add_argument('--root',default=os.environ.get('PACE_OUTPUT_ROOT','outputs/pace21')) + parser.add_argument('--device',default='cuda');parser.add_argument('--smoke',action='store_true',help='Separate development-only root; tiny non-publication runs') + subs=parser.add_subparsers(dest='command',required=True) + subs.add_parser('init');subs.add_parser('plan');subs.add_parser('qc');subs.add_parser('tune') + p=subs.add_parser('fidelity');p.add_argument('--arch',choices=['fortitran','adafortitran','channelformer','helena'],required=True);p.add_argument('--fixture') + for name in ('prepare','test-banks','classical'): + p=subs.add_parser(name);p.add_argument('--recipes',default='main') + if name=='classical':p.add_argument('--noise-offset',type=float,default=0.) + for name in ('train','evaluate','adapt','benchmark'): + p=subs.add_parser(name);p.add_argument('--experiments');p.add_argument('--ids');p.add_argument('--seeds') + if name=='evaluate':p.add_argument('--noise-offset',type=float,default=0.) + p=subs.add_parser('gates');p.add_argument('--recipe',choices=['main','wave'],default='main');p.add_argument('--seeds',default='');p.add_argument('--evaluate',action='store_true') + subs.add_parser('reference-transfer');subs.add_parser('sweep');subs.add_parser('oracle');subs.add_parser('wave-diagnostics');subs.add_parser('statistics');subs.add_parser('report') + p=subs.add_parser('receiver');p.add_argument('--id');p.add_argument('--kind',choices=['ls','bem','lmmse','perfect','full_G']);p.add_argument('--source',default='main');p.add_argument('--gate',choices=['scalar','resource']);p.add_argument('--seed',type=int);p.add_argument('--modes',default='WAVE');p.add_argument('--modulations',default='16qam,qpsk') + p=subs.add_parser('backup');p.add_argument('--destination',required=True) + args=parser.parse_args();root=Path(args.root);limit=12 if args.smoke else None + from .io import deterministic + deterministic(0) + if args.command=='init':init(root,args.smoke);print(f'Initialized {root}');return + if args.command=='plan': + import json + print(json.dumps(jobs(),indent=2));return + if not (root/'study.json').exists():raise RuntimeError('Run init first') + if read_json(root/'study.json')['smoke_only']!=args.smoke:raise RuntimeError('--smoke must match root provenance') + if args.command=='qc': + from .validation import qc + qc(root,args.device,full=not args.smoke);return + if args.command=='fidelity': + from .fidelity import run + run(root,args.arch,args.fixture,args.device);return + if args.command not in ('report','statistics','backup'):guard(root) + if args.command=='prepare':guard(root);prepare(root,args.recipes.split(','),args.device,limit) + elif args.command=='test-banks':guard(root);test_banks(root,args.recipes.split(','),args.device,limit) + elif args.command=='tune':tune(root,args.device,limit) + elif args.command=='train': + from .training import train + for j in select(jobs(),args.experiments,args.ids,args.seeds):guard(root,j['arch']);train(root,j,args.device,epochs=1 if limit else None,limit=limit) + elif args.command=='evaluate': + from .evaluation import evaluate + for j in select(jobs(),args.experiments,args.ids,args.seeds):guard(root,j['arch']);evaluate(root,j,args.device,limit,args.noise_offset) + elif args.command=='classical': + from .evaluation import classical_evaluate + for name in args.recipes.split(','):classical_evaluate(root,recipes()[name],args.device,limit,args.noise_offset) + elif args.command=='gates': + from .interventions import calibrate_gate,evaluate_gates + seeds=[int(s) for s in args.seeds.split(',')] if args.seeds else list(range(41001,41011 if args.recipe=='wave' else 41021)) + for sd in seeds: + calibrate_gate(root,args.recipe,sd,args.device,limit) + if args.evaluate:evaluate_gates(root,args.recipe,sd,args.device,limit) + elif args.command=='adapt': + from .interventions import adapt + selected=select(jobs(),args.experiments or 'E01',args.ids,args.seeds) + for j in selected: + if j['arch']=='compact' and j['arm'] in ('D','A-res') and j['seed']<41011: + for n in (128,1024):adapt(root,j,n,args.device,limit) + elif args.command=='reference-transfer': + from .evaluation import evaluate + for j in jobs(): + if j['experiment']!='R':continue + guard(root,j['arch']);evaluate(root,j,args.device,limit,recipe_override=recipes()['main']) + if j['arch']=='adafortitran':evaluate(root,j,args.device,limit,recipe_override=recipes()['main'],metadata_mode='nominal') + elif args.command=='sweep': + from .interventions import sweep + sweep(root,limit) + elif args.command in ('oracle','wave-diagnostics','statistics'): + from .diagnostics import run + run(root,args.command,args.device,limit) + elif args.command=='receiver': + from .receiver import evaluate_receiver + job=next(j for j in jobs() if j['id']==args.id) if args.id else None + if sum([bool(job),bool(args.kind),bool(args.gate)])!=1:raise ValueError('Choose exactly one of --id, --kind, --gate') + if args.gate and args.seed is None:raise ValueError('--gate requires --seed') + if job:guard(root,job['arch']) + evaluate_receiver(root,job,args.kind,args.source,args.device,12 if limit else 5000,tuple(args.modes.split(',')),tuple(args.modulations.split(',')),args.gate,args.seed) + elif args.command=='report': + from .reporting import report + report(root,100 if limit else 10000) + elif args.command=='benchmark': + from .diagnostics import benchmark + for j in select(jobs(),args.experiments,args.ids,args.seeds):benchmark(root,j,args.device,smoke=bool(limit)) + elif args.command=='backup': + from .backup import backup + backup(root,args.destination) +if __name__=='__main__':main() diff --git a/pace_revision_2/pace/complexity.py b/pace_revision_2/pace/complexity.py new file mode 100644 index 0000000000000000000000000000000000000000..3e748b363f390331bcc92de29f40291ee282c42a --- /dev/null +++ b/pace_revision_2/pace/complexity.py @@ -0,0 +1,34 @@ +"""Arithmetic counts: one real multiply-accumulate is one MAC. +Biases, activations, normalization, FFTs and classical solves are excluded and named. +""" +import numpy as np +import torch +from torch import nn + +def neural_macs(model,batch): + total=[0];hooks=[] + def count(module,args,output): + x=args[0] + if isinstance(module,nn.Conv2d):total[0]+=output.numel()*module.in_channels//module.groups*np.prod(module.kernel_size) + elif isinstance(module,nn.ConvTranspose2d):total[0]+=x.numel()*module.out_channels//module.groups*np.prod(module.kernel_size) + elif isinstance(module,nn.Linear):total[0]+=output.numel()*module.in_features + elif isinstance(module,nn.LSTM): + n,t,_=x.shape if module.batch_first else (x.shape[1],x.shape[0],x.shape[2]);directions=2 if module.bidirectional else 1 + for layer in range(module.num_layers): + dim=module.input_size if layer==0 else module.hidden_size*directions + total[0]+=n*t*directions*4*module.hidden_size*(dim+module.hidden_size) + elif isinstance(module,nn.MultiheadAttention): + n,t,d=x.shape if module.batch_first else (x.shape[1],x.shape[0],x.shape[2]) + total[0]+=n*(4*t*d*d+2*t*t*d) + old=torch.backends.mha.get_fastpath_enabled();torch.backends.mha.set_fastpath_enabled(False) + try: + for m in model.net.modules(): + if isinstance(m,(nn.Conv2d,nn.ConvTranspose2d,nn.Linear,nn.LSTM,nn.MultiheadAttention)):hooks.append(m.register_forward_hook(count)) + with torch.no_grad():model(batch) + finally: + for h in hooks:h.remove() + torch.backends.mha.set_fastpath_enabled(old) + n=len(batch['z']) + if model.arch=='channelformer':total[0]+=n*model.net.attention_macs() + if model.arch=='helena':total[0]+=n*2*4*(model.g.F//12)**2*64 + return dict(real_neural_macs_per_slot=int(total[0]//n),convention='One real multiply-accumulate = one MAC; excludes biases, nonlinearities, normalization and classical preprocessing; transposed convolution counts full kernel support before edge cropping',interpolation_complex_macs_per_slot=model.g.M*model.g.P if model.arch in ('compact','wide','cnn16') else 0,anchor_complex_macs_per_slot=model.g.M*model.g.P if model.arm!='D' and model.anchor not in ('zero','oracle') else 0) diff --git a/pace_revision_2/pace/config.py b/pace_revision_2/pace/config.py new file mode 100644 index 0000000000000000000000000000000000000000..f06cde3096c65f20bcc19e419d04a99fcdb07ee1 --- /dev/null +++ b/pace_revision_2/pace/config.py @@ -0,0 +1,84 @@ +from dataclasses import dataclass, asdict, field +import hashlib, json +import numpy as np + +SNR = (0,5,10,15,20,25) +SEEDS = tuple(range(41001,41021)) +BANK_SIZES = dict(TRAIN=100000,TUNE=6000,VAL=12000,GATE_FIT=6000,GATE_VAL=3000,TEST=10000,QC=2048) + +@dataclass(frozen=True) +class Grid: + F:int=120 + S:int=14 + N:int=256 + scs:float=15000. + comb:int=3 + pilot_symbols:tuple=(2,11) + @property + def fs(self): return self.N*self.scs + @property + def cp(self): return np.array([20]+[18]*6+[20]+[18]*6 if self.scs==15000 else [22]+[18]*13) + @property + def starts(self): return np.cumsum(self.cp+self.N)-self.N + @property + def times(self): return (self.starts+(self.N-1)/2)/self.fs + @property + def active(self): return np.arange(-self.F//2,self.F//2) + @property + def pf(self): return np.arange(1,self.F,self.comb) + @property + def pilots(self): return np.array([s*self.F+k for s in self.pilot_symbols for k in self.pf]) + @property + def mask(self): + m=np.zeros(self.S*self.F,bool);m[self.pilots]=True;return m.reshape(self.S,self.F) + @property + def M(self): return self.S*self.F + @property + def P(self): return len(self.pilots) + +@dataclass(frozen=True) +class Condition: + profile:str='C' + ds_ns:float=100. + fd:float=10. + @property + def key(self): return f'{self.profile}_ds{self.ds_ns:g}_fd{self.fd:g}' + +@dataclass(frozen=True) +class Bem: + kf:int=4 + kt:int=2 + tau:float=1e-6 + fd:float=20. + gamma:float=1. + shrink:float=.01 + isotropic:bool=False + +@dataclass(frozen=True) +class Recipe: + name:str='main' + grid:Grid=field(default_factory=Grid) + source:Condition=field(default_factory=Condition) + mode:str='DIAG' + broad:bool=False + reference:bool=False + bem:Bem=field(default_factory=Bem) + def to_dict(self): return asdict(self) + @classmethod + def from_dict(cls,d): + d=dict(d);d['grid']=Grid(**{**d['grid'],'pilot_symbols':tuple(d['grid']['pilot_symbols'])});d['source']=Condition(**d['source']);d['bem']=Bem(**d['bem']);return cls(**d) + +def digest(x): return hashlib.sha256(json.dumps(x,sort_keys=True,separators=(',',':')).encode()).hexdigest() +_seed_strings={} +def seed(bank,family,sample_id,component): + s=f'PACE2|20260922|{bank}|{family}|{sample_id}|{component}' + value=int.from_bytes(hashlib.sha256(s.encode()).digest()[:8],'little')&((1<<63)-1) + previous=_seed_strings.setdefault(value,s) + if previous!=s:raise RuntimeError('SHA256-derived seed collision detected') + return value + +def conditions(recipe): + if recipe.reference:return [Condition('A',200,500)] + if recipe.name=='reverse':return [Condition(fd=100),Condition(fd=10)] + if recipe.grid.scs==30000:return [Condition(fd=x) for x in (10,100,200)] + return [Condition(fd=x) for x in (10,100,200,500)]+[Condition('A',100,10),Condition('C',300,10),Condition('A',300,100)] diff --git a/pace_revision_2/pace/data.py b/pace_revision_2/pace/data.py new file mode 100644 index 0000000000000000000000000000000000000000..d983d75fa8b3ed7a04da106f9d7e18c2fc1433a3 --- /dev/null +++ b/pace_revision_2/pace/data.py @@ -0,0 +1,101 @@ +from pathlib import Path +from functools import lru_cache +import numpy as np +import torch +from .physics import sample,Channel +from .config import digest,BANK_SIZES +from .io import atomic_json,atomic_npz,sha,read_json + +def bank_path(root,recipe,bank,condition=None): + return Path(root)/'banks'/recipe.name/recipe.mode/bank/(condition.key if condition else 'source') + +def generate(root,recipe,bank,n=None,condition=None,device='cpu',shard=512): + n=n or BANK_SIZES[bank];path=bank_path(root,recipe,bank,condition);path.mkdir(parents=True,exist_ok=True) + spec={'recipe':recipe.to_dict(),'bank':bank,'n':n,'condition':condition.__dict__ if condition else None,'schema':1,'generation_device':device} + if (path/'manifest.json').exists(): + old=read_json(path/'manifest.json') + if digest(old['spec'])!=digest(spec):raise RuntimeError('Existing bank has different specification; use a separate root') + if all(sha(path/f['file'])==f['sha256'] for f in old['shards']):return path + raise RuntimeError('Bank hash mismatch') + engine=Channel(recipe.grid,device);records=[] + from tqdm import trange + for start in trange(0,n,shard,desc=f'{recipe.name}/{bank}'): + f=path/f'{start:08d}.npz';meta=f.with_suffix('.json') + # Completed shards are resumable only when accompanied by matching spec and hash. + if f.exists() and meta.exists() and read_json(meta).get('spec_hash')==digest(spec) and read_json(meta)['sha256']==sha(f): + records.append(read_json(meta));continue + rows=[sample(recipe,bank,i,condition,device,engine) for i in range(start,min(n,start+shard))] + import hashlib + for row in rows:row['label_hash']=np.array(hashlib.sha256(row['h'].tobytes()).hexdigest(),dtype='S64') + atomic_npz(f,**{k:np.stack([x[k] for x in rows]) for k in rows[0]}) + rec={'file':f.name,'start':start,'n':len(rows),'sha256':sha(f),'spec_hash':digest(spec)};atomic_json(meta,rec);records.append(rec) + atomic_json(path/'manifest.json',{'spec':spec,'shards':records});return path + +class Bank(torch.utils.data.Dataset): + def __init__(self,path,snr=None,limit=None): + self.path=Path(path);self.manifest=read_json(self.path/'manifest.json');self.snr=snr + self.n=min(limit or self.manifest['spec']['n'],self.manifest['spec']['n']) + self.ends=np.cumsum([r['n'] for r in self.manifest['shards']]) + def __len__(self):return self.n + @lru_cache(maxsize=4) + def _shard(self,j): + with np.load(self.path/self.manifest['shards'][j]['file']) as f:return {k:f[k] for k in f.files} + def __getitem__(self,i): + j=int(np.searchsorted(self.ends,i,side='right'));start=0 if j==0 else self.ends[j-1];d=self._shard(j);i=int(i-start) + snr=float(d['snr'][i]) if self.snr is None else self.snr + n0=10**(-snr/10) + return {'h':d['h'][i],'z':(d['z0'][i]+np.sqrt(n0)*d['noise'][i]).astype(np.complex64),'n0':np.float32(n0),'snr':np.float32(snr),'fd':d['fd'][i],'ds':d['ds'][i],'id':d['id'][i]} + def chunks_h(self): + count=0 + for j in range(len(self.ends)): + h=self._shard(j)['h'][:max(0,self.n-count)];count+=len(h) + if len(h):yield h + if count>=self.n:break + +class DeviceBank: + """One-time host streaming into GPU tensors. Does not alter batch size/data/RNG. + Used only for source TRAIN/VAL/TUNE; evaluation continues streaming raw records. + """ + def __init__(self,dataset,device): + from torch.utils.data import ConcatDataset + datasets=dataset.datasets if isinstance(dataset,ConcatDataset) else [dataset] + parts=[] + for ds in datasets: + items=[];remaining=len(ds) + for j in range(len(ds.ends)): + d=ds._shard(j);take=min(remaining,len(d['h']));remaining-=take + if take<=0:break + snr=d['snr'][:take] if ds.snr is None else np.full(take,ds.snr,dtype=np.float32) + n0full=10.**(-snr.astype(np.float64)/10);n0=n0full.astype(np.float32) + z=(d['z0'][:take]+np.sqrt(n0full)[:,None]*d['noise'][:take]).astype(np.complex64) + items.append({**{k:d[k][:take] for k in ('h','fd','ds','id')},'z':z,'n0':n0,'snr':snr}) + parts.append({k:np.concatenate([x[k] for x in items]) for k in items[0]}) + self.tensors={k:torch.as_tensor(np.concatenate([x[k] for x in parts]),device=device) for k in parts[0]};self.n=len(self.tensors['h']) + def __len__(self):return self.n + def batches(self,batch,shuffle=False,generator=None): + # CPU torch.randperm matches the DataLoader-independent protocol shuffle stream. + # The same implementation is used for every paired arm. + order=torch.randperm(self.n,generator=generator) if shuffle else torch.arange(self.n) + for start in range(0,self.n,batch): + idx=order[start:start+batch].to(self.tensors['h'].device);yield {k:v[idx] for k,v in self.tensors.items()} + +def audit_source_banks(root): + """Detect repeated channel labels across independent fitting/selection banks. + TEST banks intentionally reuse channel IDs across methods/SNR and are excluded. + """ + import sqlite3 + db=Path(root)/'source_identity_audit.sqlite';connection=sqlite3.connect(db) + connection.execute('DROP TABLE IF EXISTS labels');connection.execute('CREATE TABLE labels(hash TEXT PRIMARY KEY, bank TEXT, id INTEGER)') + total=0 + for manifest in sorted((Path(root)/'banks').glob('**/manifest.json')): + meta=read_json(manifest) + if meta['spec']['bank'] in ('TEST','QC','RECEIVER'):continue + for shard in meta['shards']: + with np.load(manifest.parent/shard['file']) as d: + if 'label_hash' not in d:raise RuntimeError('Bank predates label-hash schema; regenerate in a new output root') + for h,i in zip(d['label_hash'],d['id']): + try:connection.execute('INSERT INTO labels VALUES(?,?,?)',(h.decode(),str(manifest),int(i))) + except sqlite3.IntegrityError as e:raise RuntimeError('Duplicate channel label in independent source banks') from e + total+=1 + connection.commit() + connection.close();atomic_json(Path(root)/'source_identity_audit.json',dict(passed=True,independent_channels=total)) diff --git a/pace_revision_2/pace/devices.py b/pace_revision_2/pace/devices.py new file mode 100644 index 0000000000000000000000000000000000000000..c39766d931426d18a301e1d3dbfce2d2575bb7ad --- /dev/null +++ b/pace_revision_2/pace/devices.py @@ -0,0 +1,9 @@ +"""Resolve PyTorch aliases before crossing Sionna's explicit-device boundary.""" +def sionna_device(device): + import torch + resolved = torch.device(device) + if resolved.type == 'cuda' and resolved.index is None: + return f'cuda:{torch.cuda.current_device()}' + if resolved.type == 'cpu': + return 'cpu' + return str(resolved) diff --git a/pace_revision_2/pace/diagnostics.py b/pace_revision_2/pace/diagnostics.py new file mode 100644 index 0000000000000000000000000000000000000000..02fa94cab5b5642cd8be9329cbc89cb15ef3c47f --- /dev/null +++ b/pace_revision_2/pace/diagnostics.py @@ -0,0 +1,156 @@ +from pathlib import Path +from dataclasses import replace +import numpy as np +import torch +from .config import Condition,SNR,Bem +from .experiments import recipes +from .classical import basis,gains,diagnostics +from .data import Bank,bank_path +from .training import loader,load_model,move +from .metrics import energies,equivalence,paired_summary +from .io import atomic_npz,atomic_json,read_json + +def run(root,command,device='cpu',limit=None): + root=Path(root);r=recipes()['main'];g=r.grid + if command=='oracle': + cov=np.load(root/'priors'/'target.npz')['cov'];c=Condition(fd=100) + for name,b,kind in [('target_cov_lmmse',r.bem,'lmmse'),('target_recalibrated_bem',replace(r.bem,fd=200),'bem')]: + B=basis(g,b)[0] + for snr in SNR: + data=Bank(bank_path(root,r,'TEST',c),snr,limit);K=gains(g,cov,b,kind,10**(-snr/10));rows=[] + for batch in loader(data): + h=batch['h'].numpy();p=(batch['z'].numpy()@K.T).reshape(h.shape);raw=energies(h,p,p,B,g.mask);raw['id']=batch['id'].numpy();rows.append(raw) + atomic_npz(root/'oracles'/name/f'snr{snr}.npz',**{k:np.concatenate([p[k] for p in rows]) for k in rows[0]}) + return + if command=='wave-diagnostics': + from .physics import Channel,operator + eng=Channel(g,device) + for fd in (10,100,500,1000): + values=[] + for i in range(limit or 128): + # Same family used by the main TEST bank. + c=Condition(fd=fd);family=f'{g.scs:g}:{g.comb}:{g.pilot_symbols}:{c.profile}:{c.ds_ns:g}' + a,tau=eng.paths(c,'TEST',family,i);diag=off=guard=0. + for s in range(g.S): + G=operator(a,tau,g,s);active=G[:,g.active%g.N];A=active[g.active%g.N];d=np.sum(abs(np.diag(A))**2);diag+=d;off+=np.sum(abs(A)**2)-d;guard+=np.sum(abs(active)**2)-np.sum(abs(A)**2) + values.append((i,diag,off,guard)) + x=np.asarray(values);atomic_npz(root/'wave_diagnostics'/f'fd{fd}.npz',id=x[:,0],diagonal_energy=x[:,1],ici_energy=x[:,2],guard_leakage=x[:,3],normalized_doppler=np.full(len(x),fd/g.scs)) + return + if command=='statistics': + detailed_statistics(root,device);return + raise ValueError(command) + +def detailed_statistics(root,device): + """Additional uncertainty and spectra; raw prediction files are the only inputs.""" + from .reporting import raw,align + from scipy.linalg import eigh + out=root/'statistics';out.mkdir(exist_ok=True) + # Required-target covariance depends on the anchor, not the neural seed: use fixed seed 41001 once. + for p in (root/'evaluation').glob('*_s41001/DIAG/*snr10/examples.npz'): + d=raw(p);r=d['h'].astype(np.complex128)-d['anchor'];flat=r.reshape(len(r),-1);mean=flat.mean(0);center=flat-mean + t=torch.tensor(center,device=device,dtype=torch.complex128);cov=(t.T@t.conj())/max(len(t)-1,1);evals=torch.linalg.eigvalsh(cov).real.clamp_min(0).flip(0) + prefix=out/'residual_covariance'/p.parent.parent.parent.name/p.parent.name + atomic_npz(prefix/'covariance.npz',mean=mean,variance_diagonal=cov.diagonal().real.cpu().numpy(),eigenvalues=evals.cpu().numpy(),top20=evals[:20].cpu().numpy(),covariance=cov.cpu().numpy()) + for p in (root/'receiver').glob('**/raw.npz'): + d=raw(p);rng=np.random.default_rng(90221);n=len(d['id']);rep=[] + for _ in range(10000): + idx=rng.integers(n,size=n);rep.append(d['bit_errors'][idx].sum()/d['bits'][idx].sum()) + atomic_json(out/'receiver_uncertainty'/p.relative_to(root/'receiver').with_suffix('.json'),{'ber_cluster_bootstrap_95':np.quantile(rep,[.025,.975]).tolist(),'slots':n,'replicates':10000}) + # Fixed primary seed for realization-level projection/cosine diagnostics; no seed pseudo-replication. + p0=list((root/'evaluation').glob('E01*compact_A-res*_s41001/DIAG/C_ds100_fd10_snr10/raw.npz')) + p1=list((root/'evaluation').glob('E01*compact_A-res*_s41001/DIAG/C_ds100_fd100_snr10/raw.npz')) + if p0 and p1: + a,b=raw(p0[0]),raw(p1[0]);assert np.array_equal(a['id'],b['id']) + result={'projection':equivalence(b['projection_outside']/b['denominator']-a['projection_outside']/a['denominator'],.005),'condition_number':'same deterministic sampled basis: algebraically identical; no hypothesis test'} + valid=a['cosine_defined']&b['cosine_defined'];result['cosine']=equivalence(b['cosine'][valid]-a['cosine'][valid],.05);result['cosine_undefined_pairs']=int((~valid).sum()) + from .metrics import holm + adj=holm([result['projection']['p_tost'],result['cosine']['p_tost']]) + for k,v in zip(['projection','cosine'],adj):result[k]['p_tost_holm']=float(v) + atomic_json(out/'diagnostic_equivalence.json',result) + receiver_paired(root,out) + receiver_contrasts(root,out) + residual_covariance_contrasts(out) + +def receiver_paired(root,out): + from .reporting import raw + groups={} + for p in (root/'receiver').glob('**/raw.npz'): + rel=p.relative_to(root/'receiver');name=rel.parts[0] + if '_s' not in name:continue + family,sd=name.rsplit('_s',1) + if not sd.isdigit():continue + # Preserve the method/arm family and condition explicitly. + key=(family,*rel.parts[1:-1]);groups.setdefault(key,[]).append((int(sd),p)) + for key,items in groups.items(): + values=[raw(p) for _,p in sorted(items)];nseed=len(values) + if nseed<2:continue + n=len(values[0]['id']) + if not all(np.array_equal(v['id'],values[0]['id']) for v in values):raise RuntimeError('Receiver seed IDs disagree') + block=np.stack([v['block_errors'] for v in values]);rng=np.random.default_rng(90221);rep=[] + for _ in range(10000): + si=rng.integers(nseed,size=nseed);fi=rng.integers(n,size=n);rep.append(block[si][:,fi].mean()) + atomic_json(out/'receiver_seed_intervals'/('_'.join(key)+'.json'),{'mean_seed_bler':paired_summary(block.mean(1)),'crossed_seed_slot_95':np.quantile(rep,[.025,.975]).tolist()}) + +def benchmark(root,job,device='cuda',smoke=False): + import time + r=recipes()[job['recipe']];m=load_model(root,job,device);data=Bank(bank_path(root,r,'VAL'));results=[] + from .complexity import neural_macs + complexity=neural_macs(m,move(next(iter(loader(data,1))),device)) + for batchsize in (1,512): + b=move(next(iter(loader(data,batchsize))),device) + if len(b['z'])!=batchsize and not smoke:raise RuntimeError('Insufficient benchmark batch') + timings=[] + def sync(): + if device.startswith('cuda'):torch.cuda.synchronize() + if device.startswith('cuda'):torch.cuda.reset_peak_memory_stats() + with torch.no_grad(): + for _ in range(2 if smoke else 100):m(b) + for _ in range(5 if smoke else 1000): + sync();t=time.perf_counter();m(b);sync();timings.append(time.perf_counter()-t) + captured=[] + hook=m.net.register_forward_pre_hook(lambda module,args:captured.append(args)) + with torch.no_grad():m(b) + hook.remove();netargs=captured[0];network=[] + with torch.no_grad(): + for _ in range(2 if smoke else 100):m.net(*netargs) + for _ in range(5 if smoke else 1000): + sync();t=time.perf_counter();m.net(*netargs);sync();network.append(time.perf_counter()-t) + results.append({'network_only_median_ms':1000*np.median(network),'network_only_p95_ms':1000*np.quantile(network,.95),'batch':len(b['z']),'median_ms':1000*np.median(timings),'p95_ms':1000*np.quantile(timings,.95),'slots_per_second':len(b['z'])/np.median(timings),'peak_allocated_bytes':torch.cuda.max_memory_allocated() if device.startswith('cuda') else None,'includes':'pilot interpolation and anchor plus network; input tensors already on device','parameters':sum(p.numel() for p in m.parameters()),'fixed_buffer_bytes':sum(p.numel()*p.element_size() for p in m.buffers()),'gain_cache_bytes':sum(p.numel()*p.element_size() for p in m._gains.values()),'cpu_covariance_bytes':m.cov.nbytes}) + atomic_json(Path(root)/'benchmarks'/f'{job["id"]}.json',{'measurements':results,'complexity':complexity,'smoke_only':smoke}) + + +def residual_covariance_contrasts(out): + # Same canonical RE coordinates; descriptive fixed-seed diagnostics, not extra replicates. + for source in (out/'residual_covariance').glob('*/C_ds100_fd10_snr10/covariance.npz'): + target=source.parent.parent/'C_ds100_fd100_snr10/covariance.npz' + if not target.exists():continue + with np.load(source) as a,np.load(target) as b: + atomic_json(source.parent.parent/'source_target_contrast.json',dict(relative_covariance_frobenius=float(np.linalg.norm(b['covariance']-a['covariance'])/max(np.linalg.norm(a['covariance']),1e-30)),source_trace=float(a['variance_diagonal'].sum()),target_trace=float(b['variance_diagonal'].sum()),mean_difference_energy=float(abs(b['mean']-a['mean'])@abs(b['mean']-a['mean'])),scope='descriptive first 2000 fixed TEST IDs, training seed 41001')) + +def receiver_contrasts(root,out): + """Paired operational contrasts at predeclared central 10 dB, fd=10/100. + Positive BLER/BER reduction means the anchored/gated method helps. + Exploratory intervals; no unregistered significance claims. + """ + from .experiments import jobs + for recipe,e in [('main','E01'),('wave','E13')]: + ds={j['seed']:j for j in jobs() if j['experiment']==e and j['arch']=='compact' and j['arm']=='D' and j['seed']<=41010} + for method in ('A-res','A-raw','scalar','resource'): + for mode in ('DIAG','WAVE'): + for mod in ('16qam','qpsk'): + for fd in (10,100): + differences=[];used=[];refids=None + for sd,j in sorted(ds.items()): + name=f'{recipe}_{method}_s{sd}' if method in ('scalar','resource') else j['id'].replace('_D_','_'+method+'_') + suffix=Path(mode)/mod/f'C_ds100_fd{fd}'/'snr10'/'raw.npz' + pa=root/'receiver'/j['id']/suffix;pb=root/'receiver'/name/suffix + if not pa.exists() or not pb.exists():continue + with np.load(pa) as a,np.load(pb) as b: + if not np.array_equal(a['id'],b['id']) or not np.array_equal(a['bits'],b['bits']):raise RuntimeError('Unpaired receiver contrast') + if refids is not None and not np.array_equal(refids,a['id']):raise RuntimeError('Receiver seed sample mismatch') + refids=a['id'].copy();differences.append(np.stack([a['block_errors'].astype(float)-b['block_errors'],(a['bit_errors']-b['bit_errors'])/a['bits']]));used.append(sd) + if len(used)<2:continue + x=np.stack(differences);ns,_,n=x.shape;rng=np.random.default_rng(90221);rep=[] + for _ in range(10000): + si=rng.integers(ns,size=ns);w=rng.multinomial(n,np.full(n,1/n));rep.append((x@w/n)[si].mean(0)) + atomic_json(out/'receiver_contrasts'/f'{recipe}_{method}_{mode}_{mod}_fd{fd}.json',dict(seeds=used,sign='Direct error rate minus comparison error rate; positive helps',scope='exploratory paired operational effects at 10 dB',bler_seed_effect=paired_summary(x[:,0].mean(1)),ber_seed_effect=paired_summary(x[:,1].mean(1)),crossed_seed_slot_95=np.quantile(rep,[.025,.975],axis=0).tolist(),interval_columns=['BLER_reduction','BER_reduction'])) diff --git a/pace_revision_2/pace/evaluation.py b/pace_revision_2/pace/evaluation.py new file mode 100644 index 0000000000000000000000000000000000000000..0c3c3452c7cf36fcb939c701244d1afb2c00b48b --- /dev/null +++ b/pace_revision_2/pace/evaluation.py @@ -0,0 +1,63 @@ +from pathlib import Path +import numpy as np +import torch +from .config import SNR,conditions +from .experiments import recipes,job_bem +from .training import load_model,loader,move,covariance +from .data import Bank,bank_path +from .classical import basis,gains +from .metrics import energies,pooled +from .io import atomic_npz,atomic_json,sha + +def evaluate(root,job,device='cuda',limit=None,noise_offset=0.,recipe_override=None,metadata_mode='true'): + r=recipe_override or recipes()[job['recipe']];g=r.grid;model=load_model(root,job,device) + B=basis(g,job_bem(job,recipes()[job['recipe']]))[0];outputs=[] + for condition in conditions(r): + for snr in SNR: + if noise_offset and (snr!=10 or condition.fd not in (10,100) or condition.profile!='C' or condition.ds_ns!=100):continue + bank=Bank(bank_path(root,r,'TEST',condition),snr,limit) + tag=f'{condition.key}_snr{snr:g}'+(f'_noise{noise_offset:+g}' if noise_offset else '')+(f'_{metadata_mode}' if metadata_mode!='true' else '') + out=Path(root)/'evaluation'/job['id']/r.mode/tag + if (out/'summary.json').exists(): + print(f'[evaluate reuse] {job["id"]} {tag}',flush=True);continue + print(f'[evaluate start] {job["id"]} {tag} n={len(bank)}',flush=True) + records=[];examples=[] + with torch.no_grad(): + for batch_index,batch in enumerate(loader(bank),1): + batch=move(batch,device) + if noise_offset:batch['n0']=batch['n0']*10**(noise_offset/10);batch['snr']=batch['snr']-noise_offset + if metadata_mode=='nominal':batch['fd']=torch.full_like(batch['fd'],10.);batch['ds']=torch.full_like(batch['ds'],100.) + pred=model(batch);u,b,q=model.inputs(batch) + raw=energies(batch['h'].cpu().numpy(),pred.cpu().numpy(),b.cpu().numpy(),B,g.mask);raw['id']=batch['id'].cpu().numpy();records.append(raw) + if batch_index%10==0:print(f'[evaluate batches] {job["id"]} {tag}: {batch_index}',flush=True) + if snr==10: + keep=batch['id']<2000 + if keep.any():examples.append({k:v[keep].cpu().numpy() for k,v in dict(id=batch['id'],h=batch['h'],estimate=pred,anchor=b,z=batch['z']).items()}) + raw={k:np.concatenate([x[k] for x in records]) for k in records[0]};atomic_npz(out/'raw.npz',**raw) + if examples:atomic_npz(out/'examples.npz',**{k:np.concatenate([x[k] for x in examples]) for k in examples[0]}) + summary={'job':job,'metadata_mode':metadata_mode,'target_recipe':r.name,'condition':condition.__dict__,'snr_db':snr,'mode':r.mode,'noise_assumption_offset_db':noise_offset,'n':len(raw['id']),'pooled_linear_nmse':pooled(raw),'mean_realization_nmse':float(np.mean(raw['error']/raw['denominator'])),'raw_sha256':sha(out/'raw.npz'),'checkpoint_sha256':sha(Path(root)/'runs'/job['id']/'best.pt'),'bank_manifest_sha256':sha(bank.path/'manifest.json'),'smoke_only':limit is not None} + atomic_json(out/'summary.json',summary);outputs.append(summary) + print(f'[evaluate saved] {job["id"]} {tag}',flush=True) + return outputs + +def classical_evaluate(root,recipe,device='cpu',limit=None,noise_offset=0.): + from .training import covariance + g=recipe.grid;cov=np.load(Path(root)/'priors'/f'{recipe.name}.npz')['cov'];B=basis(g,recipe.bem)[0] + kinds=['ls','bem','lmmse','rank4','rank8','rank16','rank32','oracle_projection'] + R=.999*cov+.001*np.trace(cov).real/g.M*np.eye(g.M);spectrum=np.linalg.eigh(R);cache={} + for cond in conditions(recipe): + for snr in SNR: + if noise_offset and (snr!=10 or cond.profile!='C' or cond.ds_ns!=100 or cond.fd not in (10,100)):continue + bank=Bank(bank_path(root,recipe,'TEST',cond),snr,limit) + for kind in kinds: + out=Path(root)/'classical'/recipe.name/kind/(f'{cond.key}_snr{snr:g}'+(f'_noise{noise_offset:+g}' if noise_offset else '')) + if (out/'summary.json').exists(): + print(f'[classical reuse] {kind} {cond.key} snr={snr}',flush=True);continue + print(f'[classical start] {kind} {cond.key} snr={snr}',flush=True) + if (kind,snr) not in cache:cache[kind,snr]=None if kind=='oracle_projection' else gains(g,cov,recipe.bem,kind,10**((-snr+noise_offset)/10),spectrum) + K=cache[kind,snr];rows=[] + for batch in loader(bank): + h=batch['h'].numpy();z=batch['z'].numpy();pred=((h.reshape(len(h),-1)@B.conj())@B.T) if K is None else z@K.T + pred=pred.reshape(h.shape);d=energies(h,pred,pred,B,g.mask);d['id']=batch['id'].numpy();rows.append(d) + raw={k:np.concatenate([x[k] for x in rows]) for k in rows[0]};atomic_npz(out/'raw.npz',**raw) + atomic_json(out/'summary.json',dict(kind=kind,recipe=recipe.name,condition=cond.__dict__,snr_db=snr,noise_assumption_offset_db=noise_offset,pooled_linear_nmse=pooled(raw),n=len(bank),smoke_only=limit is not None)) diff --git a/pace_revision_2/pace/experiments.py b/pace_revision_2/pace/experiments.py new file mode 100644 index 0000000000000000000000000000000000000000..9582673a1c7f125835c44d277897fd3e118e7258 --- /dev/null +++ b/pace_revision_2/pace/experiments.py @@ -0,0 +1,48 @@ +from dataclasses import replace +from .config import Recipe,Grid,Condition,Bem,SEEDS + +def recipes(): + main=Recipe() + return {'main':main,'reverse':replace(main,name='reverse',source=Condition(fd=100),bem=Bem(fd=200)), + 'target':replace(main,name='target',source=Condition(fd=100)), + 'broad':replace(main,name='broad',broad=True,bem=Bem(kf=6,tau=3e-6,fd=200)), + 'comb6':replace(main,name='comb6',grid=Grid(comb=6)), + 'timepilot':replace(main,name='timepilot',grid=Grid(pilot_symbols=(3,10))), + 'scs30':replace(main,name='scs30',grid=Grid(scs=30000)), + 'wave':replace(main,name='wave',mode='WAVE'), + 'reference':replace(main,name='reference',reference=True,mode='WAVE',source=Condition('A',100,50))} + +def jobs(): + out=[] + def add(experiment,arch,arm,seeds=SEEDS[:10],recipe='main',**extra): + for s in seeds: + item=dict(experiment=experiment,arch=arch,arm=arm,seed=s,recipe=recipe,anchor='bem',info=False,scaled=False,labels_extra=False,**{}) + item.update(extra);tag=extra.get('variant',extra.get('anchor','base')) + item['id']=f'{experiment}_{recipe}_{arch}_{arm}_{tag}_s{s}';out.append(item) + for arm in ('D','A-raw','A-res'):add('E01','compact',arm,SEEDS) + for arch in ('reesnet','channelformer','fortitran','helena'):add('E02',arch,'D') + for anchor in ('ls','lmmse','sham','oracle'):add('E03','compact','A-res',anchor=anchor) + for arch in ('cnn16','wide'): + for arm in ('D','A-res'):add('E04',arch,arm) + for arm in ('D','A-res'): + add('E05','compact',arm,info=True);add('E06','compact',arm,scaled=True) + variants={'broad':dict(kf=6,tau=3e-6,fd=200),'broad_iso':dict(kf=6,tau=3e-6,fd=200,isotropic=True),'low_order':dict(kf=2,kt=1),'gamma01':dict(gamma=.1),'gamma10':dict(gamma=10)} + for name,b in variants.items():add('E07','compact','A-res',variant=name,bem=b) + for eid,r in [('E08','reverse'),('E09','target'),('E10','broad'),('E11','comb6'),('E11','timepilot'),('E12','scs30')]: + for arm in ('D','A-res'):add(eid,'compact',arm,recipe=r) + for arch,arm in [('compact','D'),('compact','A-res'),('fortitran','D'),('helena','D')]:add('E13',arch,arm,recipe='wave') + add('E14','compact','D',labels_extra=True) + assert len(out)==440 + for arch in ('fortitran','adafortitran'):add('R',arch,'D',SEEDS[:3],recipe='reference') + return out + +def tuning_jobs(): + out=[] + for arch,arms in [('compact',('D','A-raw','A-res')),('cnn16',('D','A-res')),('wide',('D','A-res'))]+[(x,('D',)) for x in ('reesnet','channelformer','fortitran','helena')]: + for lr in (.0003,.001,.003): + for arm in arms: + for s in (31001,31002,31003): + out.append(dict(id=f'TUNE_{arch}_{arm}_{lr}_s{s}',experiment='TUNE',recipe='main',arch=arch,arm=arm,seed=s,anchor='bem',info=False,scaled=False,labels_extra=False,lr=lr)) + assert len(out)==99;return out + +def job_bem(job,recipe):return replace(recipe.bem,**job.get('bem',{})) diff --git a/pace_revision_2/pace/fidelity.py b/pace_revision_2/pace/fidelity.py new file mode 100644 index 0000000000000000000000000000000000000000..d7f0e60d80d3ef453d2cf1455d90b5663870099b --- /dev/null +++ b/pace_revision_2/pace/fidelity.py @@ -0,0 +1,81 @@ +"""Independent source/ported parity gates, no learned-estimation performance tests.""" +from pathlib import Path +import io,zipfile,sys +import numpy as np +import torch +from .config import Grid +from .io import atomic_json,sha + +def vendor():return Path(__file__).resolve().parent.parent/'vendor' +def helena_weights(model,path): + import h5py + with zipfile.ZipFile(path) as z,h5py.File(io.BytesIO(z.read('model.weights.h5')),'r') as f: + def put(layer,base,kind='dense'): + w=np.array(f[f'layers/{base}/vars/0']);b=np.array(f[f'layers/{base}/vars/1']) + if kind=='conv':w=w.transpose(3,2,0,1) + elif kind=='qkv':w=w.reshape(64,256).T;b=b.reshape(256) + elif kind=='attout':w=w.reshape(256,64).T + elif kind=='dense':w=w.T + layer.weight.data.copy_(torch.tensor(w));layer.bias.data.copy_(torch.tensor(b)) + put(model.conv1,'conv2d','conv');put(model.conv2,'conv2d_1','conv') + for layer,name in [(model.embed,'dense'),(model.squeeze,'dense_1'),(model.excite,'dense_2'),(model.out,'dense_3')]:put(layer,name) + for layer,name in [(model.q,'_query_dense'),(model.k,'_key_dense'),(model.v,'_value_dense')]:put(layer,'multi_head_attention/'+name,'qkv') + put(model.attout,'multi_head_attention/_output_dense','attout');put(model.norm,'layer_normalization','norm') + +def forti_parity(adaptive=False): + from types import SimpleNamespace as NS + sys.path.insert(0,str(vendor()/'fortitran')) + from src.models.fortitran import BaseFortiTranEstimator + from .models.fortitran import FortiTran + g=Grid();s=NS(ofdm=NS(num_scs=120,num_symbols=14),pilot=NS(num_scs=40,num_symbols=2)) + c=NS(patch_size=(3,2),adaptive_token_length=6,channel_adaptivity_hidden_sizes=[7,42,560],model_dim=32,num_head=4,activation='gelu',dropout=.1,num_layers=6 if adaptive else 3,max_seq_len=512,pos_encoding_type='learnable') + torch.manual_seed(313);native=BaseFortiTranEstimator(s,c,'cpu',adaptive).eval();port=FortiTran(g,adaptive).eval() + port.up.load_state_dict(native.pilot_upsampler.state_dict());port.first.load_state_dict(native.initial_enhancer.conv_block.state_dict());port.last.load_state_dict(native.final_refiner.conv_block.state_dict());port.embed.load_state_dict(native.transformer_encoder.linear_1.state_dict());port.project.load_state_dict(native.transformer_encoder.linear_2.state_dict());port.transform.load_state_dict(native.transformer_encoder.transformer.state_dict());port.position.data.copy_(native.transformer_encoder.positional_encoding.position_embeddings) + if adaptive: + for m,n in zip(port.metadata,[native.channel_adapter.snr_encoder,native.channel_adapter.ds_encoder,native.channel_adapter.dop_encoder]):m.load_state_dict(n.state_dict()) + z=torch.complex(torch.randn(3,80),torch.randn(3,80));meta=torch.tensor([[10.,100.,50.],[0.,300.,100.],[25.,25.,1000.]]) + nm=(None,meta[:,0:1],meta[:,1:2],meta[:,2:3],None,None) + with torch.no_grad(): + expected=native(z.reshape(3,2,40).transpose(1,2).contiguous(),nm if adaptive else None).transpose(1,2);actual=port(z,meta) + torch.testing.assert_close(actual,expected,rtol=1e-5,atol=1e-6);return float(abs(actual-expected).max()) + +def cf_parity(): + from scipy.signal import correlate2d + from scipy.special import softmax + from .models.channelformer import Channelformer + torch.manual_seed(123);model=Channelformer(14,120,80).double().eval();x=np.random.default_rng(321).normal(size=(1,1,80,2)) + def arr(v):return v.detach().numpy() + def conv(x,m): + w,b=arr(m.weight),arr(m.bias);out=np.zeros((len(x),len(w),x.shape[2],x.shape[3])) + for n in range(len(x)): + for o in range(len(w)): + out[n,o]=b[o] + for c in range(x.shape[1]):out[n,o]+=correlate2d(x[n,c],w[o,c],mode='same',boundary='fill') + return out + def norm(x,m):return (x-x.mean(2,keepdims=True))/np.sqrt(x.var(2,keepdims=True)+m.eps)*arr(m.gain)+arr(m.bias) + def linear(x,m):return x@arr(m.weight).T+arr(m.bias) + def gelu(x):return .5*x*(1+np.tanh(np.sqrt(2/np.pi)*(x+.044715*x**3))) + z=x.copy() + for e in model.encoder: + seq=z[:,0].transpose(0,2,1);q,k,v=np.split(linear(seq,e.attn.qkv),3,-1) + q,k,v=[y.reshape(len(y),2,2,40).transpose(0,2,1,3) for y in (q,k,v)] + a=(softmax(q@k.swapaxes(-1,-2)/np.sqrt(40),axis=-1)@v).transpose(0,2,1,3).reshape(len(x),2,80) + a=linear(a,e.attn.proj).transpose(0,2,1)[:,None];z=norm(z+a,e.ln1);z=norm(z+conv(gelu(conv(z,e.ffn.conv1)),e.ffn.conv2),e.ln2) + z=conv(z,model.conv_head) + for b in model.decoder:z=norm(z+conv(np.maximum(conv(z,b.conv1),0),b.conv2),b.ln) + z=linear(z.transpose(0,1,3,2),model.fc_upsample).transpose(0,1,3,2);z=conv(z,model.conv_out)[:,0].transpose(0,2,1).reshape(len(x),2,14,120) + with torch.no_grad():actual=model(torch.tensor(x)).numpy() + np.testing.assert_allclose(actual,z,rtol=1e-9,atol=1e-9);return float(np.max(abs(actual-z))) + +def run(root,arch,fixture=None,device='cpu'): + if arch in ('fortitran','adafortitran'):error=forti_parity(arch=='adafortitran');method='pinned released source versus independent port' + elif arch=='channelformer':error=cf_parity();method='independent NumPy implementation of MATLAB-defined operators; not native MATLAB checkpoint parity' + elif arch=='helena': + if not fixture:raise ValueError('Export native Keras fixture with scripts/export_helena.py, then pass --fixture PATH') + from .models.helena import Helena + f=np.load(fixture);model=Helena(612).eval();helena_weights(model,vendor()/'helena/model.keras') + x=f['input'];inp=torch.complex(torch.tensor(x[...,0]),torch.tensor(x[...,1])).transpose(1,2) + with torch.no_grad():out=model(inp);actual=torch.stack([out.real,out.imag],-1).transpose(1,2).numpy() + np.testing.assert_allclose(actual,f['output'],rtol=1e-4,atol=1e-4);error=float(abs(actual-f['output']).max());method='native Keras saved weights, 612x14 sparse-pilot forward parity' + else:raise ValueError(arch) + atomic_json(Path(root)/'validation'/f'{arch}_fidelity.json',dict(passed=True,max_abs_error=error,method=method,fixture_sha256=sha(fixture) if fixture else None));print(arch,method,error) diff --git a/pace_revision_2/pace/interventions.py b/pace_revision_2/pace/interventions.py new file mode 100644 index 0000000000000000000000000000000000000000..0fd7ee96af49544216f4b20b9c83712a27c906d8 --- /dev/null +++ b/pace_revision_2/pace/interventions.py @@ -0,0 +1,170 @@ +from pathlib import Path +from dataclasses import replace,asdict +import numpy as np +import torch +from .models import ResourceGate +from .training import load_model,loader,move,score,build,initialize_seed +from .data import Bank,bank_path +from .experiments import jobs,recipes +from .config import SNR,conditions,seed +from .io import atomic_npz,atomic_json,read_json,torch_save,deterministic,sha +from .classical import basis,gains,diagnostics +from .metrics import energies,pooled + +def parents(recipe,training_seed): + e='E13' if recipe=='wave' else 'E01' + return [next(j for j in jobs() if j['experiment']==e and j['arch']=='compact' and j['arm']==arm and j['seed']==training_seed) for arm in ('D','A-res')] + +def calibrate_gate(root,recipe,training_seed,device='cuda',limit=None): + import time,copy + r=recipes()[recipe];out=Path(root)/'gates'/recipe/str(training_seed) + if (out/'complete.json').exists(): + print(f'[gate fit reuse] {recipe} seed={training_seed}',flush=True);return + d,a=[load_model(root,j,device) for j in parents(recipe,training_seed)] + fit=Bank(bank_path(root,r,'GATE_FIT'),limit=limit);val=Bank(bank_path(root,r,'GATE_VAL'),limit=limit) + # Cache the ORIGINAL decoded arrays. __getitem__, batching and arithmetic + # stay unchanged. Do not introduce an unbounded class-wide LRU cache. + decoded_bytes=0;t0=time.perf_counter() + for bank in (fit,val): + shards=[bank._shard(i) for i in range(len(bank.ends))] + decoded_bytes+=sum(v.nbytes for shard in shards for v in shard.values()) + bank._shard=lambda i,shards=shards:shards[i] + print(f'[gate RAM] {recipe} seed={training_seed}: {decoded_bytes/2**20:.1f} MiB loaded in {time.perf_counter()-t0:.2f}s',flush=True) + deterministic(seed('GATE',recipe,training_seed,'initialization'));gate=ResourceGate().to(device);mask=torch.tensor(r.grid.mask,device=device,dtype=torch.float32)[None,None] + sums=torch.zeros(7,device=device,dtype=torch.float64);sq=sums.clone();count=0;num=den=energy=0. + with torch.no_grad(): + for batch in loader(fit,256): + batch=move(batch,device);dp=d(batch);ap=a(batch);u,_,q=d.inputs(batch) + f=gate.features(u,dp,ap,mask,q)[:,:7].double();sums+=f.sum((0,2,3));sq+=(f*f).sum((0,2,3));count+=f.shape[0]*f.shape[2]*f.shape[3] + delta=(ap-dp).to(torch.complex128);target=(batch['h']-dp).to(torch.complex128);num+=float((target.conj()*delta).real.sum());den+=float((abs(delta)**2).sum());energy+=float((abs(batch['h'].to(torch.complex128))**2).sum()) + gate.mean.copy_((sums/count).float()[None,:,None,None]);gate.std.copy_(torch.sqrt(torch.clamp(sq/count-(sums/count)**2,min=1e-12)).float()[None,:,None,None]) + alpha=float(np.clip(num/den,0,1)) if den>1e-12*energy else 0. + scalar=dict(alpha=alpha,numerator=num,denominator=den,extra_source_labels=len(fit)+len(val)) + def exact(x,y): + if torch.is_tensor(x):return torch.is_tensor(y) and x.dtype==y.dtype and torch.equal(x.detach().cpu(),y.detach().cpu()) + if isinstance(x,dict):return isinstance(y,dict) and x.keys()==y.keys() and all(exact(x[k],y[k]) for k in x) + if isinstance(x,(list,tuple)):return type(x)==type(y) and len(x)==len(y) and all(exact(a,b) for a,b in zip(x,y)) + return x==y + def snapshot(model):return {k:v.detach().cpu().clone() for k,v in model.state_dict().items()} + old=torch.load(out/'last.pt',map_location='cpu',weights_only=True) if (out/'last.pt').exists() else None + contract={'recipe':recipe,'seed':training_seed,'limit':limit,'n_fit':len(fit),'n_val':len(val), + 'parent_checkpoints':[sha(Path(root)/'runs'/j['id']/'best.pt') for j in parents(recipe,training_seed)], + 'bank_manifests':[sha(bank.path/'manifest.json') for bank in (fit,val)], + 'fit_epochs':50,'batch':256} + if (out/'scalar.json').exists(): + if read_json(out/'scalar.json')!=scalar:raise RuntimeError('Gate scalar calibration differs on restart; saved results left untouched.') + elif old is not None:raise RuntimeError('Incomplete checkpoint restore: scalar.json is missing.') + else:atomic_json(out/'scalar.json',scalar) + opt=torch.optim.Adam(gate.parameters(),lr=.001);best=float('inf');history=[];best_state=None;start=0 + legacy=old is not None and old.get('resume_schema')!=2 + if old is not None: + if not (0<=int(old['epoch'])<50):raise RuntimeError('Invalid saved gate epoch') + if legacy: + if not (out/'best.pt').exists():raise RuntimeError('Legacy best.pt is required for verified continuation.') + legacy_best=torch.load(out/'best.pt',map_location='cpu',weights_only=True) + print(f'[gate verify] Replaying {int(old["epoch"])+1} saved epochs IN MEMORY with RAM loading to verify the legacy checkpoint and recover exact history. No old results overwritten.',flush=True) + else: + if old['contract']!=contract:raise RuntimeError('Gate checkpoint/data contract mismatch') + gate.load_state_dict(old['gate']);opt.load_state_dict(old['optimizer']);start=int(old['epoch'])+1 + best=old['best'];history=old['history'];best_state=old['best_gate'] + torch.set_rng_state(old['rng_cpu']) + if old.get('rng_cuda') and torch.cuda.is_available():torch.cuda.set_rng_state_all(old['rng_cuda']) + # last.pt is the atomic authority; repair mirrors after an interrupted save. + torch_save(out/'best.pt',best_state);atomic_json(out/'history.json',history) + print(f'[gate resume] {recipe} seed={training_seed}: {start}/50 epochs already saved',flush=True) + for epoch in range(start,50): + epoch_start=time.perf_counter() + gate.train();gen=torch.Generator().manual_seed(seed('GATE',recipe,f'{training_seed}:{epoch}','shuffle')) + for batch in loader(fit,256,True,gen): + batch=move(batch,device) + with torch.no_grad():dp=d(batch);ap=a(batch);u,_,q=d.inputs(batch) + pred,_=gate(u,dp,ap,mask,q);loss=abs(pred-batch['h']).square().mean();opt.zero_grad();loss.backward();torch.nn.utils.clip_grad_norm_(gate.parameters(),1.,error_if_nonfinite=True);opt.step() + gate.eval();total=count=0 + with torch.no_grad(): + for batch in loader(val,256): + batch=move(batch,device);dp=d(batch);ap=a(batch);u,_,q=d.inputs(batch);pred,_=gate(u,dp,ap,mask,q);total+=float(abs(pred.to(torch.complex128)-batch['h']).square().sum());count+=pred.numel() + v=total/count;history.append({'epoch':epoch,'validation_complex_mse':v}) + if v0) + anchor_outside=energy(b-((b.reshape(n,-1)@B.conj())@B.T).reshape(h.shape)) + estimate_outside=energy(estimate-((estimate.reshape(n,-1)@B.conj())@B.T).reshape(h.shape)) + projection_closure=energy(e)-energy(h-ph)-energy(ph-b) + out=dict(anchor_range_energy=anchor_outside,estimate_range_energy=estimate_outside,projection_closure=projection_closure,error=E,denominator=D,projection_outside=energy(h-ph),anchor_inspace=energy(ph-b),anchor_error=energy(e),correction_energy=cn,required_energy=rn,required_learned_inner=dot,anchor_correction_error_cross=2*inner(e,d),cosine=cosine,cosine_defined=den>0,correction_closure=E-(rn+cn-2*dot)) + # Check closures before any pooling. Projection identity applies only to in-range anchors. + correction_scale=np.maximum(rn+cn+E,1e-30) + if np.any(abs(out['correction_closure'])>1e-10*correction_scale):raise FloatingPointError('Correction decomposition failed') + in_range=anchor_outside<=1e-12*np.maximum(D+energy(b),1e-30) + out['projection_identity_applicable']=in_range + if np.any(abs(projection_closure[in_range])>5e-6*np.maximum(D[in_range]+energy(b)[in_range],1e-30)):raise FloatingPointError('Projection decomposition failed') + if mask is not None: + out['data_error']=(abs(estimate-h)**2)[:,~mask].sum(1);out['data_denominator']=(abs(h)**2)[:,~mask].sum(1) + return out + +def pooled(record):return float(np.sum(record['error'],dtype=np.float64)/np.sum(record['denominator'],dtype=np.float64)) +def paired_summary(values,alternative='two-sided'): + x=np.asarray(values,float);n=len(x) + if n<2:return {'n':n,'mean':float(x.mean()),'low':None,'high':None,'p':None,'sd':None,'dz':None} + mean=x.mean();sd=x.std(ddof=1);half=stats.t.ppf(.975,n-1)*sd/np.sqrt(n) + if sd==0:p=1. if mean==0 else (0. if alternative=='two-sided' or (alternative=='greater' and mean>0) or (alternative=='less' and mean<0) else 1.) + else:p=float(stats.ttest_1samp(x,0,alternative=alternative).pvalue) + return dict(n=n,mean=float(mean),sd=float(sd),low=float(mean-half),high=float(mean+half),p=p,dz=float(mean/sd) if sd else None) +def holm(ps): + ps=np.asarray(ps,float);order=np.argsort(ps);out=np.empty(len(ps));v=0 + for j,k in enumerate(order):v=max(v,(len(ps)-j)*ps[k]);out[k]=min(v,1) + return out + +def equivalence(x,margin): + x=np.asarray(x,float);n=len(x);se=x.std(ddof=1)/np.sqrt(n);m=x.mean();half=stats.t.ppf(.95,n-1)*se + p=max(stats.t.sf((m+margin)/se,n-1),stats.t.cdf((m-margin)/se,n-1)) if se else float(abs(m)>=margin) + return dict(mean=float(m),margin=margin,low90=float(m-half),high90=float(m+half),p_tost=float(p),equivalent=bool(p<.05)) + +def crossed_bootstrap(d0,a0,d1,a1,den0,den1,reps=10000,seed=90221): + # arrays [seed, sample], shared channel bootstrap and seed indices across all arms. + rng=np.random.default_rng(seed);ns,n=d0.shape;out=[] + for _ in range(reps): + w=rng.multinomial(n,np.full(n,1/n));ids=rng.integers(ns,size=ns) + g0=10*np.log10((d0@w)/(a0@w));g1=10*np.log10((d1@w)/(a1@w)) + out.append(np.mean((g1-g0)[ids])) + return np.asarray(out) diff --git a/pace_revision_2/pace/models/__init__.py b/pace_revision_2/pace/models/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..cbd5017e387a77228a8043e5806389cc91e5d6f1 --- /dev/null +++ b/pace_revision_2/pace/models/__init__.py @@ -0,0 +1,77 @@ +import numpy as np +import torch +from torch import nn +from .compact import hybrid,CNN +from .reesnet import ReEsNet +from .channelformer import Channelformer +from .fortitran import FortiTran +from .helena import Helena +from ..classical import interpolation,basis,gains +from ..config import seed + +def ri(x):return torch.stack((x.real,x.imag),1) +def cx(x):return torch.complex(x[:,0],x[:,1]) + +class Estimator(nn.Module): + def __init__(self,g,cov,bem,arch='compact',arm='D',anchor='bem',info=False,scaled=False): + super().__init__();self.g=g;self.bem=bem;self.arch=arch;self.arm=arm;self.anchor=anchor;self.info=info;self.scaled=scaled + self.cov=cov;self._gains={} + self.register_buffer('L',torch.tensor(interpolation(g),dtype=torch.complex128)) + self.register_buffer('B',torch.tensor(basis(g,bem)[0],dtype=torch.complex128)) + self.register_buffer('su',torch.tensor(1.));self.register_buffer('sr',torch.tensor(1.)) + rng=np.random.default_rng(seed('FIXED','main',0,'sham')) + self.register_buffer('permutation',torch.tensor(rng.permutation(g.M))) + self.register_buffer('signs',torch.tensor(rng.choice([-1,1],g.M),dtype=torch.float64)) + if arch in ('compact','wide'):self.net=hybrid(g,arch=='wide',5 if info else 3) + elif arch=='cnn16':self.net=CNN(16,5 if info else 3) + elif arch=='reesnet':self.net=ReEsNet(g.S,g.F,None,len(g.pilot_symbols),len(g.pf)) + elif arch=='channelformer':self.net=Channelformer(g.S,g.F,g.P) + elif arch in ('fortitran','adafortitran'):self.net=FortiTran(g,arch=='adafortitran') + elif arch=='helena':self.net=Helena(g.F,g.S) + else:raise ValueError(arch) + def anchor_value(self,batch,n0=None): + z=batch['z'].to(self.L.device).to(torch.complex128);h=batch.get('h');n0=batch['n0'] if n0 is None else n0 + if self.arm=='D':return torch.zeros((len(z),self.g.S,self.g.F),device=z.device,dtype=torch.complex64) + if self.anchor=='oracle': + if h is None:raise ValueError('Oracle PH requires a labeled diagnostic batch') + flat=h.to(z.device).to(torch.complex128).flatten(1);out=(flat@self.B.conj())@self.B.T + else: + out=torch.empty((len(z),self.g.M),device=z.device,dtype=torch.complex128) + for value in torch.unique(n0): + v=float(value);key=(self.anchor,v,str(z.device)) + if key not in self._gains: + self._gains[key]=torch.tensor(gains(self.g,self.cov,self.bem,'bem' if self.anchor=='sham' else self.anchor,v),device=z.device,dtype=torch.complex128) + idx=n0==value;out[idx]=z[idx]@self._gains[key].T + if self.anchor=='sham':out=out[:,self.permutation]*self.signs + return out.reshape(-1,self.g.S,self.g.F).to(torch.complex64) + def inputs(self,batch): + z=batch['z'].to(self.L.device);u=(z.to(torch.complex128)@self.L.T).reshape(-1,self.g.S,self.g.F).to(torch.complex64) + b=self.anchor_value(batch);q=(-torch.log10(batch['n0'].to(z.device))/2.5)[:,None,None,None].expand(-1,1,self.g.S,self.g.F) + return u,b,q + def forward(self,batch): + z=batch['z'].to(self.L.device).to(torch.complex64) + if self.arch=='reesnet':return cx(self.net(ri(z.reshape(-1,len(self.g.pilot_symbols),len(self.g.pf))))) + if self.arch=='channelformer':return cx(self.net(ri(z))) + if self.arch in ('fortitran','adafortitran'): + meta=torch.stack([batch[k] for k in ('snr','ds','fd')],-1).to(z.device) + return self.net(z,meta) + if self.arch=='helena': + sparse=torch.zeros((len(z),self.g.M),device=z.device,dtype=z.dtype);sparse[:,self.g.pilots]=z + return self.net(sparse.reshape(-1,self.g.S,self.g.F)) + u,b,q=self.inputs(batch);x=u-b if self.arm=='A-res' else u + if self.scaled:x=x/self.su + planes=[ri(x)] + if self.info:planes.append(ri(b) if self.arm=='A-res' else torch.zeros_like(ri(b))) + planes.append(q);y=cx(self.net(torch.cat(planes,1))) + return b+self.sr*y if self.scaled else b+y + +class ResourceGate(nn.Module): + def __init__(self): + super().__init__();self.register_buffer('mean',torch.zeros(1,7,1,1));self.register_buffer('std',torch.ones(1,7,1,1)) + self.net=nn.Sequential(nn.Conv2d(9,16,3,padding=1),nn.ReLU(),nn.Conv2d(16,16,3,padding=1),nn.ReLU(),nn.Conv2d(16,1,1),nn.Sigmoid()) + nn.init.zeros_(self.net[4].weight);nn.init.constant_(self.net[4].bias,np.log(.1/.9)) + def features(self,u,d,a,mask,q): + f=torch.cat([ri(u),ri(d),ri(a),torch.log1p(abs(a-d)**2)[:,None]],1) + return torch.cat([(f-self.mean)/self.std,mask.expand(len(u),1,*u.shape[1:]),q],1) + def forward(self,u,d,a,mask,q): + alpha=self.net(self.features(u,d,a,mask,q))[:,0];return d+alpha*(a-d),alpha diff --git a/pace_revision_2/pace/models/__pycache__/__init__.cpython-311.pyc b/pace_revision_2/pace/models/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..bcd82bf8f1ba81acba84a138f38a44907871ec05 Binary files /dev/null and b/pace_revision_2/pace/models/__pycache__/__init__.cpython-311.pyc differ diff --git a/pace_revision_2/pace/models/__pycache__/base.cpython-311.pyc b/pace_revision_2/pace/models/__pycache__/base.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..eaba4c198fc20fde23740414f0ca4adc92e12ee8 Binary files /dev/null and b/pace_revision_2/pace/models/__pycache__/base.cpython-311.pyc differ diff --git a/pace_revision_2/pace/models/__pycache__/channelformer.cpython-311.pyc b/pace_revision_2/pace/models/__pycache__/channelformer.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c269e75ef2a7c9049b455d5386ca126d904a8e83 Binary files /dev/null and b/pace_revision_2/pace/models/__pycache__/channelformer.cpython-311.pyc differ diff --git a/pace_revision_2/pace/models/__pycache__/compact.cpython-311.pyc b/pace_revision_2/pace/models/__pycache__/compact.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..aa6f0d655306d023e74aeecc8a746db9490a77d0 Binary files /dev/null and b/pace_revision_2/pace/models/__pycache__/compact.cpython-311.pyc differ diff --git a/pace_revision_2/pace/models/__pycache__/deterministic.cpython-311.pyc b/pace_revision_2/pace/models/__pycache__/deterministic.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c01c6303393192f8d58fed02a57096743f878127 Binary files /dev/null and b/pace_revision_2/pace/models/__pycache__/deterministic.cpython-311.pyc differ diff --git a/pace_revision_2/pace/models/__pycache__/fortitran.cpython-311.pyc b/pace_revision_2/pace/models/__pycache__/fortitran.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..985cfac66dcda014536e3df824d69fde4e63897e Binary files /dev/null and b/pace_revision_2/pace/models/__pycache__/fortitran.cpython-311.pyc differ diff --git a/pace_revision_2/pace/models/__pycache__/helena.cpython-311.pyc b/pace_revision_2/pace/models/__pycache__/helena.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b586bbd49ef8bcd9a79c250140e5143dd481f516 Binary files /dev/null and b/pace_revision_2/pace/models/__pycache__/helena.cpython-311.pyc differ diff --git a/pace_revision_2/pace/models/__pycache__/hybrid_cnn_lstm.cpython-311.pyc b/pace_revision_2/pace/models/__pycache__/hybrid_cnn_lstm.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..8476a0015593ed14f2805df707fa4d4fe0a233ac Binary files /dev/null and b/pace_revision_2/pace/models/__pycache__/hybrid_cnn_lstm.cpython-311.pyc differ diff --git a/pace_revision_2/pace/models/__pycache__/reesnet.cpython-311.pyc b/pace_revision_2/pace/models/__pycache__/reesnet.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..73729bc8939d567f22e1a79440a36ce60b7701ee Binary files /dev/null and b/pace_revision_2/pace/models/__pycache__/reesnet.cpython-311.pyc differ diff --git a/pace_revision_2/pace/models/base.py b/pace_revision_2/pace/models/base.py new file mode 100644 index 0000000000000000000000000000000000000000..dff4266d188efa06fb990e38352aca705b511e5c --- /dev/null +++ b/pace_revision_2/pace/models/base.py @@ -0,0 +1,67 @@ +"""Base class and IO contract for channel-estimator models. + +All estimator models consume and produce real/imag-stacked CFR tensors of +shape ``[batch, 2, num_ofdm_symbols, num_subcarriers]`` (channels-first for +PyTorch convolutions). The two channels are the real and imaginary parts. + +Keeping a single contract lets the trainer, evaluator, and (later) alternative +architectures be swapped without touching call sites. +""" + +from __future__ import annotations + +from abc import abstractmethod + +import torch +from torch import nn + + +class BaseEstimatorModel(nn.Module): + """Abstract base for CFR estimator networks. + + Subclasses implement :meth:`forward` mapping an input tensor + ``[B, 2, S, F]`` to an output tensor of the same shape. + """ + + def __init__(self, num_ofdm_symbols: int, num_subcarriers: int) -> None: + """Store grid dimensions used for shape checks. + + Args: + num_ofdm_symbols: Number of OFDM symbols (S). + num_subcarriers: Number of subcarriers (F). + """ + super().__init__() + self.num_ofdm_symbols = num_ofdm_symbols + self.num_subcarriers = num_subcarriers + + @abstractmethod + def forward(self, x: torch.Tensor) -> torch.Tensor: + """Map input CFR estimate to refined CFR estimate. + + Args: + x: Input tensor ``[B, 2, S, F]``. + + Returns: + Output tensor ``[B, 2, S, F]``. + """ + raise NotImplementedError + + def check_io_shapes(self, x: torch.Tensor, y: torch.Tensor) -> None: + """Validate that input and output match the expected grid shape. + + Args: + x: Input tensor. + y: Output tensor. + + Raises: + ValueError: If either tensor has an unexpected shape. + """ + expected = (2, self.num_ofdm_symbols, self.num_subcarriers) + if tuple(x.shape[1:]) != expected: + raise ValueError(f"input shape {tuple(x.shape[1:])} != expected {expected}") + if tuple(y.shape[1:]) != expected: + raise ValueError(f"output shape {tuple(y.shape[1:])} != expected {expected}") + + def num_parameters(self) -> int: + """Return the total number of trainable parameters.""" + return sum(p.numel() for p in self.parameters() if p.requires_grad) diff --git a/pace_revision_2/pace/models/channelformer.py b/pace_revision_2/pace/models/channelformer.py new file mode 100644 index 0000000000000000000000000000000000000000..457f3009a633284ab35ff134795e80bc218e6c36 --- /dev/null +++ b/pace_revision_2/pace/models/channelformer.py @@ -0,0 +1,379 @@ +"""Audited offline Channelformer adaptation (Luan & Thompson, IEEE TWC 2023). + +Reference: D. Luan and J. Thompson, "Channelformer: Attention based Neural +Solution for Wireless Channel Estimation and Effective Online Training," IEEE +Transactions on Wireless Communications, 2023 (arXiv:2302.04368). Official +MATLAB code: github.com/dianixn/Channelformer (offline == package ``+HA03``). + +This module reproduces the **unpruned offline** Channelformer exactly as the +official ``+transformer/model.m`` executes it, with every architectural detail +resolved from the MATLAB source rather than the paper prose (the two differ in +places; the source is authoritative). Resolved facts (see +``CF_RESOLVED_FROM_SOURCE.md`` for the full audit): + +Tensor semantics (the subtle part). In MATLAB the pilot input is a dlarray of +shape ``[F, 2, N]`` where ``F`` is the pilot-vector length (72 paper / 48 ours), +the ``2`` is the real/imag plane, and ``N`` is batch. The encoder attention's +projection ``dlmtimes(W[3F,F], X[F,2,N]) -> [3F,2,N]`` mixes across the ``F`` +axis, so: + + * the attention **model dimension** d_model == F (the pilot-vector length), + * the attention **sequence** is the 2 re/im planes (T = 2 tokens), + * ``NumHeads`` divides F and d_k = F / NumHeads. + +The FeedforwardNN ("Pre-Network" in the paper) and the whole decoder then treat +the ``[F, 2]`` map as a single-channel 2-D image (height F, width 2) and apply +``'same'`` 2-D convolutions over it. The decoder FC upsample maps the F axis up +to ``out_len = S * F_full`` (freq-fastest / column-major of ``[F_full, S]``), +producing the full-slot channel. + +Forward order (from ``model.m``), exactly: + + Z = X # [B, 1, F, 2] (torch layout) + Z = EncoderBlock(Z) x Encoder_layers # attention + FFN, post-norm + Z = conv_head(Z) # 1 -> N_dec, 5x5 'same' + Z = DecoderBlock(Z) x Decoder_layers # residual conv, post-norm + Z = fc_upsample(Z) # F -> out_len (per token,chan) + Z = conv_out(Z) # N_dec -> 1, 5x5 'same' + +Post-norm LayerNorm (``normalization.m``) is over MATLAB dimension 1 (the F +axis), eps 1e-5, affine. GeLU is the tanh approximation (``gelu.m``). + +The network's raw output is ``[B, 2, out_len]`` with ``out_len`` ordered +freq-fastest; the estimator wrapper reshapes it to the project's ``[B, 2, S, F]`` +CFR contract. Keeping this module pure (pilots -> flat full-slot) makes the +paper-grid fidelity gate a direct shape/param check. +""" + +from __future__ import annotations + +import torch +from torch import nn + +from types import SimpleNamespace as ModelConfig +from .base import BaseEstimatorModel + + +class _LayerNormDim1(nn.Module): + """LayerNorm over the F (feature) axis of a ``[B, C, F, T]`` map, affine per-F. + + Mirrors the MATLAB ``normalization.m``: normalize over dimension 1 (the F + axis) with eps=1e-5 and a per-F affine gain/bias broadcast across the token + (T) and channel (C) axes. The affine parameters have length F, exactly as the + source (``ln_*_g_0``/``ln_*_b_0`` are ``[F, 1]``). + """ + + def __init__(self, feature_size: int, eps: float = 1e-5) -> None: + super().__init__() + self.eps = float(eps) + # Affine over the F axis; shape [1,1,F,1] to broadcast across B,C,T. + self.gain = nn.Parameter(torch.ones(1, 1, feature_size, 1)) + self.bias = nn.Parameter(torch.zeros(1, 1, feature_size, 1)) + + def forward(self, x: torch.Tensor) -> torch.Tensor: + # x: [B, C, F, T]; normalize over dim=2 (F). + mean = x.mean(dim=2, keepdim=True) + var = ((x - mean) ** 2).mean(dim=2, keepdim=True) + x = (x - mean) / torch.sqrt(var + self.eps) + return self.gain * x + self.bias + + +class _EncoderAttention(nn.Module): + """Single-block multi-head self-attention over the T=2 (re/im) token axis. + + Reproduces ``+layer/attention.m`` + ``multiheadAttention.m``. The input map is + ``[B, 1, F, T]`` (single channel, F features, T=2 tokens). The combined + projection ``W[3F, F]`` mixes across F to produce Q, K, V each of model-dim F; + heads split F into ``NumHeads`` groups of size ``d_k = F/NumHeads``; scaled + dot-product attention runs over the T tokens; the output projection ``W[F,F]`` + maps back. Weight layout matches the source: a single Linear(F -> 3F) for + QKV (rows Q|K|V), a Linear(F -> F) output projection. + """ + + def __init__(self, feature_size: int, num_heads: int) -> None: + super().__init__() + if feature_size % num_heads != 0: + raise ValueError( + f"feature_size {feature_size} must be divisible by num_heads {num_heads}" + ) + self.F = feature_size + self.H = num_heads + self.d_k = feature_size // num_heads + # attn_c_attn_w_0: [3F, F] (+ bias 3F) ; attn_c_proj_w_0: [F, F] (+ bias F). + self.qkv = nn.Linear(feature_size, 3 * feature_size, bias=True) + self.proj = nn.Linear(feature_size, feature_size, bias=True) + + def forward(self, x: torch.Tensor) -> torch.Tensor: + # x: [B, 1, F, T] -> tokens as [B, T, F] (drop the singleton channel). + b, c, F, T = x.shape + assert c == 1 and F == self.F + seq = x.squeeze(1).permute(0, 2, 1).contiguous() # [B, T, F] + qkv = self.qkv(seq) # [B, T, 3F] + q, k, v = qkv.split(self.F, dim=-1) # each [B, T, F] + + def split_heads(t: torch.Tensor) -> torch.Tensor: + # [B, T, F] -> [B, H, T, d_k] + return t.view(b, T, self.H, self.d_k).permute(0, 2, 1, 3).contiguous() + + qh, kh, vh = split_heads(q), split_heads(k), split_heads(v) + # scores over tokens: [B, H, T, T], scaled by sqrt(d_k) (== source sqrt(size(Q,1))). + scores = torch.matmul(qh, kh.transpose(-2, -1)) / (self.d_k ** 0.5) + attn = torch.softmax(scores, dim=-1) + ctx = torch.matmul(attn, vh) # [B, H, T, d_k] + merged = ctx.permute(0, 2, 1, 3).contiguous().view(b, T, self.F) # [B, T, F] + out = self.proj(merged) # [B, T, F] + # back to map [B, 1, F, T] + return out.permute(0, 2, 1).unsqueeze(1).contiguous() + + +class _FeedforwardNN(nn.Module): + """Convolutional feed-forward ("Pre-Network"): conv 1->N_enc, GeLU, conv N_enc->1. + + Reproduces ``+layer/FeedforwardNN.m``: two ``'same'`` 3x3 convolutions over + the ``[F, T]`` map with a tanh-GeLU between. Channels 1 -> N_encoder -> 1. + """ + + def __init__(self, n_encoder: int) -> None: + super().__init__() + self.conv1 = nn.Conv2d(1, n_encoder, kernel_size=3, padding=1) + self.act = nn.GELU(approximate="tanh") + self.conv2 = nn.Conv2d(n_encoder, 1, kernel_size=3, padding=1) + + def forward(self, x: torch.Tensor) -> torch.Tensor: + return self.conv2(self.act(self.conv1(x))) + + +class _EncoderBlock(nn.Module): + """Post-norm attention + FFN encoder block (``+HA03/Encoder_block.m``). + + A = attention(X); A = A + X; A = LN1(A) + Z = FFN(A); Z = Z + A; Z = LN2(Z) + """ + + def __init__(self, feature_size: int, num_heads: int, n_encoder: int) -> None: + super().__init__() + self.attn = _EncoderAttention(feature_size, num_heads) + self.ln1 = _LayerNormDim1(feature_size) + self.ffn = _FeedforwardNN(n_encoder) + self.ln2 = _LayerNormDim1(feature_size) + + def forward(self, x: torch.Tensor) -> torch.Tensor: + a = self.attn(x) + a = a + x + a = self.ln1(a) + z = self.ffn(a) + z = z + a + z = self.ln2(z) + return z + + +class _DecoderBlock(nn.Module): + """Post-norm residual conv block (``+HA03/Decoder_block.m``). + + Y = conv1(X); Y = relu(Y); Y = conv2(Y); Y = Y + X; Y = LN(Y) + + Both convs are ``'same'`` 5x5, N_decoder -> N_decoder. The LayerNorm affine + is over the F axis (``ln_de_w3``/``ln_de_b3`` are ``[F,1]``). + """ + + def __init__(self, feature_size: int, n_decoder: int, gamma: int = 5) -> None: + super().__init__() + pad = gamma // 2 + self.conv1 = nn.Conv2d(n_decoder, n_decoder, kernel_size=gamma, padding=pad) + self.relu = nn.ReLU(inplace=True) + self.conv2 = nn.Conv2d(n_decoder, n_decoder, kernel_size=gamma, padding=pad) + self.ln = _LayerNormDim1(feature_size) + + def forward(self, x: torch.Tensor) -> torch.Tensor: + y = self.conv1(x) + y = self.relu(y) + y = self.conv2(y) + y = y + x + y = self.ln(y) + return y + + +class Channelformer(BaseEstimatorModel): + """Faithful offline Channelformer: pilots -> flat full-slot CFR. + + The module consumes the pilot LS vector as a ``[B, 1, F, 2]`` map (F = pilot + vector length, 2 = re/im tokens) and produces a ``[B, 2, out_len]`` flat + estimate with ``out_len = S * F_full`` (freq-fastest). The estimator wrapper + reshapes the flat output into the project's ``[B, 2, S, F_full]`` contract. + + Shapes at the paper grid (F=72, F_full=72, S=14): out_len=1008. + Shapes at our grid (F=48, F_full=48, S=14): out_len=672. + """ + + #: expose the paper's attention config as class-visible parameters for tests + def __init__( + self, + num_ofdm_symbols: int, + num_subcarriers: int, + feature_size: int, + num_heads: int = 2, + num_encoder_layers: int = 1, + num_decoder_layers: int = 3, + n_encoder_filters: int = 5, + n_decoder_filters: int = 12, + gamma: int = 5, + ) -> None: + """Build the offline Channelformer for a specific pilot/grid geometry. + + Args: + num_ofdm_symbols: Full-grid OFDM symbols S (output time size). + num_subcarriers: Full-grid subcarriers F_full (output freq size). + feature_size: Pilot-vector length F (== N_pt * N_pf), the attention + model dimension. Must be divisible by ``num_heads``. + num_heads: Attention heads (offline pretrained weights use 2). + num_encoder_layers: Encoder blocks (offline: 1). + num_decoder_layers: Decoder residual blocks K (offline: 3). + n_encoder_filters: FeedforwardNN conv width N_Encoder (offline: 5). + n_decoder_filters: Decoder conv width N_Decoder (offline: 12). + gamma: Decoder conv kernel size (offline: 5). + """ + super().__init__(num_ofdm_symbols, num_subcarriers) + self.feature_size = int(feature_size) + self.num_heads = int(num_heads) + self.out_len = int(num_ofdm_symbols * num_subcarriers) + self.n_decoder_filters = int(n_decoder_filters) + + self.encoder = nn.ModuleList( + [ + _EncoderBlock(feature_size, num_heads, n_encoder_filters) + for _ in range(num_encoder_layers) + ] + ) + pad = gamma // 2 + # decoder head conv: 1 -> N_decoder, 5x5 'same' (model.m, applied before blocks) + self.conv_head = nn.Conv2d(1, n_decoder_filters, kernel_size=gamma, padding=pad) + self.decoder = nn.ModuleList( + [ + _DecoderBlock(feature_size, n_decoder_filters, gamma=gamma) + for _ in range(num_decoder_layers) + ] + ) + # FC upsample: maps the F axis to out_len (ln_de_w1 = [out_len, F] + bias). + self.fc_upsample = nn.Linear(feature_size, self.out_len, bias=True) + # final conv: N_decoder -> 1, 5x5 'same' + self.conv_out = nn.Conv2d(n_decoder_filters, 1, kernel_size=gamma, padding=pad) + + def forward(self, x: torch.Tensor) -> torch.Tensor: + """Map the pilot vector to the flat full-slot estimate. + + Args: + x: Pilot map ``[B, 1, F, 2]`` (F features, 2 = re/im tokens). A + ``[B, 2, F]`` or ``[B, 2, N_pt, N_pf]`` input is also accepted + and reshaped to the canonical ``[B, 1, F, 2]`` layout. + + Returns: + Flat CFR estimate ``[B, 2, out_len]`` (out_len = S * F_full, + freq-fastest). + """ + x = self._to_canonical(x) # [B, 1, F, 2] + z = x + for block in self.encoder: + z = block(z) # [B, 1, F, 2] + z = self.conv_head(z) # [B, N_dec, F, 2] + for block in self.decoder: + z = block(z) # [B, N_dec, F, 2] + # FC upsample over the F axis: [B, N_dec, F, 2] -> [B, N_dec, out_len, 2] + z = z.permute(0, 1, 3, 2).contiguous() # [B, N_dec, 2, F] + z = self.fc_upsample(z) # [B, N_dec, 2, out_len] + z = z.permute(0, 1, 3, 2).contiguous() # [B, N_dec, out_len, 2] + z = self.conv_out(z) # [B, 1, out_len, 2] + # squeeze channel -> [B, out_len, 2]; move the re/im token axis to front + # so the result is [B, 2, out_len] (re/im as the 2 output channels). + z = z.squeeze(1) # [B, out_len, 2] + flat = z.permute(0, 2, 1).contiguous() # [B, 2, out_len] + # Reshape the flat full-slot vector to the project CFR contract [B,2,S,F]. + # out_len is ordered freq-fastest (index = f + F_full*t), which is exactly + # the C-order layout of [S, F_full]; so a plain view recovers the grid. + b = flat.shape[0] + return flat.reshape(b, 2, self.num_ofdm_symbols, self.num_subcarriers) + + def _to_canonical(self, x: torch.Tensor) -> torch.Tensor: + """Coerce an accepted input layout to ``[B, 1, F, 2]``. + + Accepts: + * ``[B, 1, F, 2]`` (already canonical), + * ``[B, 2, F]`` (re/im channel first, flat pilot vector), + * ``[B, 2, N_pt, N_pf]`` (pilot subgrid; flattened freq-fastest to F). + """ + if x.dim() == 4 and x.shape[1] == 1 and x.shape[3] == 2: + return x + if x.dim() == 4 and x.shape[1] == 2: + # pilot subgrid [B, 2, N_pt, N_pf] -> F = N_pt*N_pf, freq-fastest + b, two, n_pt, n_pf = x.shape + F = n_pt * n_pf + # flatten (N_pt, N_pf) with freq (N_pf) fastest to match the pilot vector + flat = x.reshape(b, two, F) # row-major: symbol-major, freq-fastest within symbol + return flat.permute(0, 2, 1).unsqueeze(1).contiguous() # [B,1,F,2] + if x.dim() == 3 and x.shape[1] == 2: + b, two, F = x.shape + return x.permute(0, 2, 1).unsqueeze(1).contiguous() # [B,1,F,2] + raise ValueError( + f"unexpected Channelformer input shape {tuple(x.shape)}; " + "expected [B,1,F,2], [B,2,F], or [B,2,N_pt,N_pf]" + ) + + def attention_macs(self) -> int: + """Per-sample MACs of the functional attention matmuls (QK^T and AV). + + The module-walk MAC counter sees the QKV/out ``Linear`` projections but + NOT the two batched matmuls inside scaled dot-product attention. This + hook reports exactly those, so the generic counter can add them: + + scores QK^T : H * T * T * d_k + context A V : H * T * T * d_k + + summed over all encoder blocks, where T = 2 (re/im tokens), H = num_heads, + d_k = F / H. (Per sample; batch is handled by the counter.) + """ + per_block = 0 + for block in self.encoder: + attn = block.attn + T = 2 + per_block += 2 * attn.H * T * T * attn.d_k + return int(per_block) + + +def build_channelformer( + num_ofdm_symbols: int, + num_subcarriers: int, + cfg: ModelConfig, + feature_size: int | None = None, + num_heads: int = 2, + num_encoder_layers: int = 1, + num_decoder_layers: int = 3, + n_encoder_filters: int = 5, + n_decoder_filters: int = 12, + gamma: int = 5, +) -> BaseEstimatorModel: + """Factory for the faithful offline :class:`Channelformer`. + + Args: + num_ofdm_symbols: Full-grid S. + num_subcarriers: Full-grid F_full. + cfg: Model configuration (signature parity; Channelformer uses its own + offline hyperparameters, not the Hybrid CNN-LSTM width). + feature_size: Pilot-vector length F. If ``None``, defaults to the + project DM-RS geometry (2 pilot symbols x comb-2 => F = 2 * F_full/2 + = F_full). The baseline wrapper passes the true F from the config. + num_heads, num_encoder_layers, num_decoder_layers, n_encoder_filters, + n_decoder_filters, gamma: Offline Channelformer hyperparameters. + """ + if feature_size is None: + # project default: 2 pilot symbols, comb-2 -> N_pf = F_full/2, F = 2*N_pf = F_full + feature_size = num_subcarriers + return Channelformer( + num_ofdm_symbols, + num_subcarriers, + feature_size=feature_size, + num_heads=num_heads, + num_encoder_layers=num_encoder_layers, + num_decoder_layers=num_decoder_layers, + n_encoder_filters=n_encoder_filters, + n_decoder_filters=n_decoder_filters, + gamma=gamma, + ) diff --git a/pace_revision_2/pace/models/compact.py b/pace_revision_2/pace/models/compact.py new file mode 100644 index 0000000000000000000000000000000000000000..05629f28de0afe6754d6ba404c7c87cc8db69843 --- /dev/null +++ b/pace_revision_2/pace/models/compact.py @@ -0,0 +1,14 @@ +from types import SimpleNamespace +from torch import nn +from .hybrid_cnn_lstm import HybridCNNLSTM + +def hybrid(g,wide=False,planes=3): + return HybridCNNLSTM(g.S,g.F,SimpleNamespace(conv_channels=32 if wide else 8,lstm_feature_dim=32 if wide else 16,lstm_hidden=32 if wide else 16,input_planes=planes,smoothing_kernel=3,use_time_flip=True,leaky_relu_slope=.1)) +class Block(nn.Module): + def __init__(self,c): + super().__init__();self.net=nn.Sequential(nn.Conv2d(c,c,3,padding=1),nn.ReLU(),nn.Conv2d(c,c,3,padding=1)) + def forward(self,x):return x+self.net(x) +class CNN(nn.Module): + def __init__(self,width=16,planes=3): + super().__init__();self.net=nn.Sequential(nn.Conv2d(planes,width,3,padding=1),nn.ReLU(),*[Block(width) for _ in range(4)],nn.Conv2d(width,2,3,padding=1)) + def forward(self,x):return self.net(x) diff --git a/pace_revision_2/pace/models/deterministic.py b/pace_revision_2/pace/models/deterministic.py new file mode 100644 index 0000000000000000000000000000000000000000..581992b19897e433aa0d1d91322fe85a6cca4653 --- /dev/null +++ b/pace_revision_2/pace/models/deterministic.py @@ -0,0 +1,14 @@ +"""Exact replication padding without CUDA ReplicationPad2d backward atomics.""" +import torch +from torch import nn +from torch.nn import functional as F +class ReplicateConv2d(nn.Conv2d): + def __init__(self,cin,cout,kernel_size=3): + super().__init__(cin,cout,kernel_size,padding=0,bias=True) + self.border=kernel_size//2 + def forward(self,x): + p=self.border + if p: + x=torch.cat((x[:,:,:,:1].expand(-1,-1,-1,p),x,x[:,:,:,-1:].expand(-1,-1,-1,p)),dim=3) + x=torch.cat((x[:,:,:1,:].expand(-1,-1,p,-1),x,x[:,:,-1:,:].expand(-1,-1,p,-1)),dim=2) + return F.conv2d(x,self.weight,self.bias,self.stride,0,self.dilation,self.groups) diff --git a/pace_revision_2/pace/models/fortitran.py b/pace_revision_2/pace/models/fortitran.py new file mode 100644 index 0000000000000000000000000000000000000000..d5167198427534aad713ea67775e490e37ba0a39 --- /dev/null +++ b/pace_revision_2/pace/models/fortitran.py @@ -0,0 +1,28 @@ +"""Independent implementation of the pinned released FortiTran operators.""" +import torch +from torch import nn +class Enhance(nn.Sequential): + def __init__(self):super().__init__(nn.Conv2d(1,8,3,padding=1),nn.ReLU(),nn.Conv2d(8,32,3,padding=1),nn.ReLU(),nn.Conv2d(32,8,3,padding=1),nn.ReLU(),nn.Conv2d(8,1,3,padding=1)) +class FortiTran(nn.Module): + def __init__(self,g,adaptive=False): + super().__init__();self.g=g;self.adaptive=adaptive + self.up=nn.Linear(g.P,g.M);self.first=Enhance();self.unfold=nn.Unfold((3,2),stride=(3,2)) + if adaptive:self.metadata=nn.ModuleList([nn.Sequential(nn.Linear(1,7),nn.ReLU(),nn.Linear(7,42),nn.ReLU(),nn.Linear(42,560)) for _ in range(3)]) + self.embed=nn.Linear(12 if adaptive else 6,32) + self.position=nn.Parameter(torch.zeros(1,512,32));nn.init.trunc_normal_(self.position,std=.02) + layer=nn.TransformerEncoderLayer(32,4,64,.1,'gelu',batch_first=True,norm_first=False,layer_norm_eps=1e-5) + self.transform=nn.TransformerEncoder(layer,6 if adaptive else 3,enable_nested_tensor=False) + self.project=nn.Linear(32,6);self.fold=nn.Fold((g.F,g.S),(3,2),stride=(3,2));self.last=Enhance() + def real_forward(self,z,meta): + x=self.first(self.up(z.flatten(1)).reshape(-1,1,self.g.F,self.g.S)) + t=self.unfold(x).transpose(1,2) + if self.adaptive: + tokens=[m(meta[:,i:i+1]).reshape(len(z),280,2) for i,m in enumerate(self.metadata)] + t=torch.cat([t,*tokens],-1) + t=self.embed(t)+self.position[:,:t.shape[1]] + t=self.project(self.transform(t));return self.last(x+self.fold(t.transpose(1,2))).squeeze(1) + def forward(self,z,meta=None): + # z canonical symbol-major; release flattens frequency-major. + p=z.reshape(-1,len(self.g.pilot_symbols),len(self.g.pf)).transpose(1,2).contiguous() + out=torch.complex(self.real_forward(p.real,meta),self.real_forward(p.imag,meta)) + return out.transpose(1,2).contiguous() diff --git a/pace_revision_2/pace/models/helena.py b/pace_revision_2/pace/models/helena.py new file mode 100644 index 0000000000000000000000000000000000000000..d129ce4018038f2b4aeafaafed946b00b96e5153 --- /dev/null +++ b/pace_revision_2/pace/models/helena.py @@ -0,0 +1,26 @@ +"""Saved Keras architecture, including per-head key_dim=64 and NHWC reshape.""" +import math, torch +from torch import nn +from torch.nn import functional as F +class Helena(nn.Module): + def __init__(self,carriers=120,symbols=14): + super().__init__();assert carriers%12==0 and symbols==14;self.F=carriers + self.conv1=nn.Conv2d(2,32,(12,2));self.conv2=nn.Conv2d(32,2,(6,7));self.drop=nn.Dropout(.1) + self.embed=nn.Linear(336,64);self.q=nn.Linear(64,256);self.k=nn.Linear(64,256);self.v=nn.Linear(64,256);self.attout=nn.Linear(256,64) + self.norm=nn.LayerNorm(64,eps=.001);self.squeeze=nn.Linear(64,16);self.excite=nn.Linear(16,64);self.out=nn.Linear(64,336) + for m in self.modules(): + if isinstance(m,(nn.Conv2d,nn.Linear)):nn.init.xavier_uniform_(m.weight);nn.init.zeros_(m.bias) + def forward(self,sparse): + # Input canonical complex B,S,F. All Keras spatial layers use F,S. + base=torch.stack([sparse.real,sparse.imag],-1).transpose(1,2).contiguous() + x=base.permute(0,3,1,2) + x=F.relu(self.conv1(F.pad(x,(0,1,5,6)))) + x=self.drop(F.relu(self.conv2(F.pad(x,(3,3,2,3))))) + t=x.permute(0,2,3,1).contiguous().reshape(len(x),self.F//12,336);e=self.embed(t) + def heads(layer):return layer(e).reshape(len(e),-1,4,64).transpose(1,2) + q,k,v=heads(self.q),heads(self.k),heads(self.v) + att=torch.softmax(q@k.transpose(-1,-2)/8,-1)@v + t=self.norm(e+self.attout(att.transpose(1,2).reshape(len(e),-1,256))) + gate=torch.sigmoid(self.excite(F.relu(self.squeeze(t.mean(1,keepdim=True))))) + out=self.out(t*gate).reshape(len(e),self.F,14,2)+base + out=out.transpose(1,2);return torch.complex(out[...,0],out[...,1]) diff --git a/pace_revision_2/pace/models/hybrid_cnn_lstm.py b/pace_revision_2/pace/models/hybrid_cnn_lstm.py new file mode 100644 index 0000000000000000000000000000000000000000..e15863cae28d01c045af40de327520132a61bf95 --- /dev/null +++ b/pace_revision_2/pace/models/hybrid_cnn_lstm.py @@ -0,0 +1,157 @@ +"""Hybrid CNN-LSTM channel estimator (reference reproduction). + +Faithful port of the reference architecture (De Filippo et al., EURASIP JWCN +2026, "Hybrid CNN-LSTM"): + + encoder: Conv2D over (freq, time) extracting features + compress: flatten and linearly compress the frequency axis into a compact + per-time-step feature vector of length D (reference: 32), giving + a sequence of length S -> shape [B, S, D] + TimeFlip: reverse the temporal axis so the LSTM starts from the most + recent OFDM symbol (reference finds this important) + LSTM: temporal modeling over the S-step sequence + (un-flip: restore temporal order) + expand: linear map back to the (C, F) feature map per time step + decoder: TransposedConv2D restores the (freq, time) grid + smoothing: a 3x3 Conv2D with 'same' padding reduces checkerboard artifacts + +Per the reference, **skip connections are omitted** (they were found +detrimental once DM-RS boosting yields accurate estimates). + +The reference targets a small footprint (~10^4-10^5 parameters). This port is +adapted from the prediction task to the *estimation* task: input and output are +the same grid ``[B, 2, S, F]``, so the decoder reconstructs the full slot +rather than a next-slot prediction. The architecture is otherwise unchanged. +""" + +from __future__ import annotations + +import torch +from torch import nn + +from types import SimpleNamespace as ModelConfig +from .base import BaseEstimatorModel +from .deterministic import ReplicateConv2d + + +class HybridCNNLSTM(BaseEstimatorModel): + """Hybrid CNN-LSTM CFR estimator operating on real/imag-stacked grids.""" + + def __init__( + self, + num_ofdm_symbols: int, + num_subcarriers: int, + cfg: ModelConfig, + ) -> None: + """Build the network. + + Args: + num_ofdm_symbols: Number of OFDM symbols (S). + num_subcarriers: Number of subcarriers (F). + cfg: Model hyperparameters. + """ + super().__init__(num_ofdm_symbols, num_subcarriers) + self._cfg = cfg + S = num_ofdm_symbols + F = num_subcarriers + C = cfg.conv_channels + D = cfg.lstm_feature_dim + slope = cfg.leaky_relu_slope + + # Encoder: Conv2D over (freq, time). 'same' padding preserves S,F so the + # per-time-step feature map has a fixed, known frequency size. + self.encoder = nn.Sequential( + nn.Conv2d(getattr(cfg, "input_planes", 3), C, kernel_size=3, padding=1), + nn.BatchNorm2d(C), + nn.LeakyReLU(slope), + ) + + # Frequency compression: reduce the (C, F) feature map at each time step + # to a compact D-dim vector, matching the reference's post-flatten + # sequence shape [B, S, D] (reference reports D = 32). This keeps the + # LSTM input small and the footprint at reference scale. + self.freq_compress = nn.Linear(C * F, D) + + self.lstm = nn.LSTM( + input_size=D, + hidden_size=cfg.lstm_hidden, + num_layers=1, + batch_first=True, + ) + + # Expand the LSTM output back to (C, F) so the decoder can restore the grid. + self.freq_expand = nn.Linear(cfg.lstm_hidden, C * F) + + # Decoder: TransposedConv2D (here 'same'-preserving) + smoothing conv. + pad = cfg.smoothing_kernel // 2 + self.decoder = nn.Sequential( + nn.ConvTranspose2d(C, C, kernel_size=3, padding=1), + nn.BatchNorm2d(C), + nn.LeakyReLU(slope), + ReplicateConv2d(C, 2, kernel_size=cfg.smoothing_kernel), + ) + + self._C = C + self._F = F + self._S = S + self._D = D + + def forward(self, x: torch.Tensor) -> torch.Tensor: + """Refine an input CFR estimate. + + Args: + x: Input tensor ``[B, 2, S, F]``. + + Returns: + Refined CFR tensor ``[B, 2, S, F]``. + """ + B = x.shape[0] + # Work in [B, C, F, S] so the LSTM sequence axis is time (S). + # Input is [B, 2, S, F] -> permute to [B, 2, F, S] for the conv/flatten. + x_fs = x.permute(0, 1, 3, 2).contiguous() # [B, 2, F, S] + + feat = self.encoder(x_fs) # [B, C, F, S] + + # Per-time-step feature map [B, S, C*F] -> compress to [B, S, D]. + flat = feat.permute(0, 3, 1, 2).contiguous().view(B, self._S, self._C * self._F) + seq = self.freq_compress(flat) # [B, S, D] + + if self._cfg.use_time_flip: + seq = torch.flip(seq, dims=[1]) + + lstm_out, _ = self.lstm(seq) # [B, S, hidden] + + if self._cfg.use_time_flip: + lstm_out = torch.flip(lstm_out, dims=[1]) + + expanded = self.freq_expand(lstm_out) # [B, S, C*F] + + # Restore [B, C, F, S] for the decoder. + dec_in = ( + expanded.view(B, self._S, self._C, self._F).permute(0, 2, 3, 1).contiguous() + ) + + out_fs = self.decoder(dec_in) # [B, 2, F, S] + out = out_fs.permute(0, 1, 3, 2).contiguous() # [B, 2, S, F] + return out + + +def build_model( + num_ofdm_symbols: int, num_subcarriers: int, cfg: ModelConfig +) -> BaseEstimatorModel: + """Factory returning an estimator model by name. + + Args: + num_ofdm_symbols: Number of OFDM symbols. + num_subcarriers: Number of subcarriers. + cfg: Model configuration (``cfg.name`` selects the architecture). + + Returns: + An instantiated :class:`BaseEstimatorModel`. + + Raises: + ValueError: If ``cfg.name`` is unknown. + """ + if cfg.name == "hybrid_cnn_lstm": + return HybridCNNLSTM(num_ofdm_symbols, num_subcarriers, cfg) + raise ValueError(f"unknown model name: {cfg.name!r}") diff --git a/pace_revision_2/pace/models/reesnet.py b/pace_revision_2/pace/models/reesnet.py new file mode 100644 index 0000000000000000000000000000000000000000..16efe3b8264014664361e1fd9a7ed54f53c9e050 --- /dev/null +++ b/pace_revision_2/pace/models/reesnet.py @@ -0,0 +1,172 @@ +"""Documented ReEsNet adaptation (Li et al., IEEE WCL 2020). + +Reference: L. Li, H. Chen, H.-H. Chang, L. Liu, "Deep Residual Learning Meets +OFDM Channel Estimation," IEEE Wireless Commun. Lett., 9(5):615-618, 2020. +Architecture as re-specified in Yang et al. (arXiv:2107.07161, Sec. III-B), +which reproduces ReEsNet and reports "ReEsNet 1" at ~27K params / ~54K FLOPs +using the original hyper-parameters. + +Original architecture (the faithful version implemented here): + + input : pilot LS estimates, [B, 2, N_pt, N_pf] (the LOW-RESOLUTION grid; + pilots only, NOT the interpolated full grid) + head : Conv2d(2 -> C, 3x3, same) -> [B, C, N_pt, N_pf] + body : n_blocks x ResBlock(C, 3x3) with identity skip, + then Conv2d(C -> C, 3x3, same), plus a global skip from the head + output (residual learning over the whole body) + up : ConvTranspose2d(C -> C) upsampling (N_pt,N_pf) -> (S, F) + out : Conv2d(C -> 2, 3x3, same) -> [B, 2, S, F] + +Defaults: C = 16 filters, n_blocks = 4, matching "ReEsNet 1". + +FIDELITY NOTE - input convention. The PACE pipeline's frozen estimator contract +feeds every estimator the *interpolated* full LS grid ``ls_grid`` [B, 2, S, F]. +The original ReEsNet instead consumes the *pilot subgrid* and learns the +upsampling itself via the transposed convolution - that upsampling is central to +what ReEsNet is. To reproduce ReEsNet faithfully (and to compare it on the input +it was designed for), this module extracts the pilot subgrid from ``ls_grid`` +inside the estimator wrapper and feeds the pilots-only tensor to the network, +which upsamples to the full grid. This is documented as an explicit modelling +decision, not silently reshaped. The alternative (feeding the interpolated grid +and using a same-size network) would be a *different* estimator ("ReEsNet-style +residual CNN on interpolated input"), which is exactly the role the direct +Hybrid CNN-LSTM and the ``ls_residual`` ablation already play. Keeping ReEsNet +faithful preserves the scientific meaning of the baseline. + +The upsampling transposed-convolution geometry is derived from the pilot vs full +grid sizes at build time, so the module adapts to the project's pilot pattern +(here N_pt=2, N_pf=24 -> S=14, F=48, i.e. 7x in time and 2x in frequency). +""" + +from __future__ import annotations + +import torch +from torch import nn + +from types import SimpleNamespace as ModelConfig +from .base import BaseEstimatorModel + + +class _ResBlock(nn.Module): + """Two 3x3 conv layers (C->C) with a ReLU between and an identity skip.""" + + def __init__(self, channels: int) -> None: + super().__init__() + self.conv1 = nn.Conv2d(channels, channels, kernel_size=3, padding=1) + self.relu = nn.ReLU(inplace=True) + self.conv2 = nn.Conv2d(channels, channels, kernel_size=3, padding=1) + + def forward(self, x: torch.Tensor) -> torch.Tensor: + return x + self.conv2(self.relu(self.conv1(x))) + + +def _upsample_params(n_in: int, n_out: int) -> tuple[int, int, int]: + """Return (kernel, stride, padding) for a 1-D transposed conv n_in -> n_out. + + ConvTranspose output length: (n_in - 1) * stride - 2*padding + kernel. + We use stride = round(n_out / n_in) and solve for a kernel with padding=1, + adjusting the kernel so the exact output length is achieved. + + Args: + n_in: Input length along this axis (pilot dimension). + n_out: Desired output length (full-grid dimension). + + Returns: + (kernel, stride, padding) producing exactly ``n_out`` from ``n_in``. + """ + if n_out == n_in: + return 3, 1, 1 # same-size 3x3 'same' + stride = max(1, round(n_out / n_in)) + padding = 1 + # kernel = n_out - (n_in - 1)*stride + 2*padding + kernel = n_out - (n_in - 1) * stride + 2 * padding + if kernel < 1: + stride = 1 + kernel = n_out - (n_in - 1) * stride + 2 * padding + return int(kernel), int(stride), int(padding) + + +class ReEsNet(BaseEstimatorModel): + """Faithful ReEsNet: residual CNN on pilots + transposed-conv upsampling.""" + + def __init__( + self, + num_ofdm_symbols: int, + num_subcarriers: int, + cfg: ModelConfig, + num_pilot_symbols: int, + num_pilot_subcarriers: int, + channels: int = 16, + num_blocks: int = 4, + ) -> None: + """Build the network for a specific pilot geometry. + + Args: + num_ofdm_symbols: Full-grid OFDM symbols S (output time size). + num_subcarriers: Full-grid subcarriers F (output freq size). + cfg: Model configuration (kept for signature parity; ReEsNet uses + its own width C rather than cfg.conv_channels). + num_pilot_symbols: Pilot OFDM-symbol count N_pt (input time size). + num_pilot_subcarriers: Pilot subcarrier count N_pf (input freq size). + channels: Feature width C (ReEsNet-1 uses 16). + num_blocks: Number of residual blocks (ReEsNet-1 uses 4). + """ + super().__init__(num_ofdm_symbols, num_subcarriers) + c = channels + self._n_pt = num_pilot_symbols + self._n_pf = num_pilot_subcarriers + + self.head = nn.Conv2d(2, c, kernel_size=3, padding=1) + self.blocks = nn.ModuleList([_ResBlock(c) for _ in range(num_blocks)]) + self.body_tail = nn.Conv2d(c, c, kernel_size=3, padding=1) + + kt, st, pt = _upsample_params(num_pilot_symbols, num_ofdm_symbols) + kf, sf, pf = _upsample_params(num_pilot_subcarriers, num_subcarriers) + self.upsample = nn.ConvTranspose2d( + c, c, kernel_size=(kt, kf), stride=(st, sf), padding=(pt, pf) + ) + self.out = nn.Conv2d(c, 2, kernel_size=3, padding=1) + + def forward(self, x: torch.Tensor) -> torch.Tensor: + """Map the pilot subgrid to the full-grid CFR estimate. + + Args: + x: Pilot LS estimates ``[B, 2, N_pt, N_pf]``. + + Returns: + Full-grid CFR estimate ``[B, 2, S, F]``. + """ + feat = self.head(x) + res = feat + for block in self.blocks: + res = block(res) + res = self.body_tail(res) + feat = feat + res + up = self.upsample(feat) + return self.out(up) + + +def build_reesnet( + num_ofdm_symbols: int, + num_subcarriers: int, + cfg: ModelConfig, + num_pilot_symbols: int = 2, + num_pilot_subcarriers: int = 24, + channels: int = 16, + num_blocks: int = 4, +) -> BaseEstimatorModel: + """Factory for the faithful :class:`ReEsNet`. + + Pilot geometry defaults match the project's DM-RS (2 pilot symbols, comb-2 => + 24 pilot subcarriers). The estimator wrapper passes the true geometry from the + config so this stays correct if the pilot pattern changes. + """ + return ReEsNet( + num_ofdm_symbols, + num_subcarriers, + cfg, + num_pilot_symbols=num_pilot_symbols, + num_pilot_subcarriers=num_pilot_subcarriers, + channels=channels, + num_blocks=num_blocks, + ) diff --git a/pace_revision_2/pace/physics.py b/pace_revision_2/pace/physics.py new file mode 100644 index 0000000000000000000000000000000000000000..2e57768a965f209e17fa0de455c02c816d395334 --- /dev/null +++ b/pace_revision_2/pace/physics.py @@ -0,0 +1,71 @@ +"""Exact within-CP LTV operator; pinned Sionna supplies path gains.""" +import numpy as np +from .config import seed,Condition +from .devices import sionna_device +PILOT=(1+1j)/np.sqrt(2) + +class Channel: + def __init__(self,grid,device='cpu'): + self.grid=grid;self.device=sionna_device(device);self.models={} + def paths(self,condition,bank,family,i): + import torch + from sionna.phy import config + from sionna.phy.channel.tr38901 import TDL + key=condition.key + if key not in self.models: + v=condition.fd*299792458/2e9 + self.models[key]=TDL(condition.profile,delay_spread=condition.ds_ns*1e-9,carrier_frequency=2e9,min_speed=v,max_speed=v,num_sinusoids=32,precision='double',device=self.device) + config.seed=seed(bank,family,i,'channel') + with torch.no_grad(): + a,tau=self.models[key](batch_size=1,num_time_steps=int(sum(self.grid.cp+self.grid.N)),sampling_frequency=self.grid.fs) + a=a.reshape(-1,a.shape[-1]).detach().cpu().numpy();tau=tau.reshape(-1).detach().cpu().numpy() + if max(tau)>=min(self.grid.cp)/self.grid.fs:raise ValueError('CP exceeded: continuous ISI implementation required') + useful=np.stack([a[:,s:s+self.grid.N] for s in self.grid.starts]) + return useful,tau + +def label(a,tau,g): + phase=np.exp(-2j*np.pi*g.active[:,None]*g.scs*tau[None,:]) + return a.mean(-1)@phase.T + +def waveform(x,a,tau,g): + bins=np.fft.fftfreq(g.N)*g.N + phase=np.exp(-2j*np.pi*bins[None,:]*g.scs*tau[:,None]) + full=np.zeros((g.S,g.N),complex);full[:,g.active%g.N]=x + delayed=np.fft.ifft(full[:,None,:]*phase[None,:,:],axis=-1,norm='ortho') + y=np.fft.fft((delayed*a).sum(1),axis=-1,norm='ortho') + return y[:,g.active%g.N] + +def operator(a,tau,g,s): + # Full FFT-domain G, with actual unshifted FFT-bin ordering. + phase=np.exp(-2j*np.pi*(np.fft.fftfreq(g.N)*g.N)[None,:]*g.scs*tau[:,None]) + delta=(np.arange(g.N)[:,None]-np.arange(g.N)[None,:])%g.N + spectrum=np.fft.fft(a[s],axis=-1)/g.N + return np.sum(spectrum[:,delta]*phase[:,None,:],axis=0) + +def random_grid(g,rng): + amp=np.array([-3,-1,3,1])/np.sqrt(10) + x=amp[rng.integers(0,4,(g.S,g.F))]+1j*amp[rng.integers(0,4,(g.S,g.F))] + x[g.mask]=PILOT;return x + +def sample(recipe,bank,i,condition=None,device='cpu',engine=None): + g=recipe.grid + # Physical family excludes fd and mode: Doppler and DIAG/WAVE pairs share latent paths. + c=condition or recipe.source + if condition is None and (recipe.broad or recipe.reference): + rng=np.random.default_rng(seed(bank,recipe.name,i,'settings')) + if recipe.reference:c=Condition('A',float(rng.choice(np.arange(25,301,25))),float(rng.choice(np.arange(50,1001,50)))) + else:c=Condition(str(rng.choice(['A','C'])),float(rng.choice([100,300])),float(rng.choice([10,100,500]))) + family=f'{g.scs:g}:{g.comb}:{g.pilot_symbols}:{c.profile}:{c.ds_ns:g}' + # Different source domains/bank recipes must be disjoint, while their TEST draws stay paired. + bankkey=bank if bank in ('TEST','QC','RECEIVER') else f'{recipe.name}:{bank}' + a,tau=(engine or Channel(g,device)).paths(c,bankkey,family,i) + h=label(a,tau,g) + rng=np.random.default_rng(seed(bankkey,family,i,'data_bits'));x=random_grid(g,rng) + y0=h*x if recipe.mode=='DIAG' else waveform(x,a,tau,g) + rng=np.random.default_rng(seed(bankkey,family,i,'pilot_noise')) + noise=(rng.standard_normal(g.P)+1j*rng.standard_normal(g.P))/np.sqrt(2) + z0=y0.reshape(-1)[g.pilots]/PILOT + # Balanced source strata are fixed; reference recipe samples SNR independently. + snr=float((0,5,10,15,20,25)[i%6]) + if recipe.reference:snr=float(rng.choice([0,5,10,15,20,25])) + return dict(h=h.astype(np.complex64),z0=z0.astype(np.complex64),noise=noise.astype(np.complex64),snr=np.float32(snr),fd=np.float32(c.fd),ds=np.float32(c.ds_ns),profile=np.int8(c.profile=='C'),id=np.int64(i)) diff --git a/pace_revision_2/pace/receiver.py b/pace_revision_2/pace/receiver.py new file mode 100644 index 0000000000000000000000000000000000000000..40a4723c066bce122d4fcd7d27db81ff388334a7 --- /dev/null +++ b/pace_revision_2/pace/receiver.py @@ -0,0 +1,119 @@ +from pathlib import Path +import numpy as np +import torch +from .config import Condition,seed +from .devices import sionna_device +from .physics import Channel,label,waveform,operator,PILOT +from .io import atomic_npz,atomic_json,read_json,sha +from .classical import gains +from .training import load_model,move +from .experiments import recipes + +class Codec: + def __init__(self,device='cpu'): + from sionna.phy.fec.ldpc import LDPC5GEncoder,LDPC5GDecoder + device=sionna_device(device) + self.device=device + self.encoder=LDPC5GEncoder(k=3200,n=6400,num_bits_per_symbol=4,bg='bg2',precision='single',device=device) + self.decoder=LDPC5GDecoder(self.encoder,cn_update='boxplus-phi',vn_update='sum',cn_schedule='flooding',hard_out=True,return_infobits=True,num_iter=40,llr_max=20,prune_pcm=True,return_state=False,harq_mode=False,precision='single',device=device) + assert self.encoder.z==320 and self.encoder.k==3200 and self.encoder.n==6400 + def encode(self,bits): + with torch.no_grad():return self.encoder(torch.as_tensor(bits,device=self.device,dtype=torch.float32)) + def decode(self,llr): + with torch.no_grad():return self.decoder(llr.clamp(-20,20)).to(torch.int8) + +def constellation(mod,device): + m=4 if mod=='16qam' else 2;labels=((torch.arange(2**m,device=device)[:,None]>>torch.arange(m-1,-1,-1,device=device))&1).bool() + if mod=='16qam': + amp=torch.tensor([-3.,-1.,3.,1.],device=device)/np.sqrt(10);idx=labels.long();symbols=torch.complex(amp[2*idx[:,0]+idx[:,1]],amp[2*idx[:,2]+idx[:,3]]) + else:symbols=torch.complex(1-2*labels[:,0].float(),1-2*labels[:,1].float())/np.sqrt(2) + return symbols,labels + +def map_bits(bits,mod): + points,_=constellation(mod,bits.device);m=4 if mod=='16qam' else 2;b=bits.long().reshape(len(bits),-1,m);idx=(b*2**torch.arange(m-1,-1,-1,device=b.device)).sum(-1);return points[idx] + +def app_llr(y,h,n0,mod='16qam'): + points,labels=constellation(mod,y.device);dist=-abs(y[...,None]-h[...,None]*points)**2/torch.as_tensor(n0,device=y.device)[...,None] + llr=torch.stack([torch.logsumexp(dist[...,labels[:,i]],-1)-torch.logsumexp(dist[...,~labels[:,i]],-1) for i in range(labels.shape[1])],-1) + llr=torch.where((abs(h)<1e-12)[...,None],0.,llr) + return llr.reshape(len(y),-1).clamp(-20,20) + +def receiver_bank(root,condition,snr,mode='WAVE',mod='16qam',frames=5000,device='cuda',shard=64): + r=recipes()['main'];g=r.grid;out=Path(root)/'receiver_banks'/mode/mod/condition.key/f'snr{snr:g}' + spec=dict(condition=condition.__dict__,snr=snr,mode=mode,mod=mod,frames=frames) + if (out/'manifest.json').exists(): + old=read_json(out/'manifest.json') + if old['spec']!=spec:raise ValueError('Receiver bank configuration mismatch') + if any(sha(out/e['file'])!=e['sha256'] for e in old['shards']):raise RuntimeError('Receiver bank hash mismatch') + return out + engine=Channel(g,device);codec=Codec(device) if mod=='16qam' else None;entries=[] + family=f'{condition.profile}:{condition.ds_ns:g}' + for start in range(0,frames,shard): + file=out/f'{start:06d}.npz';rows=[];ids=range(start,min(start+shard,frames)) + bits=np.stack([np.random.default_rng(seed('RECEIVER',family,i,f'{mod}_data_bits')).integers(0,2,3200,dtype=np.int8) for i in ids]) + coded=codec.encode(bits) if codec else torch.tensor(bits,device=device);symbols=map_bits(coded,mod).cpu().numpy() + for j,i in enumerate(ids): + a,tau=engine.paths(condition,'RECEIVER',family,i);h=label(a,tau,g);x=np.full((g.S,g.F),PILOT,complex);x[~g.mask]=symbols[j] + y0=waveform(x,a,tau,g) if mode=='WAVE' else h*x + rng=np.random.default_rng(seed('RECEIVER',family,i,'waveform_noise'));nt=(rng.standard_normal((g.S,g.N))+1j*rng.standard_normal((g.S,g.N)))/np.sqrt(2) + nf=np.fft.fft(nt,axis=-1,norm='ortho')[:,g.active%g.N];y=y0+10**(-snr/20)*nf + rows.append(dict(h=h.astype(np.complex64),y=y.astype(np.complex64),bits=bits[j],id=np.int64(i))) + atomic_npz(file,**{k:np.stack([x[k] for x in rows]) for k in rows[0]});entries.append({'file':file.name,'sha256':sha(file),'n':len(rows)}) + atomic_json(out/'manifest.json',dict(spec=spec,shards=entries));return out + +def evaluate_receiver(root,job=None,kind=None,source_recipe='main',device='cuda',frames=5000,modes=('WAVE',),modulations=('16qam','qpsk'),gate=None,gate_seed=None): + r=recipes()[source_recipe];g=r.grid + if job and job.get('anchor')=='oracle':raise ValueError('PH is a label oracle, excluded from receiver ranking') + model=load_model(root,job,device) if job else None;cov=np.load(Path(root)/'priors'/f'{source_recipe}.npz')['cov'] + name=job['id'] if job else (kind if kind in ('perfect','full_G') else f'{source_recipe}_{kind}') + if gate: + from .interventions import parents + from .models import ResourceGate + d,a=[load_model(root,j,device) for j in parents(source_recipe,gate_seed)];folder=Path(root)/'gates'/source_recipe/str(gate_seed) + alpha=read_json(folder/'scalar.json')['alpha'];rg=ResourceGate().to(device);rg.load_state_dict(torch.load(folder/'best.pt',map_location=device,weights_only=True));rg.eval();name=f'{source_recipe}_{gate}_s{gate_seed}' + for fd in (10,100,500,1000): + condition=Condition(fd=fd);snrs=range(0,25,2) if fd in (10,100) else (0,5,10,15,20,25) + for snr in snrs: + if kind=='full_G' and (fd!=1000 or snr not in (10,20)):continue + for mode in modes: + for mod in modulations: + out=Path(root)/'receiver'/name/mode/mod/condition.key/f'snr{snr:g}' + if (out/'summary.json').exists():continue + bank=receiver_bank(root,condition,snr,mode,mod,frames,device);manifest=read_json(bank/'manifest.json');codec=Codec(device) if mod=='16qam' else None + K=None if model or gate or kind in ('perfect','full_G') else torch.tensor(gains(g,cov,r.bem,kind,10**(-snr/10)),device=device,dtype=torch.complex64) + rows=[];engine=Channel(g,device) if kind=='full_G' else None + with torch.no_grad(): + for entry in manifest['shards']: + with np.load(bank/entry['file']) as raw:b={k:torch.as_tensor(raw[k],device=device) for k in raw.files} + z=b['y'].flatten(1)[:,g.pilots]/PILOT;n0=torch.full((len(z),),10**(-snr/10),device=device) + batch=dict(z=z,h=b['h'],n0=n0,snr=torch.full_like(n0,snr),ds=torch.full_like(n0,100),fd=torch.full_like(n0,fd)) + if model:estimate=model(batch) + elif gate: + dp=d(batch);ap=a(batch) + if gate=='scalar':estimate=dp+alpha*(ap-dp) + else: + u,_,q=d.inputs(batch);mask=torch.tensor(g.mask,device=device,dtype=torch.float32)[None,None];estimate=rg(u,dp,ap,mask,q)[0] + elif kind in ('perfect','full_G'):estimate=b['h'] + else:estimate=(z@K.T).reshape(-1,g.S,g.F) + ydata=b['y'][:,~g.mask];hdata=estimate[:,~g.mask] + if kind=='full_G': + ydata,variance=full_g_outputs(b,condition,engine,g,10**(-snr/10),device);hdata=torch.ones_like(ydata);noise=variance + else:noise=n0[:,None] + llr=app_llr(ydata,hdata,noise,mod);decoded=codec.decode(llr) if codec else (llr>0).to(torch.int8) + errors=(decoded!=b['bits']).sum(1);nmse_num=abs(estimate.to(torch.complex128)-b['h']).square().sum((1,2));nmse_den=abs(b['h'].to(torch.complex128)).square().sum((1,2)) + rows.append(dict(id=b['id'].cpu().numpy(),bit_errors=errors.cpu().numpy(),block_errors=(errors>0).cpu().numpy(),bits=np.full(len(z),3200),nmse_error=nmse_num.cpu().numpy(),nmse_denominator=nmse_den.cpu().numpy())) + raw={k:np.concatenate([p[k] for p in rows]) for k in rows[0]};atomic_npz(out/'raw.npz',**raw) + errors=int(raw['block_errors'].sum());be=int(raw['bit_errors'].sum());n=len(raw['id']);p=errors/n;z95=1.95996398454;center=(p+z95*z95/(2*n))/(1+z95*z95/n);half=z95*np.sqrt(p*(1-p)/n+z95*z95/(4*n*n))/(1+z95*z95/n) + atomic_json(out/'summary.json',dict(name=name,source_recipe=source_recipe,fd=fd,snr=snr,mode=mode,modulation=mod,blocks=n,block_errors=errors,bit_errors=be,bler=p,ber=be/(n*3200),bler_low=center-half,bler_high=center+half,zero_error_upper=1-.05**(1/n) if errors==0 else None,smoke_only=frames!=5000)) + +def full_g_outputs(batch,c,engine,g,n0,device): + outputs=[];variances=[];family=f'{c.profile}:{c.ds_ns:g}' + for index,i in enumerate(batch['id'].cpu().tolist()): + a,tau=engine.paths(c,'RECEIVER',family,i);ys=[];vs=[] + for s in range(g.S): + G=operator(a,tau,g,s)[np.ix_(g.active%g.N,g.active%g.N)];G=torch.tensor(G,device=device,dtype=torch.complex128);mask=torch.tensor(g.mask[s],device=device);GD=G[:,~mask] + y=batch['y'][index,s].to(torch.complex128)-G[:,mask].sum(1)*PILOT + W=torch.linalg.solve(GD.mH@GD+n0*torch.eye(GD.shape[1],device=device,dtype=torch.complex128),GD.mH) + bias=torch.diagonal(W@GD).real;safe=bias>1e-12;ys.append(torch.where(safe,(W@y)/bias.clamp_min(1e-12),0));vs.append(torch.where(safe,(1/bias.clamp_min(1e-12)-1).clamp_min(1e-12),1e12)) + outputs.append(torch.cat(ys));variances.append(torch.cat(vs)) + return torch.stack(outputs).to(torch.complex64),torch.stack(variances).float() diff --git a/pace_revision_2/pace/reporting.py b/pace_revision_2/pace/reporting.py new file mode 100644 index 0000000000000000000000000000000000000000..b2253f05e82e77a967371919f36953c514873759 --- /dev/null +++ b/pace_revision_2/pace/reporting.py @@ -0,0 +1,204 @@ +"""Reports are regenerated from raw records, never by rerunning networks.""" +from pathlib import Path +import json +import numpy as np +import pandas as pd +from scipy import stats +import matplotlib +matplotlib.use('Agg') +import matplotlib.pyplot as plt +from .io import read_json,atomic_json,atomic_npz +from .metrics import paired_summary,holm,crossed_bootstrap,equivalence + +def raw(path): + with np.load(path) as f:return {k:f[k] for k in f.files} +def align(*records): + first=records[0] + for other in records[1:]: + if not np.array_equal(first['id'],other['id']) or not np.allclose(first['denominator'],other['denominator'],rtol=0,atol=0):raise RuntimeError('Sample/denominator mismatch in paired comparison') +_SMOKE_ONLY=False +def savefig(fig,path): + if _SMOKE_ONLY:fig.text(.5,.5,'SMOKE TEST — NOT RESEARCH RESULTS',ha='center',va='center',rotation=24,fontsize=13,color='darkred',alpha=.23) + path=Path(path);path.parent.mkdir(parents=True,exist_ok=True) + for ext in ('pdf','svg','png'):fig.savefig(path.with_suffix('.'+ext),bbox_inches='tight',dpi=300) + plt.close(fig) +def report(root,bootstrap=10000): + global _SMOKE_ONLY + root=Path(root);_SMOKE_ONLY=read_json(root/'study.json').get('smoke_only',False) if (root/'study.json').exists() else False + out=root/'reports';out.mkdir(exist_ok=True);figdir=out/'figures';figdir.mkdir(exist_ok=True) + plt.rcParams.update({'font.size':9,'axes.grid':True,'grid.alpha':.22,'axes.spines.top':False,'axes.spines.right':False,'savefig.dpi':300,'pdf.fonttype':42,'svg.fonttype':'none'}) + rows=[];lookup={} + for path in sorted((root/'evaluation').glob('**/summary.json')): + s=read_json(path);r=raw(path.with_name('raw.npz'));j=s['job'];c=s['condition'] + row={**{k:j.get(k) for k in ('id','experiment','arch','arm','seed','recipe','anchor')},'profile':c['profile'],'ds_ns':c['ds_ns'],'fd':c['fd'],'snr':s['snr_db'],'mode':s['mode'],'noise_offset':s['noise_assumption_offset_db'],'n':len(r['id']),'error_sum':r['error'].sum(),'denominator_sum':r['denominator'].sum(),'nmse_linear':r['error'].sum()/r['denominator'].sum(),'mean_realization_nmse':np.mean(r['error']/r['denominator']),'variant':j.get('variant','base')+('_nominal_metadata' if s.get('metadata_mode')=='nominal' else ''),'raw_file':str(path.with_name('raw.npz').relative_to(root)),'smoke_only':s.get('smoke_only',False)} + row['nmse_db']=10*np.log10(row['nmse_linear']);rows.append(row) + lookup[(j['experiment'],j['arch'],j['arm'],j['seed'],c['profile'],c['ds_ns'],c['fd'],s['snr_db'],s['mode'],s['noise_assumption_offset_db'])]=r + df=pd.DataFrame(rows);df.to_csv(out/'all_seed_nmse.csv',index=False) + gains=[];primary={};d0s=[];a0s=[];d1s=[];a1s=[] + for sd in range(41001,41021): + gs={} + for fd in (10,100): + for snr in (0,5,10,15,20,25): + keys=[('E01','compact',a,sd,'C',100,fd,snr,'DIAG',0.) for a in ('D','A-res')] + if not all(k in lookup for k in keys):continue + d,a=[lookup[k] for k in keys];align(d,a);gain=10*np.log10(d['error'].sum()/a['error'].sum());gains.append(dict(seed=sd,fd=fd,snr=snr,gain_db=gain));gs[fd,snr]=(gain,d,a) + if (10,10) in gs and (100,10) in gs: + g0,d0,a0=gs[10,10];g1,d1,a1=gs[100,10] + if not np.array_equal(d0['id'],d1['id']):raise RuntimeError('Matched/shifted IDs not paired') + primary[sd]=g1-g0;d0s.append(d0['error']);a0s.append(a0['error']);d1s.append(d1['error']);a1s.append(a1['error']) + gain_df=pd.DataFrame(gains);gain_df.to_csv(out/'paired_anchor_gain.csv',index=False) + if primary: + summary=paired_summary(list(primary.values()));summary.update(endpoint='G(fd100)-G(fd10) at 10dB',required_seeds=20,complete=len(primary)==20,confirmatory_eligible=len(primary)==20 and not any(df.smoke_only)) + pd.DataFrame({'seed':list(primary),'delta_db':list(primary.values())}).to_csv(out/'primary_seed_contrasts.csv',index=False) + if len(primary)==20: + boot=crossed_bootstrap(*map(np.asarray,(d0s,a0s,d1s,a1s)),None,None,reps=bootstrap);atomic_npz(out/'primary_crossed_bootstrap.npz',delta=boot);summary['crossed_bootstrap_95']=np.quantile(boot,[.025,.975]).tolist() + atomic_json(out/'primary_endpoint.json',summary) + if len(gain_df): + fig,ax=plt.subplots(figsize=(5.5,3.6));points=[] + for fd,group in gain_df.groupby('fd'): + x=[];y=[];err=[] + for snr,p in group.groupby('snr'): + st=paired_summary(p.gain_db);x.append(snr);y.append(st['mean']);err.append(0 if st['low'] is None else st['mean']-st['low']);points.append(dict(fd=fd,snr=snr,**st)) + ax.errorbar(x,y,yerr=err,marker='o',capsize=3,label=f'Max Doppler {fd:g} Hz') + ax.axhline(0,color='black',lw=1);ax.set(xlabel='Transmitted active-RE $E_s/N_0$ (dB)',ylabel='Paired anchor gain (dB; positive helps)');ax.legend(loc='best');savefig(fig,figdir/'anchor_gain');pd.DataFrame(points).to_csv(out/'anchor_gain_plot_data.csv',index=False) + if len(df): + subset=df[(df.recipe=='main')&(df.experiment.isin(['E01','E02']))&(df.noise_offset==0)&(df.profile=='C')&(df.ds_ns==100)&(df.fd.isin([10,100]))] + plotrows=[] + for fd,group in subset.groupby('fd'): + fig,ax=plt.subplots(figsize=(6.3,4)) + for (arch,arm),m in group.groupby(['arch','arm']): + pts=[] + for snr,p in m.groupby('snr'): + # Explicit pooled seed/sample score, not hidden averaging of batch dB. + v=10*np.log10(p.error_sum.sum()/p.denominator_sum.sum());pts.append((snr,v));plotrows.append(dict(fd=fd,arch=arch,arm=arm,snr=snr,nmse_db_pooled_seeds=v,seeds=len(p))) + ax.plot(*zip(*pts),marker='o',ms=3,label=f'{arch} / {arm}') + for kind in ('ls','bem','lmmse'): + pts=[] + for snr in (0,5,10,15,20,25): + cp=root/'classical'/'main'/kind/f'C_ds100_fd{fd:g}_snr{snr}'/'raw.npz' + if cp.exists(): + cr=raw(cp);v=10*np.log10(cr['error'].sum()/cr['denominator'].sum());pts.append((snr,v));plotrows.append(dict(fd=fd,arch=kind,arm='classical',snr=snr,nmse_db_pooled_seeds=v,seeds=1)) + if pts:ax.plot(*zip(*pts),'--',label=kind) + ax.set(xlabel='Transmitted active-RE $E_s/N_0$ (dB)',ylabel='Pooled NMSE (dB)',title=f'TDL-C, 100 ns, maximum Doppler {fd:g} Hz');ax.legend(loc='upper left',bbox_to_anchor=(1.02,1),fontsize=8);savefig(fig,figdir/f'nmse_fd{fd:g}') + pd.DataFrame(plotrows).to_csv(out/'nmse_plot_data.csv',index=False) + from .auxiliary_reporting import supplemental + supplemental(root,out,figdir) + coverage_reports(root,out,figdir,df) + paired_exploratory(root,out,df) + secondary(root,out,lookup,gain_df) + receiver_reports(root,out,figdir) + diagnostic_reports(root,out,figdir) + atomic_json(out/'report_status.json',dict(seed_rows=len(rows),primary_seeds=len(primary),bootstrap_replicates=bootstrap,source='linear-domain raw records',incomplete=len(primary)!=20)) + +def secondary(root,out,lookup,gain_df): + family=[] + def add(name,x,alternative='two-sided',required=20): + st=paired_summary(x,alternative) if len(x) else dict(n=0,p=None);family.append(dict(hypothesis=name,required_n=required,**st)) + for fd,alt in ((10,'greater'),(100,'less')): + x=gain_df[gain_df.fd==fd].query('snr==10').gain_db.to_numpy() if len(gain_df) else [] + add(f'anchor_gain_fd{fd}_sign',x,alt) + vals=[] + for sd in range(41001,41021): + gs=[] + for fd in (10,100): + ks=[('E01','compact',a,sd,'C',100,fd,10,'DIAG',0.) for a in ('D','A-raw')] + if all(k in lookup for k in ks): + d,a=[lookup[k] for k in ks];align(d,a);gs.append(10*np.log10(d['error'].sum()/a['error'].sum())) + if len(gs)==2:vals.append(gs[1]-gs[0]) + add('A-raw_delta',vals) + for gate,comparison in [('scalar','D'),('resource','D'),('resource','A-res')]: + vals=[] + for sd in range(41001,41021): + p=root/'gates'/'main'/str(sd)/'evaluation'/gate/'C_ds100_fd100_snr10'/'raw.npz';k=('E01','compact',comparison,sd,'C',100,100,10,'DIAG',0.) + if p.exists() and k in lookup: + a=raw(p);d=lookup[k];align(d,a);vals.append(10*np.log10(d['error'].sum()/a['error'].sum())) + add(f'{gate}_vs_{comparison}',vals) + for baseline in ('ls','lmmse','reesnet','channelformer','fortitran','helena'): + vals=[];classic=baseline in ('ls','lmmse') + for sd in range(41001,41021 if classic else 41011): + k=('E01','compact','A-res',sd,'C',100,100,10,'DIAG',0.) + if k not in lookup:continue + a=lookup[k] + if classic: + p=root/'classical'/'main'/baseline/'C_ds100_fd100_snr10'/'raw.npz' + if not p.exists():continue + d=raw(p) + else: + kk=('E02',baseline,'D',sd,'C',100,100,10,'DIAG',0.) + if kk not in lookup:continue + d=lookup[kk] + align(d,a);vals.append(10*np.log10(d['error'].sum()/a['error'].sum())) + add(f'A-res_vs_{baseline}',vals,required=20 if classic else 10) + assert len(family)==12 + complete=all(x.get('p') is not None and x['n']==x['required_n'] for x in family) + if complete: + for item,p in zip(family,holm([x['p'] for x in family])):item['p_holm']=float(p) + atomic_json(out/'secondary_family.json',{'complete':complete,'hypotheses':family,'intervals':'pointwise 95%; Holm p-values only after full family is available'}) + +def receiver_reports(root,out,figdir): + rows=[] + for p in (root/'receiver').glob('**/summary.json'):rows.append(read_json(p)) + if not rows:return + df=pd.DataFrame(rows);df.to_csv(out/'receiver_seed_results.csv',index=False) + # Per-model panels prevent dozens of seed curves crowding one figure. + df['family']=df.name.str.replace(r'_s\d+$','',regex=True) + agg=df.groupby(['family','mode','modulation','fd','snr']).agg(mean_bler=('bler','mean'),mean_ber=('ber','mean'),seeds=('bler','size')).reset_index();agg.to_csv(out/'receiver_plot_data.csv',index=False) + for (family,mode,mod),group in agg.groupby(['family','mode','modulation']): + fig,ax=plt.subplots(figsize=(5.4,3.6)) + for fd,p in group.groupby('fd'): + p=p.sort_values('snr');positive=p.mean_bler>0;ax.semilogy(p.snr[positive],p.mean_bler[positive],'-o',label=f'{fd:g} Hz') + ax.set(xlabel='Transmitted active-RE $E_s/N_0$ (dB)',ylabel='Mean seed code-block error rate' if mod=='16qam' else 'Uncoded slot error rate',title=f'{family} · {mode} · {mod}');ax.legend(loc='best');savefig(fig,figdir/f'receiver_{family}_{mode}_{mod}') + +def diagnostic_reports(root,out,figdir): + rows=[] + for p in (root/'evaluation').glob('**/raw.npz'): + r=raw(p) + rows.append({'file':str(p.relative_to(root)),'projection_fraction_pooled':r['projection_outside'].sum()/r['denominator'].sum(),'anchor_nmse_pooled':r['anchor_error'].sum()/r['denominator'].sum(),'correction_energy_normalized':r['correction_energy'].sum()/r['denominator'].sum(),'required_learned_inner_normalized':r['required_learned_inner'].sum()/r['denominator'].sum(),'cosine_mean_defined':np.nanmean(r['cosine']),'cosine_undefined_count':int((~r['cosine_defined']).sum()),'max_abs_closure':max(abs(r['correction_closure']))}) + pd.DataFrame(rows).to_csv(out/'mechanism_diagnostics.csv',index=False) + # One fixed primary seed, not selected by performance, for visual examples. + for p in (root/'evaluation').glob('E01*compact_A-res*_s41001/DIAG/*snr10/examples.npz'): + x=raw(p);residual=x['h'].astype(complex)-x['anchor'];error=x['estimate'].astype(complex)-x['h'];maps=[] + for v in (residual,error):maps.append(np.mean(abs(np.fft.fftshift(np.fft.fft(np.fft.ifft(v,axis=2,norm='ortho'),axis=1,norm='ortho'),axes=1))**2,axis=0)) + folder=out/'spectra'/p.parent.name;atomic_npz(folder/'plot_data.npz',required=maps[0],output_error=maps[1]);fig,axs=plt.subplots(1,2,figsize=(9,3.3),layout='constrained') + for ax,z,title in zip(axs,maps,['Required correction','Estimation error']): + im=ax.imshow(10*np.log10(np.maximum(z,1e-15)),origin='lower',aspect='auto',extent=[0,1/15000*1e6,-7/0.001,7/0.001]);ax.set(title=title,xlabel='Periodic delay coordinate (μs)',ylabel='Nominal slot-DFT Doppler (Hz)');fig.colorbar(im,ax=ax,label='Mean spectral energy (dB)') + savefig(fig,figdir/f'spectra_{p.parent.name}') + +def coverage_reports(root,out,figdir,df): + classical=[] + for p in (root/'classical').glob('**/summary.json'): + d=read_json(p);c=d.pop('condition');classical.append({**d,**c,'raw_file':str(p.with_name('raw.npz').relative_to(root))}) + pd.DataFrame(classical).to_csv(out/'classical_results.csv',index=False) + if not len(df):return + statsrows=[] + keys=['experiment','recipe','arch','arm','anchor','profile','ds_ns','fd','snr','mode','noise_offset','variant'] + for key,group in df.groupby(keys,dropna=False): + summary=paired_summary(group.nmse_db.to_numpy());statsrows.append(dict(zip(keys,key),**{f'seed_db_{k}':v for k,v in summary.items()},pooled_seed_sample_nmse_db=10*np.log10(group.error_sum.sum()/group.denominator_sum.sum()))) + pd.DataFrame(statsrows).to_csv(out/'all_comparison_intervals.csv',index=False) + # All ablation arcs get their own panels, with target/source setting in the title. + for (exp,recipe,fd),group in df[(df.profile=='C')&(df.ds_ns==100)&(df.noise_offset==0)].groupby(['experiment','recipe','fd']): + if exp in ('E01','E02'):continue + fig,ax=plt.subplots(figsize=(6,3.8)) + for (arch,arm,anchor,variant),m in group.groupby(['arch','arm','anchor','variant']): + pts=[] + for snr,p in m.groupby('snr'):pts.append((snr,10*np.log10(p.error_sum.sum()/p.denominator_sum.sum()))) + ax.plot(*zip(*pts),'-o',ms=3,label=f'{arch}/{arm}/{anchor}/{variant}') + ax.set(xlabel='Transmitted active-RE $E_s/N_0$ (dB)',ylabel='Pooled seed/sample NMSE (dB)',title=f'{exp}: {recipe}, C/100 ns, {fd:g} Hz');ax.legend(loc='upper left',bbox_to_anchor=(1.02,1),fontsize=8);savefig(fig,figdir/f'{exp}_{recipe}_fd{fd:g}') + +def paired_exploratory(root,out,df): + if not len(df):return + records=[] + for _,row in df.iterrows(): + if row.noise_offset!=0:continue + exp=row.experiment + control_exp='E01' if exp in ('E02','E03','E07','E14') else exp + control_arch=row.arch if exp in ('E04',) else 'compact' + control=df[(df.experiment==control_exp)&(df.arch==control_arch)&(df.arm=='D')&(df.seed==row.seed)&(df.recipe==row.recipe)&(df.profile==row.profile)&(df.ds_ns==row.ds_ns)&(df.fd==row.fd)&(df.snr==row.snr)&(df['mode']==row['mode'])&(df.noise_offset==0)] + if len(control)!=1 or control.iloc[0].id==row.id:continue + ref=control.iloc[0];a=raw(root/row.raw_file);d=raw(root/ref.raw_file);align(a,d) + records.append({k:row[k] for k in ('experiment','recipe','arch','arm','anchor','variant','seed','profile','ds_ns','fd','snr','mode')}|{'gain_db':10*np.log10(d['error'].sum()/a['error'].sum()),'control_job':ref.id}) + values=pd.DataFrame(records);values.to_csv(out/'exploratory_paired_seed_effects.csv',index=False) + if len(values): + keys=[k for k in values.columns if k not in ('seed','gain_db','control_job')];summaries=[] + for key,group in values.groupby(keys):summaries.append(dict(zip(keys,key),**paired_summary(group.gain_db.to_numpy()))) + pd.DataFrame(summaries).to_csv(out/'exploratory_paired_intervals.csv',index=False) diff --git a/pace_revision_2/pace/tables/TDL-A.json b/pace_revision_2/pace/tables/TDL-A.json new file mode 100644 index 0000000000000000000000000000000000000000..c8a482dd98d9a740b76bb0271cea6d16a2484af3 --- /dev/null +++ b/pace_revision_2/pace/tables/TDL-A.json @@ -0,0 +1,53 @@ +{ + "los" : 0, + "num_clusters" : 23, + "scale_delays" : true, + + "delays" : [ 0.0, + 0.3819, + 0.4025, + 0.5868, + 0.4610, + 0.5375, + 0.6708, + 0.5750, + 0.7618, + 1.5375, + 1.8978, + 2.2242, + 2.1718, + 2.4942, + 2.5119, + 3.0582, + 4.0810, + 4.4579, + 4.5695, + 4.7966, + 5.0066, + 5.3043, + 9.6586], + + "powers" : [ -13.4, + 0.0, + -2.2, + -4.0, + -6.0, + -8.2, + -9.9, + -10.5, + -7.5, + -15.9, + -6.6, + -16.7, + -12.4, + -15.2, + -10.8, + -11.3, + -12.7, + -16.2, + -18.3, + -18.9, + -16.6, + -19.9, + -29.7] +} diff --git a/pace_revision_2/pace/tables/TDL-C.json b/pace_revision_2/pace/tables/TDL-C.json new file mode 100644 index 0000000000000000000000000000000000000000..47fa1f1820e7cd2913cd1e3b9b03a3ae6e42a075 --- /dev/null +++ b/pace_revision_2/pace/tables/TDL-C.json @@ -0,0 +1,55 @@ +{ + "los" : 0, + "num_clusters" : 24, + "scale_delays" : true, + + "powers" : [ -4.4, + -1.2, + -3.5, + -5.2, + -2.5, + 0.0, + -2.2, + -3.9, + -7.4, + -7.1, + -10.7, + -11.1, + -5.1, + -6.8, + -8.7, + -13.2, + -13.9, + -13.9, + -15.8, + -17.1, + -16, + -15.7, + -21.6, + -22.8], + + "delays" : [ 0.0, + 0.2099, + 0.2219, + 0.2329, + 0.2176, + 0.6366, + 0.6448, + 0.6560, + 0.6584, + 0.7935, + 0.8213, + 0.9336, + 1.2285, + 1.3083, + 2.1704, + 2.7105, + 4.2589, + 4.6003, + 5.4902, + 5.6077, + 6.3065, + 6.6374, + 7.0427, + 8.6523] +} diff --git a/pace_revision_2/pace/training.py b/pace_revision_2/pace/training.py new file mode 100644 index 0000000000000000000000000000000000000000..49a705fc94470bd2b294138ac3a81b0c298e2b3a --- /dev/null +++ b/pace_revision_2/pace/training.py @@ -0,0 +1,100 @@ +import math,time,random +from pathlib import Path +import numpy as np +import torch +from torch.utils.data import DataLoader,ConcatDataset +from .config import seed +from .data import Bank,DeviceBank,bank_path +from .models import Estimator +from .experiments import recipes,job_bem +from .io import atomic_json,read_json,torch_save,deterministic,sha + +def move(batch,device):return {k:v.to(device,non_blocking=True) for k,v in batch.items()} +def loader(dataset,batch=512,shuffle=False,generator=None,workers=0): + if isinstance(dataset,DeviceBank):return dataset.batches(batch,shuffle,generator) + # Use an explicit permutation in both modes so staging cannot change sample order. + if shuffle: + order=torch.randperm(len(dataset),generator=generator).tolist() + return DataLoader(dataset,batch_size=batch,sampler=order,num_workers=workers,pin_memory=torch.cuda.is_available(),drop_last=False) + return DataLoader(dataset,batch_size=batch,shuffle=False,num_workers=workers,pin_memory=torch.cuda.is_available(),drop_last=False) +def covariance(root,job): + # Target-domain retraining deliberately retains the SOURCE covariance/anchor. + r='main' if job['recipe']=='target' else job['recipe'] + return np.load(Path(root)/'priors'/f'{r}.npz')['cov'] +def build(root,job,device): + r=recipes()[job['recipe']];return Estimator(r.grid,covariance(root,job),job_bem(job,r),job['arch'],job['arm'],job.get('anchor','bem'),job.get('info',False),job.get('scaled',False)).to(device) +def score(model,data,device): + error=den=0. + model.eval() + with torch.no_grad(): + for b in loader(data): + b=move(b,device);e=(model(b).to(torch.complex128)-b['h'].to(torch.complex128));error+=float((abs(e)**2).sum());den+=float((abs(b['h'].to(torch.complex128))**2).sum()) + if den<=0 or not np.isfinite(error):raise FloatingPointError('Invalid validation metric') + return error/den + +def source_scales(model,data,device): + se=te=count=0. + with torch.no_grad(): + for batch in loader(data): + batch=move(batch,device);u,b,q=model.inputs(batch);x=u-b if model.arm=='A-res' else u + se+=float((abs(x.to(torch.complex128))**2).sum());te+=float((abs((batch['h']-b).to(torch.complex128))**2).sum());count+=x.numel() + model.su.fill_(max(np.sqrt(se/count),1e-6));model.sr.fill_(max(np.sqrt(te/count),1e-6)) +def rng_state():return {'torch':torch.get_rng_state(),'cuda':torch.cuda.get_rng_state_all() if torch.cuda.is_available() else [],'numpy':np.random.get_state(),'python':random.getstate()} +def restore_rng(x): + torch.set_rng_state(x['torch']);np.random.set_state(x['numpy']);random.setstate(x['python']) + if x['cuda'] and torch.cuda.is_available():torch.cuda.set_rng_state_all(x['cuda']) +def initialize_seed(job): + arch=job['arch']+('_five' if job.get('info') else '') + return seed('INIT',f'{job["recipe"]}:{arch}',job['seed'],'initialization') + +def train(root,job,device='cuda',epochs=None,lr=None,workers=0,limit=None): + root=Path(root);out=root/'runs'/job['id'];out.mkdir(parents=True,exist_ok=True) + if (out/'complete.json').exists():return read_json(out/'complete.json') + r=recipes()[job['recipe']];tune=job['experiment']=='TUNE';reference=r.reference + epochs=epochs or (50 if tune else 1000 if reference else 200) + lr=lr or job.get('lr') or (.001 if reference else read_json(root/'selected_lr.json')[job['arch']]) + spec={'job':job,'lr':lr,'epochs':epochs,'limit':limit} + if (out/'spec.json').exists() and read_json(out/'spec.json')!=spec:raise RuntimeError('Run ID already has a different training specification') + atomic_json(out/'spec.json',spec);deterministic(initialize_seed(job)) + model=build(root,job,device) + train_data=Bank(bank_path(root,r,'TRAIN'),limit=limit) + if job.get('labels_extra'):train_data=ConcatDataset([train_data,*[Bank(bank_path(root,r,x),limit=limit) for x in ('GATE_FIT','GATE_VAL')]]) + val=Bank(bank_path(root,r,'TUNE' if tune else 'VAL'),limit=limit) + if device.startswith('cuda'): + train_data=DeviceBank(train_data,device);val=DeviceBank(val,device) + if model.scaled:source_scales(model,train_data,device) + opt=torch.optim.Adam(model.parameters(),lr=lr,betas=(.9,.999),eps=1e-8,weight_decay=0) + J=math.ceil(len(train_data)/512);T=epochs*J;Tw=min(5*J,T);best=float('inf');start=0;history=[];stale=0;significant=float('inf') + init={k:v.detach().cpu().clone() for k,v in model.net.state_dict().items()};torch_save(out/'initial.pt',init) + if (out/'last.pt').exists(): + ck=torch.load(out/'last.pt',map_location='cpu',weights_only=False);model.load_state_dict(ck['model']);opt.load_state_dict(ck['optimizer']);start=ck['epoch']+1;best=ck['best'];history=ck['history'];stale=ck['stale'];significant=ck['significant'];restore_rng(ck['rng']) + elapsed=time.monotonic() + for epoch in range(start,epochs): + gen=torch.Generator().manual_seed(seed('SHUFFLE',r.name,f'{job["seed"]}:{epoch}','shuffle')) + model.train();sum_loss=0.;count=0 + for j,batch in enumerate(loader(train_data,shuffle=True,generator=gen,workers=workers)): + t=epoch*J+j + if reference:rate=lr*.995**epoch + elif t=50:break + result={'job':job,'best_linear_nmse':best,'epochs_completed':len(history),'seconds_this_invocation':time.monotonic()-elapsed,'parameters':sum(p.numel() for p in model.parameters()),'checkpoint_sha256':sha(out/'best.pt'),'initialization_sha256':sha(out/'initial.pt'),'smoke_only':limit is not None} + atomic_json(out/'complete.json',result);return result + +def load_model(root,job,device): + deterministic(0) # Evaluation in a fresh process must also disable TF32/AMP shortcuts. + model=build(root,job,device);ck=torch.load(Path(root)/'runs'/job['id']/'best.pt',map_location='cpu',weights_only=False);model.load_state_dict(ck['model']);return model.eval() diff --git a/pace_revision_2/pace/validation.py b/pace_revision_2/pace/validation.py new file mode 100644 index 0000000000000000000000000000000000000000..769d9d02706eefd11fda90e6c75c0ac2127d49c6 --- /dev/null +++ b/pace_revision_2/pace/validation.py @@ -0,0 +1,52 @@ +from pathlib import Path +import subprocess,sys,time +import numpy as np +from scipy.special import j0 +from .config import Grid,Condition +from .physics import Channel +from .io import atomic_json,environment + +def qc(root,device='cpu',full=True): + import torch + torch.set_num_threads(2) + result=subprocess.run([sys.executable,'-m','pytest',str(Path(__file__).resolve().parent.parent/'tests'),'-q'],text=True,capture_output=True) + folder=Path(root)/'validation';folder.mkdir(parents=True,exist_ok=True);(folder/'pytest.log').write_text(result.stdout+'\n'+result.stderr) + checks={'pytest_passed':result.returncode==0} + if full: + env=environment();expected={'sionna':'2.0.1','numpy':'2.2.6','scipy':'1.15.3','h5py':'3.15.1','matplotlib':'3.10.8'} + checks['core_versions']=all(env['versions'].get(k)==v for k,v in expected.items()) and str(env['versions'].get('torch','')).startswith('2.9.1') + checks['python_version']=sys.version_info[:3]==(3,11,11) + checks['cuda_device']=device.startswith('cuda') and torch.cuda.is_available() and torch.version.cuda=='12.8' + rng=np.random.default_rng(45);z=(rng.normal(size=1000000)+1j*rng.normal(size=1000000))/np.sqrt(2) + checks['noise_variance']=bool(abs(np.mean(abs(z)**2)-1)<.005 and abs(z.real.var()/.5-1)<.005 and abs(z.imag.var()/.5-1)<.005) + extra={} + if full and checks.get('cuda_device'): + extra['cuda_model_counts']=cuda_model_checks(device);checks['cuda_forward_backward']=True + if full: + g=Grid();engine=Channel(g,device);first=[];last=[];hashes=set() + import hashlib + for i in range(2048): + a,t=engine.paths(Condition(fd=100),'QC','diversity',i);first.append(a[0,:,0]);last.append(a[-1,:,-1]);hashes.add(hashlib.sha256(a.tobytes()).hexdigest()) + first=np.asarray(first);last=np.asarray(last) + from importlib.resources import files + import json + table=json.loads(files('pace').joinpath('tables/TDL-C.json').read_text());power=10**(np.array(table['powers'])/10);power/=sum(power) + v=abs(first)**2;mean=v.mean(0);se=v.std(0,ddof=1)/np.sqrt(len(v));checks['ensemble_path_power']=bool(np.all(abs(mean-power)<=6*se));checks['no_duplicate_channels']=len(hashes)==2048 + dt=(g.starts[-1]+g.N-1-g.starts[0])/g.fs;corr=(first.conj()*last).real/power[None,:];cm=corr.mean(0);cse=corr.std(0,ddof=1)/np.sqrt(len(corr));expected=j0(2*np.pi*100*dt);checks['time_correlation']=bool(np.all(abs(cm-expected)<=6*cse));extra.update({'path_power_mean':mean.tolist(),'path_power_expected':power.tolist(),'time_correlation_expected':float(expected)}) + report=dict(passed=all(checks.values()),checks=checks,full=full,environment=environment(),**extra);atomic_json(folder/'qc.json',report) + print(result.stdout);print(report) + if not report['passed']:raise RuntimeError('QC failed; inspect validation/pytest.log') + +def cuda_model_checks(device): + import torch + from .io import deterministic + from .config import Grid,Bem + from .models import Estimator + deterministic(4421);g=Grid();cov=np.eye(g.M,dtype=complex);counts={} + for arch in ('compact','wide','cnn16','reesnet','channelformer','fortitran','helena','adafortitran'): + m=Estimator(g,cov,Bem(),arch=arch,arm='A-res' if arch=='compact' else 'D').to(device) + b=dict(h=torch.randn(2,14,120,device=device,dtype=torch.complex64),z=torch.randn(2,80,device=device,dtype=torch.complex64),n0=torch.full((2,),.1,device=device),snr=torch.full((2,),10.,device=device),ds=torch.full((2,),100.,device=device),fd=torch.full((2,),10.,device=device)) + m.train();loss=abs(m(b)-b['h']).square().mean();loss.backward() + if not all(p.grad is not None and torch.isfinite(p.grad).all() for p in m.net.parameters()):raise RuntimeError(f'Invalid CUDA gradients: {arch}') + counts[arch]=sum(p.numel() for p in m.parameters());del m + return counts diff --git a/pace_revision_2/pace_revision.egg-info/PKG-INFO b/pace_revision_2/pace_revision.egg-info/PKG-INFO new file mode 100644 index 0000000000000000000000000000000000000000..84ebc1e9dd3cbd72e29458a9df6543b33bc3cf9f --- /dev/null +++ b/pace_revision_2/pace_revision.egg-info/PKG-INFO @@ -0,0 +1,18 @@ +Metadata-Version: 2.4 +Name: pace-revision +Version: 3.0.0 +Requires-Python: >=3.11 +Requires-Dist: numpy==2.2.6 +Requires-Dist: scipy==1.15.3 +Requires-Dist: h5py==3.15.1 +Requires-Dist: matplotlib==3.10.8 +Requires-Dist: importlib-resources==6.5.2 +Requires-Dist: pandas<3,>=2.2 +Requires-Dist: tqdm>=4.66 +Requires-Dist: fsspec>=2025.2 +Requires-Dist: pydantic<3,>=2 +Requires-Dist: pyyaml>=6 +Provides-Extra: test +Requires-Dist: pytest>=8; extra == "test" +Provides-Extra: notebook +Requires-Dist: marimo>=0.18; extra == "notebook" diff --git a/pace_revision_2/pace_revision.egg-info/SOURCES.txt b/pace_revision_2/pace_revision.egg-info/SOURCES.txt new file mode 100644 index 0000000000000000000000000000000000000000..c4abc5046baa8f6d1cd31d7304ba68fa0ac58ca0 --- /dev/null +++ b/pace_revision_2/pace_revision.egg-info/SOURCES.txt @@ -0,0 +1,43 @@ +README.md +pyproject.toml +pace/__init__.py +pace/auxiliary_reporting.py +pace/backup.py +pace/classical.py +pace/cli.py +pace/complexity.py +pace/config.py +pace/data.py +pace/devices.py +pace/diagnostics.py +pace/evaluation.py +pace/experiments.py +pace/fidelity.py +pace/interventions.py +pace/io.py +pace/metrics.py +pace/physics.py +pace/receiver.py +pace/reporting.py +pace/training.py +pace/validation.py +pace/models/__init__.py +pace/models/base.py +pace/models/channelformer.py +pace/models/compact.py +pace/models/deterministic.py +pace/models/fortitran.py +pace/models/helena.py +pace/models/hybrid_cnn_lstm.py +pace/models/reesnet.py +pace/tables/TDL-A.json +pace/tables/TDL-C.json +pace_revision.egg-info/PKG-INFO +pace_revision.egg-info/SOURCES.txt +pace_revision.egg-info/dependency_links.txt +pace_revision.egg-info/entry_points.txt +pace_revision.egg-info/requires.txt +pace_revision.egg-info/top_level.txt +tests/test_contracts.py +tests/test_devices.py +tests/test_launcher.py \ No newline at end of file diff --git a/pace_revision_2/pace_revision.egg-info/dependency_links.txt b/pace_revision_2/pace_revision.egg-info/dependency_links.txt new file mode 100644 index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc --- /dev/null +++ b/pace_revision_2/pace_revision.egg-info/dependency_links.txt @@ -0,0 +1 @@ + diff --git a/pace_revision_2/pace_revision.egg-info/entry_points.txt b/pace_revision_2/pace_revision.egg-info/entry_points.txt new file mode 100644 index 0000000000000000000000000000000000000000..3479d14818672794966f6e015a938f0859a97b7d --- /dev/null +++ b/pace_revision_2/pace_revision.egg-info/entry_points.txt @@ -0,0 +1,2 @@ +[console_scripts] +pace = pace.cli:main diff --git a/pace_revision_2/pace_revision.egg-info/requires.txt b/pace_revision_2/pace_revision.egg-info/requires.txt new file mode 100644 index 0000000000000000000000000000000000000000..cff9e1df5d85374c50b638d259adcbbd8c4a9e0d --- /dev/null +++ b/pace_revision_2/pace_revision.egg-info/requires.txt @@ -0,0 +1,16 @@ +numpy==2.2.6 +scipy==1.15.3 +h5py==3.15.1 +matplotlib==3.10.8 +importlib-resources==6.5.2 +pandas<3,>=2.2 +tqdm>=4.66 +fsspec>=2025.2 +pydantic<3,>=2 +pyyaml>=6 + +[notebook] +marimo>=0.18 + +[test] +pytest>=8 diff --git a/pace_revision_2/pace_revision.egg-info/top_level.txt b/pace_revision_2/pace_revision.egg-info/top_level.txt new file mode 100644 index 0000000000000000000000000000000000000000..ff58dfdb33c828b5facdc53f43663b03f791c598 --- /dev/null +++ b/pace_revision_2/pace_revision.egg-info/top_level.txt @@ -0,0 +1 @@ +pace diff --git a/pace_revision_2/performance_tools/gate_profile.py b/pace_revision_2/performance_tools/gate_profile.py new file mode 100644 index 0000000000000000000000000000000000000000..d495905d6041668f2a309fa22ad64d758b5020b2 --- /dev/null +++ b/pace_revision_2/performance_tools/gate_profile.py @@ -0,0 +1,119 @@ +"""Read-only campaign profiling. Writes only performance_diagnostics/.""" +import argparse,copy,json,math,time,statistics,hashlib +from pathlib import Path +import sys +sys.path.insert(0,str(Path(__file__).resolve().parents[1])) +import numpy as np +import torch +from pace.io import deterministic,read_json,atomic_json,environment,sha +from pace.config import seed +from pace.experiments import recipes +from pace.data import Bank,bank_path +from pace.training import loader,move,load_model +from pace.models import ResourceGate +from pace.interventions import parents + +p=argparse.ArgumentParser();p.add_argument('--root',required=True);p.add_argument('--output',required=True);a=p.parse_args() +root=Path(a.root);output=Path(a.output);output.mkdir(parents=True,exist_ok=True) +r=recipes()['main'];device='cuda:0';sd=41001 +if not torch.cuda.is_available():raise RuntimeError('Run on the Molab GPU for useful timings.') +# Leave CPU thread defaults as used by the real gates CLI; report them. +deterministic(0) +folder=root/'gates/main'/str(sd) +last_path=folder/'last.pt';best_path=folder/'best.pt' +last=torch.load(last_path,map_location='cpu',weights_only=True) +state=last['gate'];start=last['epoch']+1 +fit=Bank(bank_path(root,r,'GATE_FIT'));val=Bank(bank_path(root,r,'GATE_VAL')) +def gen():return torch.Generator().manual_seed(seed('GATE','main',f'{sd}:{start}','shuffle')) +def measured_batches(bank,shuffle): + it=iter(loader(bank,256,shuffle,gen() if shuffle else None));batches=[];seconds=[] + for i in range(min(3,math.ceil(len(bank)/256))): + t=time.perf_counter();batch=next(it);seconds.append(time.perf_counter()-t);batches.append(batch) + print(f' batch {i+1}: data loading {seconds[-1]:.3f}s',flush=True) + return batches,seconds +print('1/5 Timing original shuffled data loading (three batches)...',flush=True) +fit._shard.cache_clear() +original,load_s=measured_batches(fit,True) +cache_info=fit._shard.cache_info()._asdict() +print('2/5 Loading the same gate-fit/validation shard arrays into RAM once...',flush=True) +t=time.perf_counter();memory=0;cache_load={} +for name,bank in [('fit',fit),('val',val)]: + t0=time.perf_counter();shards=[bank._shard(i) for i in range(len(bank.ends))] + memory+=sum(v.nbytes for shard in shards for v in shard.values()) + bank._shard=lambda i,shards=shards:shards[i] + cache_load[name]=time.perf_counter()-t0 +preload_s=time.perf_counter()-t +resident,ram_load_s=measured_batches(fit,True) +exact=all(set(x)==set(y) and all(torch.equal(x[k],y[k]) for k in x) for x,y in zip(original,resident)) +if not exact:raise RuntimeError('Cached and original batches differ. Do not adopt this optimization.') +print(f'Batches match exactly. Resident shard arrays: {memory/2**20:.1f} MiB',flush=True) +print('3/5 Loading frozen models and gate copies; timing GPU components...',flush=True) +d,anch=[load_model(root,j,device) for j in parents('main',sd)] +mask=torch.tensor(r.grid.mask,device=device,dtype=torch.float32)[None,None] +gate=ResourceGate().to(device);gate.load_state_dict(state);gate.train() +opt=torch.optim.Adam(gate.parameters(),lr=.001);opt.load_state_dict(copy.deepcopy(last['optimizer'])) +def timed(fn): + torch.cuda.synchronize();t=time.perf_counter();result=fn();torch.cuda.synchronize() + return result,time.perf_counter()-t +@torch.no_grad() +def frozen(batch): + dp=d(batch);ap=anch(batch);u,_,q=d.inputs(batch) + return u,dp,ap,q +# Warm GPU kernels without changing a saved model or optimizer. +warm=move(resident[0],device);features=frozen(warm) +pred,_=gate(*features[:3],mask,features[3]);abs(pred-warm['h']).square().mean().backward();gate.zero_grad(set_to_none=True);torch.cuda.synchronize() +transfer=[];fixed=[];training=[];precomputed=[] +for batch in resident: + b,dt=timed(lambda:move(batch,device));transfer.append(dt) + features,dt=timed(lambda:frozen(b));fixed.append(dt) + def step(): + pred,_=gate(*features[:3],mask,features[3]);loss=abs(pred-b['h']).square().mean() + opt.zero_grad();loss.backward();torch.nn.utils.clip_grad_norm_(gate.parameters(),1.,error_if_nonfinite=True);opt.step() + return float(loss.detach()) + _,dt=timed(step);training.append(dt) + precomputed.append((b,features)) + print(f' transfer={transfer[-1]:.4f}s frozen={fixed[-1]:.4f}s gate update={training[-1]:.4f}s',flush=True) +print('4/5 Checking predictions, gradients and one Adam update for original versus RAM-backed input...',flush=True) +def one_update(batch): + model=ResourceGate().to(device);model.load_state_dict(state);model.train() + optimizer=torch.optim.Adam(model.parameters(),lr=.001);optimizer.load_state_dict(copy.deepcopy(last['optimizer'])) + b=move(batch,device);u,dp,ap,q=frozen(b);pred,_=model(u,dp,ap,mask,q) + loss=abs(pred-b['h']).square().mean();optimizer.zero_grad();loss.backward() + torch.nn.utils.clip_grad_norm_(model.parameters(),1.,error_if_nonfinite=True) + grads={n:p.grad.detach().clone() for n,p in model.named_parameters()} + optimizer.step() + return pred.detach(),grads,{n:t.detach().clone() for n,t in model.state_dict().items()} +x=one_update(original[0]);y=one_update(resident[0]) +checks={'batch_values_exact':exact,'prediction_exact':torch.equal(x[0],y[0]), + 'gradients_exact':all(torch.equal(x[1][k],y[1][k]) for k in x[1]), + 'updated_parameters_exact':all(torch.equal(x[2][k],y[2][k]) for k in x[2])} +print(checks,flush=True) +print('5/5 Timing validation samples and saving diagnostic estimates...',flush=True) +val_batches,val_load=measured_batches(val,False);val_compute=[] +# Use the saved best checkpoint only in memory. Do not select or overwrite it. +gate.load_state_dict(torch.load(best_path,map_location=device,weights_only=True));gate.eval() +for batch in val_batches: + def validate(): + with torch.no_grad(): + b=move(batch,device);u,dp,ap,q=frozen(b);pred,_=gate(u,dp,ap,mask,q) + return float(abs(pred.to(torch.complex128)-b['h']).square().sum()) + _,dt=timed(validate);val_compute.append(dt) +mean=statistics.mean;nb=math.ceil(len(fit)/256);nv=math.ceil(len(val)/256) +compute=mean(transfer)+mean(fixed)+mean(training) +# Small-sample extrapolations, excluding gate evaluation and other study stages. +epoch_ram=nb*(mean(ram_load_s)+compute)+nv*(mean(val_load)+mean(val_compute)) +estimates={'ram_backed_epoch_seconds_approx':epoch_ram, + 'training_loader_seconds_per_epoch_original_approx':nb*mean(load_s), + 'training_loader_seconds_per_epoch_ram_approx':nb*mean(ram_load_s), + 'remaining_first_fit_seconds_approx':max(0,50-start)*epoch_ram, + 'all_20_fit_epochs_from_scratch_seconds_approx':20*50*epoch_ram, + 'scope':'Three batches per component; excludes gate evaluation, checkpoint I/O, most model setup, later experiments; not a whole-study ETA.'} +report={'environment':environment(),'cpu_threads':torch.get_num_threads(),'completed_gate_epochs':start, + 'checkpoint_sha256':sha(last_path),'best_sha256':sha(best_path),'n_fit':len(fit),'n_val':len(val), + 'original_shard_cache_observation':cache_info,'resident_shards_bytes':memory,'preload_seconds':preload_s,'preload_by_bank':cache_load, + 'timings_seconds':{'original_shuffled_loading':load_s,'ram_shuffled_loading':ram_load_s,'transfer':transfer,'frozen_models':fixed,'gate_update':training,'ram_val_loading':val_load,'validation_compute':val_compute}, + 'equivalence':checks,'estimates':estimates,'campaign_files_modified':False} +atomic_json(output/'gate_profile.json',report) +print(json.dumps(estimates,indent=2),flush=True) +print(f'PROFILE COMPLETE. Share this file: {output/"gate_profile.json"}',flush=True) +if not all(checks.values()):raise RuntimeError('Equivalence check failed. No production optimization was applied.') diff --git a/pace_revision_2/protocols/PACE_Phase1_References.bib b/pace_revision_2/protocols/PACE_Phase1_References.bib new file mode 100644 index 0000000000000000000000000000000000000000..404fca0653a2e4bb2c83e37598f9dc63c7e7be68 --- /dev/null +++ b/pace_revision_2/protocols/PACE_Phase1_References.bib @@ -0,0 +1,202 @@ +% PACE Phase 1 bibliography. Prepared 2026-09-22; literature cutoff 2026-09-21. +% Publication status is explicit. Missing pages/DOIs are intentionally omitted. +% See the report for full-text access limits and baseline roles. + +@inproceedings{guler2025adafortitran, + author = {Guler, Berkay and Jafarkhani, Hamid}, + title = {{AdaFortiTran}: An Adaptive Transformer Model for Robust {OFDM} Channel Estimation}, + booktitle = {2025 IEEE International Conference on Communications (ICC)}, + year = {2025}, + doi = {10.1109/ICC52391.2025.11160810}, + eprint = {2505.09076}, + archivePrefix = {arXiv}, + url = {https://arxiv.org/abs/2505.09076}, + note = {Selected reference experiment: FortiTran-M, Figure 3(a). Author code: https://github.com/BerkIGuler/AdaFortiTran} +} + +@misc{camelo2026helena, + author = {Camelo Botero, Miguel and Beyazit, Esra Aycan and Slamnik-Krije{\v{s}}torac, Nina and Marquez-Barja, Johann M.}, + title = {{HELENA}: High-Efficiency Learning-based channel Estimation using dual Neural Attention}, + year = {2026}, + eprint = {2506.13408}, + archivePrefix = {arXiv}, + primaryClass = {eess.SP}, + url = {https://arxiv.org/abs/2506.13408v2}, + note = {Preprint v2, revised April 16, 2026; first submitted June 16, 2025. Author repository: https://github.com/miguelhdo/HELENA_Channel_Estimation} +} + +@article{liu2025pdcevit, + author = {Liu, Fangyu and Jiang, Peiwen and Zhang, Jing and Wang, Wenjin and Wen, Chao-Kai and Jin, Shi}, + title = {{PD-CEViT}: A Novel Pilot Pattern Design and Channel Estimation Network for {OFDM} Systems}, + journal = {IEEE Transactions on Communications}, + year = {2025}, + volume = {73}, + number = {6}, + pages = {4363--4377}, + doi = {10.1109/TCOMM.2024.3502687}, + url = {https://doi.org/10.1109/TCOMM.2024.3502687}, + note = {Early access 2024; journal issue 2025. Distinct from CE-ViT at GLOBECOM 2023} +} + +@article{wang2026adagpmt, + author = {Wang, Bolin and Chen, Li and Chen, Xiaohui and Wang, Weidong}, + title = {Generalization-Enhanced Channel Estimation Through Adaptive Interpolation and Multi-Task Learning-Based Denoising Network}, + journal = {IEEE Transactions on Machine Learning in Communications and Networking}, + year = {2026}, + volume = {4}, + pages = {528--541}, + doi = {10.1109/TMLCN.2026.3664840}, + url = {https://doi.org/10.1109/TMLCN.2026.3664840} +} + +@misc{qi2026dance, + author = {Qi, Heqiang and Chen, Yirun and Meng, Xiangming and Jiang, Chunxiao and Wu, Sheng and Kuang, Linling}, + title = {Diffusion-Based Noise-Adaptive Null-Space Channel Estimation for {OFDM} Systems}, + year = {2026}, + eprint = {2607.03348}, + archivePrefix = {arXiv}, + url = {https://arxiv.org/html/2607.03348v1}, + note = {Preprint, July 2026; method named DANCE} +} + +@article{shi2026perl, + author = {Shi, Xiaotian and Liu, Yuanjian}, + title = {Transformer-Based Physics Prior-Enhanced Residual Learning for {OFDM} Channel Estimation: The {PERL} Architecture}, + journal = {Electronics}, + year = {2026}, + volume = {15}, + number = {16}, + pages = {3653}, + doi = {10.3390/electronics15163653}, + url = {https://www.mdpi.com/2079-9292/15/16/3653}, + note = {Article 3653. Phase 1 assessment based on publisher abstract and metadata; full text not retrieved} +} + +@inproceedings{pratik2025requestnet, + author = {Pratik, Kumar and Sadeghi, Pouriya and Cesa, Gabriele and Barghi, Sanaz and Soriaga, Joseph B. and Yu, Yuanning and Bhattacharjee, Supratik and Behboodi, Arash}, + title = {{ReQuestNet}: A Foundational Learning model for Channel Estimation}, + booktitle = {2025 IEEE Global Communications Conference (GLOBECOM)}, + year = {2025}, + eprint = {2508.08790}, + archivePrefix = {arXiv}, + url = {https://arxiv.org/abs/2508.08790}, + note = {Conference acceptance stated in the author preprint; final proceedings pages and DOI not verified} +} + +@misc{chen2025continual, + author = {Chen, Jianqiao and Ma, Nan and Liu, Wenkai and Xu, Xiaodong and Zhang, Ping}, + title = {Continual Learning-Aided Super-Resolution Scheme for Channel Reconstruction and Generalization in {OFDM} Systems}, + year = {2025}, + eprint = {2503.01897}, + archivePrefix = {arXiv}, + url = {https://arxiv.org/abs/2503.01897}, + note = {Preprint; publication beyond the checked arXiv record not verified} +} + +@article{wang2026extrapolation, + author = {Wang, Haoyu and Sun, Zhi and Han, Shuangfeng and Wang, Xiaoyun and Wang, Zhaocheng}, + title = {Generalizable Learning for Frequency-Domain Channel Extrapolation Under Distribution Shift}, + journal = {IEEE Transactions on Wireless Communications}, + year = {2026}, + doi = {10.1109/TWC.2025.3650044}, + eprint = {2505.13867}, + archivePrefix = {arXiv}, + url = {https://arxiv.org/abs/2505.13867}, + note = {Author preprint 2025; publisher record 2026. Final volume, issue, and pagination omitted pending verification} +} + +@article{okoyeigbo2026chanest, + author = {Okoyeigbo, Obinna and Deng, Xutao and Sheriff, Ray and Jeremiah, Daniel and Shobayo, Olamilekan}, + title = {{ChanEst} Dataset: A Reconfigurable Framework and Benchmark for Deep Learning-Based {6G} Channel Estimation}, + journal = {Telecom}, + year = {2026}, + volume = {7}, + number = {3}, + pages = {65}, + doi = {10.3390/telecom7030065}, + url = {https://shura.shu.ac.uk/37529/1/telecom-07-00065.pdf}, + note = {Article 65. Author repository: https://github.com/obydelion/ChanEst-Dataset-Generation} +} + +@misc{nie2026delaydoppler, + author = {Nie, Mingcheng and Chang, Hao and Zhang, Xiaoqi and Liu, Junkai and Hardjawana, Wibowo and Vucetic, Branka and Li, Yonghui}, + title = {Channel Estimation for {OFDM} via Delay--Doppler Refinement}, + year = {2026}, + eprint = {2609.09782}, + archivePrefix = {arXiv}, + url = {https://arxiv.org/html/2609.09782v1}, + note = {Preprint, September 2026} +} + +@article{li2020reesnet, + author = {Li, Lianjun and Chen, Hao and Chang, Hung-Hsi and Liu, Liang}, + title = {Deep Residual Learning Meets {OFDM} Channel Estimation}, + journal = {IEEE Wireless Communications Letters}, + year = {2020}, + volume = {9}, + number = {5}, + pages = {615--618}, + doi = {10.1109/LWC.2019.2962796}, + url = {https://doi.org/10.1109/LWC.2019.2962796} +} + +@article{luan2023channelformer, + author = {Luan, Dianxin and Thompson, John S.}, + title = {Channelformer: Attention Based Neural Solution for Wireless Channel Estimation and Effective Online Training}, + journal = {IEEE Transactions on Wireless Communications}, + year = {2023}, + volume = {22}, + number = {10}, + pages = {6562--6577}, + doi = {10.1109/TWC.2023.3244484}, + url = {https://doi.org/10.1109/TWC.2023.3244484} +} + +@inproceedings{liu2023cevit, + author = {Liu, Fangyu and Zhang, Jing and Jiang, Peiwen and Wen, Chao-Kai and Jin, Shi}, + title = {A Robust Channel Estimator Based on Vision Transformer for {OFDM} Systems}, + booktitle = {2023 IEEE Global Communications Conference (GLOBECOM)}, + year = {2023}, + pages = {4798--4803}, + note = {CE-ViT; distinct from the later PD-CEViT journal paper. Bibliographic information also appears in the AdaFortiTran primary paper} +} + +@article{zemen2005dpss, + author = {Zemen, Thomas and Mecklenbr{\"a}uker, Christoph F.}, + title = {Time-Variant Channel Estimation Using Discrete Prolate Spheroidal Sequences}, + journal = {IEEE Transactions on Signal Processing}, + year = {2005}, + volume = {53}, + number = {9}, + pages = {3597--3607}, + doi = {10.1109/TSP.2005.853104}, + url = {https://thomaszemen.org/papers/Zemen05-IEEETrSignalProcessing.pdf} +} + +@misc{mathworks_nrtdlchannel, + author = {{The MathWorks, Inc.}}, + title = {{nrTDLChannel}: Model {TDL} MIMO Channel}, + howpublished = {Official MATLAB 5G Toolbox documentation}, + url = {https://www.mathworks.com/help/5g/ref/nrtdlchannel-system-object.html}, + note = {Accessed September 21, 2026; random-stream and seed defaults require explicit control in reproduction} +} + +@misc{mathworks_nrofdminfo, + author = {{The MathWorks, Inc.}}, + title = {{nrOFDMInfo}: Get {OFDM} Information}, + howpublished = {Official MATLAB 5G Toolbox documentation}, + url = {https://www.mathworks.com/help/5g/ref/nrofdminfo.html}, + note = {Accessed September 21, 2026; verify FFT size, sample rate, CP lengths, and symbol timing from simulator metadata} +} + +@article{edfors1998svd, + author = {Edfors, Ove and Sandell, Magnus and van de Beek, Jan-Jaap and Wilson, Sarah Kate and B{\"o}rjesson, Per Ola}, + title = {{OFDM} Channel Estimation by Singular Value Decomposition}, + journal = {IEEE Transactions on Communications}, + year = {1998}, + volume = {46}, + number = {7}, + pages = {931--939}, + doi = {10.1109/26.701321}, + url = {https://doi.org/10.1109/26.701321} +} diff --git a/pace_revision_2/protocols/PACE_Phase2_1_Backbone_Assessment.md b/pace_revision_2/protocols/PACE_Phase2_1_Backbone_Assessment.md new file mode 100644 index 0000000000000000000000000000000000000000..de18a688f1addec486593bb45de803840f243513 --- /dev/null +++ b/pace_revision_2/protocols/PACE_Phase2_1_Backbone_Assessment.md @@ -0,0 +1,121 @@ +# PACE Phase 2.1 — Backbone Assessment and Architecture Lock + +**Amendment A01 · Version 2.1 · 22 September 2026** + +This addendum supersedes the primary-backbone dimensions and E04 allocation in Phase 2.0. It is a design decision made before new confirmatory results. The decision is to use a **compact CNN–LSTM with convolution width 8, compression dimension 16, and LSTM hidden size 16**. The supplied operator sequence is retained. CNN-only remains an independent architecture control; the former wide hybrid becomes a capacity control. These substitutions do not increase the planned number of training fits. + +This phase inspected the supplied source, reviewed the applicable PyTorch operator definitions, and ran a reproducible arithmetic audit. It did not train networks, measure receiver performance, benchmark the user's GPU, or certify empirical accuracy equivalence. Torch is not installed in this audit environment; parameter counts are calculated from source-defined tensor shapes, not presented as runtime profiler measurements. Implementation must assert the same counts when models are instantiated. + +## 1. What is actually expensive? + +For the Phase 2 grid (120 carriers, 14 symbols, three input planes), the previously selected C=32, D=32, H=32 hybrid has **268,930 trainable parameters**. Its two frequency projection layers contain **249,632 parameters, or 92.82%** of the total. The LSTM has only **8,448 parameters, or 3.14%**. + +The source first creates 32 convolution features at each frequency and symbol. It flattens each symbol to 32×120=3,840 features, maps that to 32, passes it through the LSTM, and maps back to 3,840. Those two dense matrices create most of the parameter burden. Merely deleting the LSTM while retaining these projections would save little storage and would alter temporal processing without addressing the main source of parameters. + +The arithmetic bottleneck is different: the 32→32 transpose convolution contributes 15.483 million of 21.457 million real MACs, approximately 72.16%. Reducing the convolution width therefore attacks both the dense parameter burden and the convolution arithmetic. Reducing D/H also shrinks the dense layers. Neither an LSTM label nor a CNN label, by itself, establishes efficiency. + +The original 48-carrier, two-input-plane architecture evaluates to 118,882 parameters under the supplied 32/32/32 defaults. The corresponding selected 48-pilot Channelformer variant evaluates to 65,197. These historical-grid counts are distinct from the new Phase 2 counts. They are formula-based architecture counts, not a claim that every old checkpoint used identical configuration. A published pruned Channelformer count must not be compared with our unpruned selected variant as if they were the same model. + +## 2. Comparable candidate accounting + +All rows below use the same 120×14 output grid. Central candidates receive the same pilot-derived information and known noise level. Channelformer receives its prescribed 80-pilot adapter. Every count includes trainable biases and normalization affine parameters. MACs count real convolution/linear products and LSTM matrix products; Channelformer also includes QK and attention-value products. One MAC is one multiply-accumulate, not one FLOP. Bias additions, normalization, activations, recurrent elementwise arithmetic, interpolation, fixed anchors and data movement are excluded. Convolution MACs follow the dense kernel-size convention, including padded positions. Thus MACs are comparable arithmetic accounting, not complete runtime cost. + +| Backbone | Trainable parameters | MACs per slot | Role / interpretation | +|---|---:|---:|---| +| Previous hybrid, C32/D32/H32 | 268,930 | 21,457,408 | Wide capacity control | +| **Compact hybrid, C8/D16/H16** | **34,858** | **2,031,232** | **Locked primary backbone** | +| Intermediate hybrid, C16/D16/H16 | 68,674 | 5,969,152 | Audited alternative; no additional training arm | +| Plain residual CNN, width 8 | 5,042 | 8,346,240 | Very few parameters, but more MACs than compact hybrid | +| Plain residual CNN, width 16 | 19,298 | 32,175,360 | Locked additional architecture control | +| Plain residual CNN, width 32 | 75,458 | 126,282,240 | Removed from planned E04 allocation | +| Global single-layer LSTM, H32 | 43,120 | 596,736 | Audited alternative; no local convolutional bias | +| Global single-layer bidirectional LSTM, H16/direction | 41,072 | 568,064 | Audited alternative; not selected without evidence | +| Selected Channelformer adaptation | 185,181 | 7,803,840 | External comparison, unchanged | + +The compact hybrid reduces trainable parameters by **87.04%** and counted MACs by **90.53%** relative to the previous Phase 2 hybrid. Against the selected same-grid Channelformer it has **81.18% fewer parameters** and **73.97% fewer counted MACs**. These are backbone-only comparisons. Anchored and gated systems must additionally report preprocessing, fixed matrices and branch costs. A two-parent gate does not inherit the cost of one backbone. + +An LSTM may still have worse GPU latency than its MAC count suggests because its 14 recurrent steps execute sequentially. Conversely, small convolutions may underutilize the GPU. No speedup factor, energy saving, batch throughput, or peak-memory ratio is established by this table. The Phase 2 batch-1/batch-512 measurements remain mandatory. + +## 3. Can CNN-only or LSTM-only do the job? + +### CNN-only + +Yes: a two-dimensional convolutional network is a legitimate estimator of this time–frequency grid. Recurrence is not required by the input–output model. A plain residual CNN also avoids recurrent state and batch normalization in the specified control, and its fully convolutional parameter count does not scale with frequency-grid length. + +However, the already specified four-block width-16 CNN performs eight width-to-width 3×3 convolutions over all 1,680 grid positions. It has fewer parameters than the compact hybrid but approximately 15.84 times its counted MACs. The width-8 CNN has fewer parameters again, but approximately 4.11 times the compact hybrid MACs. Low parameter count is therefore an insufficient reason to replace the primary backbone with these CNNs. + +Its nominal receptive field is 21×21 for the specified ten 3×3 layers. This is not access to the entire 120-carrier grid. Interpolated LS already incorporates nearby pilot information, so the raw-pilot receptive field is not identical to the neural receptive field. Nevertheless, the CNN and global-projection hybrid use different spatial biases. There is no present evidence that either achieves better estimation accuracy. Dilated, bottleneck and depthwise CNNs could reduce arithmetic or expand coverage; adding them now would introduce a new architecture search beyond the anchor question. They are not required for this revision. + +### LSTM-only + +A coherent global LSTM-only candidate forms one token per symbol: all 240 real/imaginary frequency values plus the one noise feature, hence input dimension 241. A linear head maps each hidden output to 240 values. The bidirectional candidate uses 16 units per direction, hence a 32-dimensional concatenated output. Both exploit cross-frequency mixing through dense input weights, without local convolution. The arithmetic script defines these candidates exactly enough to reproduce the accounting; they are not locked experimental arms. + +A different implementation that runs one tiny LSTM independently at each subcarrier would discard learned cross-frequency mixing and is not equivalent to the global candidate. Flattening the whole grid into a 1,680-step sequence would introduce an artificial traversal and is also not the candidate counted here. + +The global LSTM options are cheaper in counted MACs, but remove the local convolutional processing and impose a different output bottleneck. Their parameter counts are slightly larger than the selected compact hybrid. They might work well; we have not demonstrated that. Selecting one as an empirical winner without training would be unjustified. The compact hybrid is the conservative design choice because it removes most of the known cost while preserving the original processing structure. + +## 4. Locked primary architecture + +Internal axes follow the supplied implementation, which temporarily uses frequency before time for convolution. Do not change flattening order when porting it. + +| Stage | Exact definition | Main-grid shape | +|---|---|---| +| Input | RI field plus broadcast q=SNR_dB/25 | B×3×14×120 | +| Permute | swap frequency/time axes | B×3×120×14 | +| Encoder | Conv2d(3,8,3,stride=1,padding=1,bias=True); BatchNorm2d(8); LeakyReLU(0.1) | B×8×120×14 | +| Flatten per symbol | permute to symbol, channel, frequency; flatten C×F | B×14×960 | +| Compression | Linear(960,16,bias=True); no added activation | B×14×16 | +| Time reversal | reverse the 14-token time axis | B×14×16 | +| Recurrent layer | LSTM(input_size=16,hidden_size=16,num_layers=1,bias=True,batch_first=True,dropout=0,bidirectional=False,proj_size=0) | B×14×16 | +| Restore time order | reverse outputs on the time axis | B×14×16 | +| Expansion | Linear(16,960,bias=True); reshape and permute | B×8×120×14 | +| Decoder | ConvTranspose2d(8,8,3,stride=1,padding=1,output_padding=0,bias=True); BatchNorm2d(8); LeakyReLU(0.1) | B×8×120×14 | +| Output | Conv2d(8,2,3,stride=1,padding=1,padding_mode='replicate',bias=True) | B×2×120×14 | +| Restore canonical axes | swap frequency/time | B×2×14×120 | + +Both BatchNorm layers use eps=1e-5, momentum=0.1, affine=True, track_running_stats=True. They use training statistics when fitting and frozen running statistics at inference. Initial running mean is zero and variance one. Retaining BatchNorm deliberately avoids changing normalization and width simultaneously. Distribution shift in these statistics remains a possible mechanism; do not claim width reduction resolves it. + +Retain PyTorch 2.9.1 constructor initialization, with no custom post-initialization or zero output head; BatchNorm affine starts at gain one/bias zero. All three central arms load identical named initial tensors per training seed. Initial LSTM hidden/cell states are zero for each independent slot, with no state carry. The reversed unidirectional LSTM is retained for continuity; it is not a causal online receiver and is not advertised as bidirectional. Because interpolation uses the slot's pilots, time reversal does not imply exclusive access to future raw observations. + +No pooling, attention, extra global LS skip, output clipping, projection onto the BEM subspace, added activation after the output, or new normalization is introduced. Direct, A-raw and A-res retain precisely their Phase 2 external constructions. Internal feature processing and the external physical anchor remain distinct. + +The two five-plane information-preserving controls change only the first convolution to 5→8. Each then has **35,002 parameters** and **2,273,152 counted MACs**. For other frequency grids, replace both 960 dimensions by 8F and record changed counts; the locked main and 30-kHz grids both use F=120. Pilot density does not change this backbone's input/output dimensions because its adapter still produces the full grid. + +## 5. Why this is the decision, and what it does not establish + +The design priority is an interpretable finite-model anchor study with low execution cost, not a new architecture contribution or the smallest possible network. C8/D16/H16 gives a major reduction while retaining local convolutions, global frequency mixing and short temporal recurrence. D=H=16 is a declared engineering budget; it is not inferred to be optimal from the eight-dimensional BEM. In particular, unrestricted learned corrections must still represent out-of-subspace error. The network is not projected or forced into that eight-dimensional subspace. + +A narrower hidden representation may underfit or change the sign of the anchor effect. That is why the old 32/32/32 hybrid is retained in a paired capacity control. If the phenomenon appears only in the compact model, the paper must identify that capacity dependence. We must not claim a general anchoring failure from a deliberately weak model, nor silently enlarge the primary model after seeing an unfavorable target result. + +This is an **architecture lock**, not an empirical noninferiority certification. There is no defensible NMSE-preservation guarantee before training. Source-only tuning and validation remain required; corrected performance may favor direct estimation, anchored estimation, CNN-only, or an external baseline. Report whichever outcome occurs. + +## 6. Binding amendments to Phase 2.0 + +1. **Section 6.1 and every central-backbone use:** replace C32/D32/H32 by C8/D16/H16. This includes E01, anchor variants, information/scale controls, sensitivities, retraining, broad training, waveform training, adaptation and the gate-label-budget control. Update five-plane input counts as above. The former wide hybrid is not the default for any of these recipes. +2. **Section 6.2 / E04:** replace the two CNN widths with (a) the existing plain residual CNN width 16 and (b) the original wide hybrid C32/D32/H32. Each trains Direct and A-res with ten paired seeds under the main source and is evaluated on the already frozen main test conditions. E04 remains 40 full fits. This provides a different architecture and a hybrid width/bottleneck contrast. The latter changes C, D and H together and must not be called a convolution-width-only intervention. +3. **Section 7.1 tuning:** central compact D/A-raw/A-res jointly select their peak LR using the existing three-candidate, three-development-seed procedure. The CNN16 pair selects jointly; the wide-hybrid pair selects jointly, each on source TUNE only. External baselines are unchanged. The tuning count remains 27 compact-primary +18 CNN16 +18 wide-hybrid +36 external =99 development fits of 50 epochs. No target-dependent architecture selection is permitted. +4. **Execution ledger:** primary/secondary seed counts, 440 main full fits, six reference fits, gates and adaptation counts are unchanged. The primary endpoint still concerns the main compact A-res versus compact Direct. E04 comparisons are exploratory capacity/architecture analyses, not additions to the twelve-test confirmatory secondary family. +5. **Environment and system model:** no changes to channels, pilot geometry, BEM calibration, source/target splits, external baseline definitions, receiver, gates or metric/statistical rules. Fit gates to the new compact parent checkpoints; old-parent gates/checkpoints are incompatible and must not be reused. +6. **Artifacts / precedence:** apply this Amendment A01 and its JSON overlay over Phase 2.0. The original Phase 2 files remain the historical frozen base. An implementation must record both hashes, effective C/D/H and recipe identity; it must not read the old dimensions and silently ignore this addendum. This is the authoritative effective version 2.1 until a later numbered amendment. + +The retained CNN16 costs more arithmetic per slot than the compact hybrid, but it occurs in only the bounded E04 control. Removing CNN32 from E04 reduces that secondary workload. No end-to-end wall-clock saving is asserted before measurement. + +## 7. Implementation acceptance and claim boundaries + +Before final training, instantiate all central variants and assert the exact trainable counts: 34,858 for three-plane compact, 35,002 for five-plane compact, 268,930 for the wide three-plane hybrid, and 19,298 for CNN16. Count BatchNorm affine parameters, but not running-statistic buffers. Confirm tensor order with a nonsymmetric numbered fixture, zero-anchor output/gradient equivalence, identical initialization hashes within paired arms, and no hidden-state carry. Reuse all Phase 2 numerical, checkpoint and leakage checks. + +Inspect source TRAIN/TUNE/VAL curves and perform the already specified small-fixture overfit check. A wiring failure blocks execution and is fixed; a properly implemented model with poorer accuracy is an experimental outcome. No automatic threshold is invented to guarantee it outperforms an external comparator. If genuine underfitting motivates a new design, amend the protocol before confirmatory target access, document all development attempts, and repeat affected source calibration. + +Report total trainable parameters, fixed anchor/covariance storage, preprocessing, real MAC convention, batch-1 latency, batch-512 throughput, peak allocated memory and complete gated-system cost separately. Do not claim 90.53% lower measured runtime merely because counted MACs fell by that amount. Nor does equal trainable count establish equal capacity. + +Suitable paper wording: “We use a compact CNN–LSTM backbone to study deterministic pilot-derived anchors under a fixed training budget. The same backbone and initialization are used within each controlled comparison. Additional CNN and wider-hybrid experiments assess dependence on architecture and model size.” Its compactness is a practical implementation choice, not a claimed new channel-estimation architecture. + +## 8. Evidence and reproducibility + +- Supplied project: `ntn_ce/models/hybrid_cnn_lstm.py`, `ntn_ce/models/channelformer.py`, and `ntn_ce/config/schema.py`, from the previously audited project archive. Exact source hashes are included in the companion amendment. +- Channelformer source contract: [pinned author repository](https://github.com/dianixn/Channelformer/tree/6312c79e103422178ab4cc3d698aeae0731c308f), selected unpruned offline two-head/three-decoder adaptation from Phase 2. It is not a new baseline variant selected in this phase. +- [PyTorch 2.9 LSTM documentation](https://docs.pytorch.org/docs/2.9/generated/torch.nn.LSTM.html): input/recurrent matrices and both bias vectors establish the parameter formula 4H(D+H+2) for one direction and one layer. +- [PyTorch 2.9 Conv2d documentation](https://docs.pytorch.org/docs/2.9/generated/torch.nn.Conv2d.html): convolution tensor dimensions establish the kernel-count formula used here. +- `PACE_Phase2_1_Architecture_Audit.py`: dependency-free arithmetic, all candidate definitions and layer breakdowns. Execute with Python to reproduce the table. It does not implement or train the research models. + +**Final lock: compact CNN–LSTM C8/D16/H16 as primary; CNN16 and wide hybrid C32/D32/H32 as the bounded architecture/capacity controls.** diff --git a/pace_revision_2/protocols/PACE_Phase2_1_Backbone_Lock.json b/pace_revision_2/protocols/PACE_Phase2_1_Backbone_Lock.json new file mode 100644 index 0000000000000000000000000000000000000000..db7f95f0c8ca0dda7681cadc1d2b32151ec5bd4b --- /dev/null +++ b/pace_revision_2/protocols/PACE_Phase2_1_Backbone_Lock.json @@ -0,0 +1,268 @@ +{ + "amendment": "A01", + "effective_version": "2.1", + "status": "architecture locked; empirical performance not established", + "base_protocol": { + "filename": "PACE_Phase2_Experimental_Protocol.md", + "sha256": "b754df9fad1d2967aea20741926caaba0a99df248a9e0414d8ab345a06de6e72" + }, + "base_config": { + "filename": "PACE_Phase2_Protocol_Config.json", + "sha256": "f238850ca3d81b076f182f7737542df9147005abf6ec2e410f65f0b2091d912e" + }, + "authority": "Apply this overlay and Phase 2.1 narrative over Phase 2.0. Unmentioned settings unchanged.", + "report_sha256": "bdf5de52f1a42664be34794f162aeb9028eb94eb15f0a1171b81a8c6132e50f7", + "backbone_override": { + "name": "HybridCNNLSTM", + "conv_channels": 8, + "compression": 16, + "lstm_hidden": 16, + "lstm_layers": 1, + "reverse_time": true, + "bidirectional": false, + "dropout": 0, + "proj_size": 0, + "input_planes": 3, + "output_planes": 2, + "smoothing_kernel": 3, + "batchnorm_eps": 1e-05, + "batchnorm_momentum": 0.1, + "leaky_relu": 0.1, + "initialization": "PyTorch 2.9.1 constructor defaults; identical tensors across paired arms", + "hidden_state": "zeros per slot; never carried" + }, + "E04_override": { + "controls": [ + { + "name": "plain_residual_CNN", + "width": 16, + "blocks": 4 + }, + { + "name": "HybridCNNLSTM", + "conv_channels": 32, + "compression": 32, + "lstm_hidden": 32 + } + ], + "arms": [ + "D", + "A-res" + ], + "seeds": [ + 41001, + 41002, + 41003, + 41004, + 41005, + 41006, + 41007, + 41008, + 41009, + 41010 + ], + "full_fits": 40, + "replace_prior_CNN_widths": [ + 16, + 32 + ], + "inference": "exploratory architecture/capacity comparisons" + }, + "tuning_override": { + "compact_primary": 27, + "CNN16_pair": 18, + "wide_hybrid_pair": 18, + "external": 36, + "total": 99, + "rules": "Phase 2 source-only three LRs / three development seeds / 50 epochs; each control pair selects jointly" + }, + "main_fit_total": 440, + "counts": { + "historical_hybrid_48carriers_2planes": { + "parameters": 118882, + "macs": 8458240, + "parameter_breakdown": { + "encoder_conv": 608, + "encoder_bn": 64, + "compress": 49184, + "lstm": 8448, + "expand": 50688, + "decoder_conv": 9248, + "decoder_bn": 64, + "output_conv": 578 + }, + "mac_breakdown": { + "encoder_conv": 387072, + "compress": 688128, + "lstm": 114688, + "expand": 688128, + "decoder_conv": 6193152, + "output_conv": 387072 + } + }, + "historical_channelformer_48pilots_48carriers": { + "parameters": 65197, + "macs": 3307200, + "parameter_breakdown": { + "attention": 9408, + "encoder_norms": 192, + "ffn": 96, + "decoder_head": 312, + "decoder_blocks": 21960, + "upsample": 32928, + "output": 301 + }, + "mac_breakdown": { + "attention_projections": 18432, + "attention_products": 384, + "ffn": 8640, + "decoder_head": 28800, + "decoder_blocks": 2073600, + "upsample": 774144, + "output": 403200 + } + }, + "phase2_hybrid_32_32_32": { + "parameters": 268930, + "macs": 21457408, + "parameter_breakdown": { + "encoder_conv": 896, + "encoder_bn": 64, + "compress": 122912, + "lstm": 8448, + "expand": 126720, + "decoder_conv": 9248, + "decoder_bn": 64, + "output_conv": 578 + }, + "mac_breakdown": { + "encoder_conv": 1451520, + "compress": 1720320, + "lstm": 114688, + "expand": 1720320, + "decoder_conv": 15482880, + "output_conv": 967680 + } + }, + "compact_hybrid_8_16_16_LOCKED": { + "parameters": 34858, + "macs": 2031232, + "parameter_breakdown": { + "encoder_conv": 224, + "encoder_bn": 16, + "compress": 15376, + "lstm": 2176, + "expand": 16320, + "decoder_conv": 584, + "decoder_bn": 16, + "output_conv": 146 + }, + "mac_breakdown": { + "encoder_conv": 362880, + "compress": 215040, + "lstm": 28672, + "expand": 215040, + "decoder_conv": 967680, + "output_conv": 241920 + } + }, + "moderate_hybrid_16_16_16": { + "parameters": 68674, + "macs": 5969152, + "parameter_breakdown": { + "encoder_conv": 448, + "encoder_bn": 32, + "compress": 30736, + "lstm": 2176, + "expand": 32640, + "decoder_conv": 2320, + "decoder_bn": 32, + "output_conv": 290 + }, + "mac_breakdown": { + "encoder_conv": 725760, + "compress": 430080, + "lstm": 28672, + "expand": 430080, + "decoder_conv": 3870720, + "output_conv": 483840 + } + }, + "phase2_channelformer": { + "parameters": 185181, + "macs": 7803840, + "parameter_breakdown": { + "attention": 25920, + "encoder_norms": 320, + "ffn": 96, + "decoder_head": 312, + "decoder_blocks": 22152, + "upsample": 136080, + "output": 301 + }, + "mac_breakdown": { + "attention_projections": 51200, + "attention_products": 640, + "ffn": 14400, + "decoder_head": 48000, + "decoder_blocks": 3456000, + "upsample": 3225600, + "output": 1008000 + } + }, + "plain_residual_CNN8": { + "parameters": 5042, + "macs": 8346240, + "receptive_field_each_axis": 21 + }, + "plain_residual_CNN16": { + "parameters": 19298, + "macs": 32175360, + "receptive_field_each_axis": 21 + }, + "plain_residual_CNN32": { + "parameters": 75458, + "macs": 126282240, + "receptive_field_each_axis": 21 + }, + "global_LSTM32": { + "parameters": 43120, + "macs": 596736 + }, + "global_BiLSTM16": { + "parameters": 41072, + "macs": 568064 + }, + "compact_5plane_information_control": { + "parameters": 35002, + "macs": 2273152, + "parameter_breakdown": { + "encoder_conv": 368, + "encoder_bn": 16, + "compress": 15376, + "lstm": 2176, + "expand": 16320, + "decoder_conv": 584, + "decoder_bn": 16, + "output_conv": 146 + }, + "mac_breakdown": { + "encoder_conv": 604800, + "compress": 215040, + "lstm": 28672, + "expand": 215040, + "decoder_conv": 967680, + "output_conv": 241920 + } + } + }, + "cost_convention": "real MACs; dense convolution convention; bias, normalization, activation, elementwise recurrence, adapters and anchors excluded; not latency", + "source_hashes": { + "ntn_ce/models/hybrid_cnn_lstm.py": "699b42d2c1eba5cde68df084ff3cca768619124b3785708edcdac7f8a2623ef4", + "ntn_ce/models/channelformer.py": "c9458cb6d9ca44ea7f10571e4276bb02b4d7d84029c3f56732bc9d95fa854162", + "ntn_ce/config/schema.py": "640f39eed905c4aad9df797b10e94198fe0531221317fae4b7081ade36041822" + }, + "audit_script_sha256": "6103bf09159b6a0debac4955a8e158ddb66b5caf9b47b77cb5c7845d08fbe46f", + "performance_evidence": "none in this phase; source-shape arithmetic only", + "artifacts_invalidated": "old central/gate checkpoint compatibility; old C32 primary manifests; all future caches must include effective version and dimensions" +} diff --git a/pace_revision_2/protocols/PACE_Phase2_Experimental_Protocol.md b/pace_revision_2/protocols/PACE_Phase2_Experimental_Protocol.md new file mode 100644 index 0000000000000000000000000000000000000000..32814630508f194b05dc914ee980345462a9ae85 --- /dev/null +++ b/pace_revision_2/protocols/PACE_Phase2_Experimental_Protocol.md @@ -0,0 +1,345 @@ +# PACE Phase 2 — Experimental Protocol + +**Version 2.0 · 22 September 2026 · Status: design frozen for implementation** + +Prepared for Hassan Saud. This is the controlling implementation blueprint for the terrestrial study. It supersedes Phase 1 wherever an explicit resolution below is more specific. No channel-estimation experiment, neural training, or receiver simulation was run in preparing it. The evidence in this phase consists of source inspection, serialized-architecture inspection, and arithmetic/contract checks. Runtime acceptance checks are mandatory execution work; their results are not claimed here. + +## 1. Scientific question, scope, and freeze rules + +We test how a deterministic pilot-derived anchor changes a finite neural estimator's behavior under controlled channel-distribution shift. The confirmatory question is whether its signed gain changes between matched and shifted conditions. A sign reversal, its mechanism, successful mitigation, and superiority over external methods are separate claims requiring separate evidence. + +The study is terrestrial, SISO, single-slot CP-OFDM. It does not claim NTN propagation, full NR conformance, MIMO generality, causal real-time prediction, or universal robustness. Both pilots in the slot are available before estimation; latency includes waiting for the later pilot. Geometry, CFO, oscillator phase noise, shadowing, path loss, and synchronization errors are absent. State these assumptions in the paper. Timing and bulk phase synchronization are ideal for all receivers. + +The design is sufficiently rigorous for the intended study if its acceptance gates pass and its reporting rules are followed. It cannot guarantee TWC acceptance, recovery of the old result, convergence of every model, or absence of future software defects. Failures of numerical or fidelity gates block affected results; they never justify silently substituting a different model. + +**Decision hierarchy:** this narrative is authoritative; its companion JSON is an indexed configuration manifest and must agree with it. Any discrepancy blocks implementation until corrected. Next in precedence is pinned executable source for an explicitly identified released-code comparator; original paper for scientific interpretation. Source/paper disagreements are recorded, not erased. Any change to datasets, primary endpoint, information access, selected model, or training policy requires a numbered amendment stating the reason and whether confirmatory outputs have been inspected. Routine bug fixes must preserve the mathematical contract and invalidate affected cached results. + +**Two experiment tracks:** R is a published-setting independent reproduction of FortiTran-M; C is our controlled common-data study. They do not share checkpoints or performance claims. The original 48-subcarrier project remains a historical diagnostic, not part of the new confirmatory dataset. + +## 2. Source audit and binding resolutions + +The companion source-lock JSON contains repository commits, inspected-file SHA-256 hashes, and the full serialized HELENA configuration. This preserves what was inspected even if upstream changes. The original project archive remains the authority for the supplied PACE/ReEsNet/Channelformer ports. + +| Component | Inspected source | Binding resolution | +|---|---|---| +| FortiTran / AdaFortiTran | `BerkIGuler/AdaFortiTran`, `fa49e60f25579f59ba1815a27399e999b1382d5c`; models, blocks, dataset, trainer, parser, YAML | Preserve the released operators and shared real/imaginary weights. Set three layers for FortiTran-M and six for AdaFortiTran-L. Default demo settings are not the paper protocol. | +| Reference generator | `BerkIGuler/OFDMChannelGenerator`, `eea85606e09b0c90c2105c7be7661fa40cdfd789` | Do not use its generated data for C. Its default-seed, timing, measured-noise, and truth-definition issues require native audit before any historical numerical replication claim. | +| HELENA | `miguelhdo/HELENA_Channel_Estimation`, `af601ec272fc566bac1c47c97e820fc796b6fdfc`; saved `.keras` configuration/weights and evaluation helpers | Preserve the saved architecture, with only declared reshape changes for 120 carriers. Four heads each have key/value dimension 64. Do not replace this with four 16-dimensional heads. Use our metric, not the conflicting helper definitions. | +| Channelformer | `dianixn/Channelformer`, `6312c79e103422178ab4cc3d698aeae0731c308f`; MATLAB operator files and supplied project port | Use the specified unpruned offline two-head, three-decoder-block port, corroborated by `parameters_frame_3_decode.mat`, adapting pilot feature length. Attention tokens are real/imaginary planes. No online update or pruning claims. Training scripts contain other variants; do not combine them. | +| ReEsNet | Supplied `ntn_ce/models/reesnet.py` | Treat as a documented ReEsNet adaptation, not certified original-author numerical reproduction. Retain pilot-grid input, residual blocks and learned upsampling. | +| Physical channel / coding | NVlabs Sionna **2.0.1**, commit `04ddb9312116b408093b9d3ad363a3df355093a6` | New isolated PyTorch-based revision environment. Explicit version migration from the old project; do not overwrite its environment or silently reuse cached channels. Pin channel tables and LDPC APIs. | + +**FortiTran count conflict:** at 80 pilots and 1,680 outputs the released upsampler alone has `80×1680+1680=136,080` parameters. Consequently the whole released model cannot have the paper's approximately 0.12M count at this configuration. Report measured implementation counts. Name it **FortiTran-M (released-code variant)**. This resolves what to implement but does not identify the authors' historical code. An exact historical Figure 3(a) numerical replication remains unverified; no protocol can reconstruct unavailable provenance by assumption. + +**No license dependency for C or R:** use the canonical Python engine below. R is explicitly an *independent reproduction of published settings using released model code*, not an exact reproduction of the original MATLAB data. Native MATLAB/Keras parity checks are isolated quality checks when their runtime is available. Absence of MATLAB does not authorize claiming native parity: use documented independent operator checks and retain the adaptation label. HELENA's CPU parity environment is specified below and is mandatory before its main results. + +Public source links: [FortiTran](https://github.com/BerkIGuler/AdaFortiTran), [generator](https://github.com/BerkIGuler/OFDMChannelGenerator), [HELENA](https://github.com/miguelhdo/HELENA_Channel_Estimation), [Channelformer](https://github.com/dianixn/Channelformer), [Sionna 2.0.1](https://github.com/NVlabs/sionna/tree/v2.0.1). Paper citations are in the saved Phase 1 bibliography; new implementation claims here are based on the pinned source files, not inferred from abstracts. + +## 3. Physical, tensor, and observation contracts + +### 3.1 Grid and power + +Main grid: 120 active carriers, 14 symbols, 15 kHz spacing, FFT length 256, sample rate 3.84 MHz, carrier 2 GHz. Active signed FFT indices are `−60,…,59`; map signed index k to unshifted FFT index `k mod 256`. DC is active in this custom grid. Remaining bins are zero. Do not add an unreported DC null. + +CP lengths in samples are `[20,18,18,18,18,18,18,20,18,18,18,18,18,18]`. The slot has 3,840 samples and duration 1 ms. Unitary FFT/IFFT use `norm='ortho'`; no windowing, overlap, or carrier-frequency phase compensation. Symbol useful-window starts are cumulative preceding `(256+CP)` plus the current CP. Define `t_s` as the center of that 256-sample useful window. It is not an assumed uniformly spaced symbol index. + +Pilot indices are zero-based active-grid frequency positions `1,4,…,118` and symbol indices `[2,11]`. There are 80 pilots and 1,600 data REs. All pilots are `(1+j)/sqrt(2)`, known to every estimator; data are independent and unit-energy. Fixed pilots avoid an unnecessary pilot-sequence variable. The pattern is a custom comb, not asserted to be standard NR DM-RS. + +The axis labeled SNR is **transmitted active-RE Es/N0**. Set Es=1 and `N0=10^(−SNR_dB/10)`. Noise is circular complex Gaussian, each real component variance N0/2. Time-domain noise has the same complex variance under unitary FFT. The occupied-bin fraction changes average waveform sample power; it does not change this definition. No per-realization measured-power AWGN, pilot boost, or Eb/N0 conversion is permitted. If Eb/N0 is additionally shown, distinguish payload-bit energy and explicitly include actual code rate, modulation, pilots and CP overhead. + +### 3.2 Channel and shared labels + +Use terrestrial Sionna TDL-A/C tap tables, normalized ensemble path power, SISO, **32 sinusoids per path**, independent uniformly random phases and the pinned TDL angular construction. Set `min_speed=max_speed=fd*c/fc` with c=299,792,458 m/s; fd is a maximum Doppler in Hz, not a common CFO. Source is TDL-C, RMS delay spread 100 ns, fd=10 Hz. Both A and C are NLOS profiles. No per-realization channel normalization or channel-dependent noise scaling. + +Generate path gains at the actual waveform sample times through the slot, using `TDL(..., num_sinusoids=32, precision='double')` and `num_time_steps=3840`, `sampling_frequency=3.84e6` for the main grid. For each symbol, average each path gain over its 256 useful samples. Define the canonical channel label + +`H[s,k] = sum_p mean_n(a_p(t_s,n)) exp(−j 2π k_signed Δf τ_p)`. + +This is the diagonal of the waveform channel operator below when the CP covers the path delays. It is **not** the instantaneous gain at an arbitrary symbol boundary. Generate in complex128, reduce/store H as complex64; retain float64 reference diagnostics for QC. Channel paths are time varying within symbols, even when using the controlled diagonal observation. + +**C-DIAG:** `Y[s,k]=H[s,k]X[s,k]+N[s,k]`. Only pilot observations are exposed to estimators. Nonpilot data are irrelevant to estimation here. This deliberately removes ICI while retaining a consistent target. + +**C-WAVE:** for each symbol and path, apply its exact fractional-delay frequency phase to the populated FFT grid, IFFT, multiply useful samples by that path's time-varying gain, and sum paths before adding noise and FFT. Equivalently, + +`y_s = sum_p diag(a_p,s) Fᴴ diag(exp(−j2π k Δf τ_p)) x_s + n_s`. + +Here x_s includes all 256 bins, F is the unitary FFT, and each a_p,s contains 256 useful-time samples. This is a sample-level linear time-varying channel, not scalar multiplication after FFT. Its operator is `G_s = sum_p F diag(a_p,s) Fᴴ D_p`. The diagonal equals the label above. Retain the actual CP timing between useful windows. Fractional delays are exact for the periodically extended OFDM symbol; do not round path delays or introduce an undocumented finite-sinc filter. + +This construction assumes excess delay less than CP. That assumption holds for the locked cases: TDL-C's largest normalized delay is 8.6523, so even 300 ns RMS gives 2.596 μs, below the 15-kHz minimum CP of 4.6875 μs. At 30 kHz only 100 ns is tested, below its 2.34375 μs minimum CP. Assert this using the pinned tables for every recipe. Thus **ISI is absent by design**, while ICI is present in C-WAVE. A later CP-violating case requires a continuous multi-symbol convolution implementation and a protocol amendment; do not silently use the circular construction there. + +Main waveform conditions are fd `[10,100,500,1000]` Hz at C/100 ns. The 1,000-Hz case is a severe stress condition, not a typical claimed deployment. Report normalized Doppler and measured off-diagonal operator energy. On the first 128 waveform test channels per condition, build G and report active-input/active-output ICI energy divided by diagonal energy, plus leakage into guard outputs. This is separate from BEM projection error. + +### 3.3 Data formats and information groups + +Canonical complex arrays have shape `[batch,symbol=14,frequency=120]`, frequency contiguous. Real neural arrays are `[batch,2,14,120]`, real then imaginary. Canonical vector index is `j=120*s+k`. Pilot vectors are symbol-major, frequency-fast. Let S be the binary pilot-selection matrix; `z = Y_p/X_p = SH + ε` in C-DIAG, with covariance N0 I. In C-WAVE, z additionally contains data-dependent ICI; do not call it pure AWGN pilot noise. + +Inputs allowed to the main information group: z, known pilots, mask, grid constants, and N0. No channel labels, true Doppler, profile, delay spread, or true channel norm enter prediction. A model may ignore N0; central Direct/PACE models must all receive it. Noise feature is `q=−log10(N0)/2.5 = SNR_dB/25`, broadcast, with no clipping in declared sensitivity tests. + +Oracle group: PH projection, independent target-covariance LMMSE, target-domain retraining, and AdaFortiTran with true fd/delay metadata. Every output names its information group. No oracle curve is presented as an attainable pilot-only method. + +Interpolate LS by separable piecewise-linear interpolation in frequency and in actual t_s, with nearest-value extension outside the pilot convex hull in each axis. Restore pilot positions exactly. This defines a linear matrix L, and `SL=I`. Never infer pilot positions by testing whether observed values are nonzero. + +## 4. Samples, randomization, and leakage prevention + +Training seeds are `41001,…,41020`; external and secondary comparisons use the first ten. Development seeds are `[31001,31002,31003]` and never enter confirmatory statistics. Root data seed is 20260922. + +Each source recipe in C has independent banks: TRAIN 100,000 channels; TUNE 6,000 (1,000 per SNR); VAL 12,000 (2,000 per SNR); GATE_FIT 6,000 (1,000 per SNR); GATE_VAL 3,000 (500 per SNR); TEST 10,000 channels **per condition**, each reused at the six SNRs. The balanced validation count of 12,000 replaces Phase 1's illustrative 10,000. Training SNR labels are balanced to within one sample across `[0,5,10,15,20,25]`; an epoch shuffles all 100,000 examples, including the last partial batch. Training examples and their noise are fixed across epochs and training seeds. Results are conditional on this training bank; twenty initializations are not twenty independently sampled datasets. + +Generate a sample's RNG seed from the first eight SHA-256 bytes, little-endian, masked to 63 bits, of UTF-8 `PACE2|20260922|bank|family|sample_id|component`. Components are channel, pilot_noise, waveform_noise, data_bits, shuffle, initialization and sham. For data, sample_id is the zero-based integer channel ID; for model RNGs, use the literal training seed as sample_id and the architecture/recipe as family. Paired central arms use the same architecture/recipe family without the arm name. The fixed sham uses bank=FIXED, family=main, sample_id=0, component=sham. Record every expanded seed string in the manifest. Check for collisions and fail if found. Do not use Python's salted hash. Use explicit per-sample RNG states, not batch size or call order, to define the data. Sionna generation can be performed one sample per seeded call and batched later; any faster implementation must reproduce saved per-sample outputs within declared tolerance. Do not rely on a global training seed to control simulator draws. + +For matched/reverse Doppler tests on the same profile/delay, family identifies a common latent channel: reuse path angles/phases and rescale fd; reuse standardized noise across SNRs. For profile changes, use distinct channel families but common test IDs and noise. Reuse the exact same bank across all methods. Reuse the same path realization for its DIAG/WAVE pair. All source train, tune, validation, gate, test, adaptation, and oracle-fitting banks are disjoint by identity. Never split adjacent windows from one longer path realization across banks. + +After source tuning and all acceptance tests, freeze the configuration, source hashes and dataset hashes **before generating/evaluating TEST outputs**. QC uses a separate bank, 2,048 channels, seed family QC. Do not inspect confirmatory performance while debugging. Save test tensors or deterministic regeneration inputs; record sample IDs, actual N0, physical settings and label hashes. + +## 5. Classical estimators and BEM specification + +### 5.1 Primary calibrated BEM + +Main design support is delay interval `[0,1 μs]` and Doppler interval `[−20,20]` Hz. These are declared source-envelope design values, not per-test oracle inputs. Kf=4 frequency modes, Kt=2 time modes, total rank 8. Do not clamp orders to pilot counts; regularized estimators may remain defined when sampled bases are rank deficient, but that deficiency must be reported. + +Frequency basis: `scipy.signal.windows.dpss(120, NW=120*Δf*τmax/2, Kmax=Kf, sym=True, norm=2, return_ratios=True)`, ordered by decreasing concentration. At 15 kHz and τmax=1 μs, NW=0.9. Multiply taper k by `exp(−j2π f_k τmax/2)` to represent a positive-delay band. Time basis: eigendecompose the 14×14 real symmetric kernel `Cst=sinc(2*fd_design*(t_s−t_t))`, where sinc(u)=sin(πu)/(πu), using actual useful-window centers. Keep the Kt largest eigenvectors, Euclidean-normalized. This is a generalized prolate basis on the actual sampling times; do not falsely describe it as ordinary uniformly sampled DPSS. For the first largest-magnitude element of each column, fix sign/phase to positive real; ties choose the lowest index. Sorting is descending eigenvalue then original index. Record concentration/eigenvalues and gaps; extremely small retained eigenvalues are diagnostics, not permission for a hidden bandwidth floor. + +Build `B = B_t ⊗ B_f` in canonical frequency-fast order; verify `BᴴB=I`. Set `A=SB`, `P=BBᴴ`. Coefficients are c=Bᴴh. Estimate their zero-mean second moment R0 from **clean TRAIN only**, using complex128 accumulation. The physical generator has zero ensemble mean; do not center by test means. Use `R_c=0.99 R0+0.01 trace(R0)/q I`, q=rank(B)=8 in the primary configuration (use the actual q for sensitivity bases). Prior variance is therefore measured, not fixed to one per coefficient. + +The anchor is + +`b = B R_c Aᴴ (A R_c Aᴴ + γ N0 I)^−1 z`, with main γ=1. + +Use a Cholesky solve in complex128, never a dense inverse. Add only `δ=1e−10 trace(M)/P_count` to M's diagonal for numerical stabilization, where M is the matrix being solved; record δ. Do not progressively increase δ until a result looks stable. If Cholesky fails, stop that configuration for diagnosis. The exact statistical model excludes δ; report its relative scale. Cast b to complex64 only at the neural boundary. Its output remains in range(B). + +For arbitrary nonorthonormal fixture bases, use `P=B pinv(B)` with SVD relative cutoff 1e−12. The primary orthonormal basis requires no pseudoinverse. Save σmax, smallest retained σ, effective rank at `σ>1e−10 σmax`, and condition number of A; report infinity if it is rank deficient. Also save the solve-matrix condition number, which is a different quantity. + +### 5.2 Strong covariance LMMSE and controls + +Fit C=E[hhᴴ] from the same source TRAIN; use zero mean. Let M=1680, p=trace(C)/M, α=0.001. Define `R=(1−α)C+α p I_M`. Only R_hp and R_pp need storage for prediction. Use `hhat=R_hp(R_pp+N0 I)^−1 z` with the same complex128 solve/jitter policy. The cross covariance is `E[h h_pᴴ]`, not its transpose or unconjugated product. A phase-correlated analytic fixture must verify this orientation. This estimator uses **source** statistics at every target condition. + +Oracle target-covariance LMMSE is required only for C/100 ns/fd=100 Hz, fitted on a separate 100,000-channel target training bank. Never estimate it from TEST. It is an oracle linear diagnostic, not a nonlinear-MMSE bound. + +Low-rank covariance curves use the top eigenvectors of the full source R with ranks `[4,8,16,32]`, then the corresponding rank-truncated cross/auto covariances in the same estimator. Label this an **Edfors-style empirical low-rank LMMSE adaptation**, not an exact reproduction of the original paper's sampling/prior assumptions. + +Alternate anchors: zero; interpolated LS Lz; source LMMSE; primary BEM; broad-support BEM (τmax=3 μs, fd_design=200 Hz, Kf=6,Kt=2); oracle PH. For the broad BEM, test both the source-fitted prior above and isotropic `R_c=trace(R0)/12 I`. This separates representational support from prior mismatch. + +Sham anchor: apply one fixed random permutation of the 1,680 complex entries of b and independent signs ±1, generated once from the sham seed. Keep it fixed across realizations, splits and training seeds. It preserves each sample's complex norm and uses no target channel. No cross-sample shuffling, ground-truth norm matching, or retuned sham per domain. + +The zero-anchor/raw-input construction is exactly Direct under shared initialization and minibatches; verify equality, do not count duplicate runs as independent evidence. PH uses ground truth and must be excluded from deployable rankings and BER/BLER tables. + +## 6. Neural estimators and baseline adapters + +### 6.1 Central controlled constructions + +Let u=Lz, b be the selected anchor, q the noise feature. The three primary constructions are: + +- **D:** `fθ([Re u, Im u, q])`. +- **A-raw:** `b + fθ([Re u, Im u, q])`. +- **A-res:** `b + fθ([Re(u−b), Im(u−b), q])`. + +All output a two-plane complex grid; the noise plane is input only. The three models share initialization tensors exactly for a training seed and use identical batch order, source data, optimizer choice and update schedule. They train separately. No target-domain tuning, anchor gradients, output clipping, pilot overwriting after prediction, or forced BEM projection of neural outputs. Train by full-grid complex MSE, not by the relative residual norm or by a per-sample dB loss. + +The backbone is the supplied Hybrid CNN-LSTM, explicitly adapted to three input planes and 120 carriers. Fix C=32 convolution channels, frequency-compression dimension D=32, one unidirectional LSTM with hidden size 32, time reversal before and after LSTM, and the supplied encoder/decompressor/decoder ordering. Encoder: 3×3 same Conv, BatchNorm (eps 1e−5, momentum 0.1), LeakyReLU 0.1. Compress each time slice's C×120 features to 32. Expand LSTM output to C×120. Decoder: 3×3 stride-one transpose Conv, BatchNorm, LeakyReLU 0.1; final 3×3 Conv to two outputs with replicate padding. All linear/convolution biases present. No hidden LSTM state is carried between independent slots. BatchNorm uses training batches while fitting and frozen running statistics at evaluation. Do not replace batch size using gradient accumulation without noting that BatchNorm would change. + +This is a finite-budget controlled architecture, not a claim of equivalent function classes or new population information. The raw-input population equivalence conditions on all U=(z,N0,mask). The residual-input variant additionally requires its input transform to preserve U. For every N0, compute the singular values of the pilot-restricted transformation `I−S K`, where b=Kz, and the full map `L−K`. Report injectivity and conditioning; at finite precision an invertible transform may still be ill-conditioned. + +Add an information-preserving residual control: feed `[Re(u−b),Im(u−b),Re b,Im b,q]` to the same backbone with five input channels. Pair it with a five-channel raw control `[Re u,Im u,0,0,q]`. Use identical five-channel initial weights. The concatenated representation recovers u by addition; compare these two variants without claiming their parameter count proves identical effective capacity. + +### 6.2 Architecture generality + +Pure CNN widths are 16 and 32. Each uses 3×3 Conv(3→width), ReLU, four residual blocks each Conv(width→width), ReLU, Conv(width→width), identity addition; then 3×3 Conv(width→2). Zero padding one; biases present; no BatchNorm or dropout and no global LS skip unless prescribed by A-raw/A-res. Apply D and A-res within each width, using the same fixed BEM. Each receives q. This is the additional-backbone experiment; merely listing ReEsNet separately does not substitute for it. + +### 6.3 External learned baselines + +**ReEsNet adaptation:** pilot tensor `[B,2,Npt,Npf]` with Npt=2,Npf=40; width 16; four two-convolution residual blocks; head Conv2→16, body-tail Conv16→16 with head skip, learned ConvTranspose upsampling, output Conv16→2. All ordinary convolutions are 3×3 same. In `(time,frequency)` order, main upsampling kernel=(9,5), stride=(7,3), padding=(1,1), output_padding=0, yielding 14×120 exactly. For declared regular-comb changes use the supplied formula with Python's round semantics: stride=round(nout/nin), padding=1, kernel=nout−(nin−1)stride+2; assert the output shape. Preserve learned upsampling, not bilinear replacement. N0 is available but not consumed by this native-style architecture. + +**Channelformer adaptation:** canonical z length 80 maps to `[B,1,80,2]`, with separate real/imaginary tokens. Two heads, one encoder block, encoder feedforward convolution width 5, three decoder blocks width 12. Post-normalization over the 80-feature axis, epsilon 1e−5, affine per feature. Encoder QKV linear 80→240, output 80→80; FFN 1→5→1 with 3×3 convolutions and tanh-approximate GELU. Decoder head 1→12 and residual block convolutions use 5×5; each block has ReLU between two convolutions followed by the source post-norm. FC upsamples 80→1680 per channel/token, followed by final 5×5 Conv12→1. Reshape in canonical frequency-fast order. Preserve the supplied port's operation order and bias layout. A native MAT-file loader must follow the actual stored field names: MATLAB string concatenation can produce `layer_31` for the final three-block decoder field; do not assume the field is named `layer_4`. Never reinterpret 80 pilot entries as 80 attention tokens. All selected pilot patterns have an even number of pilots; the two-head divisibility assertion must pass. This is the **two-head, three-decoder-block offline variant**, confirmed in `parameters_frame_3_decode.mat`. The separate `parameters_HA03.mat` instead has one decoder block and must not be used as its fidelity checkpoint. Another public training script uses six heads, which does not divide 80. It is not silently padded or conflated with our selected variant. + +**FortiTran-M released-code variant:** input complex `[B,40,2]` with frequency-major/time-fast order, explicitly transposed from canonical z. Flatten to 80. One shared real-valued model processes real and imaginary parts in two calls; do not create independent weights or stack them as two Conv input channels. Upsampler Linear80→1680, reshape `[B,1,120,14]`. Initial/final enhancement modules use four 3×3 Conv layers with channels 1→8→32→8→1, ReLU after the first three only. Unfold patches (frequency,time)=(3,2), stride=(3,2), into 280 tokens of length 6. Linear6→32; learned positional embeddings `[1,512,32]`, retaining all 512 rows as in the release; three TransformerEncoder layers, four heads, FFN=64, GELU, dropout 0.1, post-norm epsilon 1e−5, then Linear32→6. Fold patches back; add the enhanced feature map before final refinement. Preserve the release's initialization, including Transformer layer cloning and positional initialization. Count allocated and actually used parameters separately if discussing unused positional rows. Do not claim the paper's published count. + +**AdaFortiTran-L oracle-metadata arm:** same released architecture with six Transformer layers; concatenate six metadata features per patch before Linear12→32. Three MLPs each 1→7→42→560, ReLU between hidden layers, reshape each to 280×2. Input units are SNR in dB, delay spread in ns, Doppler in Hz, as in the release. Do not silently standardize metadata. This branch is trained on the broad recipe R, then compared with a broad-trained FortiTran-M; the two share data but differ in metadata access and architecture. It is not part of the source-only primary ranking. Include an “available nominal metadata” evaluation using fixed source fd=10 and DS=100 on C tests, labeled as a mismatched-metadata stress result, not an estimated-metadata method. True-statistics and nominal-statistics outputs remain separate. + +**HELENA released-model adaptation:** input is sparse pilot LS with zeros at nonpilots, arranged NHWC `[B,120,14,2]`. Do not replace this with interpolated LS. Preserve Conv2D 2→32 kernel(12,2), stride1, SAME padding, ReLU; Conv32→2 kernel(6,7), SAME, ReLU; dropout 0.1. Keras SAME padding is asymmetric for even kernels: first (frequency before/after 5/6, time 0/1); second (2/3,3/3). Reshape in NHWC order to `[B,10,336]` (ten groups of twelve frequencies across all fourteen times/two planes). Linear336→64. MHA has four heads each key/value dim64: Q/K/V projections each 64→256, attention scaling sqrt(64), output256→64, attention dropout 0, biases present. Add input embedding, LayerNorm over64 with epsilon 0.001. Average over the ten tokens with keepdims; MLP64→16 ReLU→64 sigmoid; multiply the normalized token features. Linear64→336; reshape back NHWC and add the original sparse LS input. Output transpose to canonical layout. Do not use `nn.MultiheadAttention(embed_dim=64,num_heads=4)` as a drop-in replacement. + +Native HELENA parity uses the saved 612×14 model, i.e. 51 tokens, its actual weights and fixed nonsymmetric real/imaginary test arrays. The 120-carrier adaptation changes only input/output reshape and token count, not feature dimensions. Do not reuse published native-grid accuracy/latency numbers for the adapted model. Preserve Glorot-uniform kernels, zero biases and norm initialization when training this architecture from scratch. + +All external baselines use the same complex labels, complex-MSE definition, source bank and evaluator. Their deterministic preprocessing differences are intentional. Published metrics on different data are context only, not rows in our numerical table. + +## 7. Optimization and deterministic selection + +### 7.1 Common-data training + +Main batch size 512, 200 epochs, 196 optimizer steps per epoch including the 160-sample final batch. No early stopping; select the best validation checkpoint. Optimizer is Adam, betas=(0.9,0.999), eps=1e−8, weight_decay=0, global gradient-norm clip=1.0. No augmentation, mixed precision, TF32, stochastic weight averaging or test-time ensembling in the primary results. Use float32 networks and sum real/imaginary squared errors so `loss=mean_complex_RE |Hhat−H|²`. For external code that uses half this loss, replace it in C with the canonical loss and document the training adaptation. + +A small fixed tuning procedure avoids handicapping different architectures without leaving discretionary choices. Candidate peak learning rates are `[0.0003,0.001,0.003]`. Train each candidate for 50 epochs on TRAIN, seeds 31001–31003, and choose by arithmetic mean of the best TUNE **pooled linear NMSE** across seeds. Ties within 1e−6 relative choose the smaller learning rate. All architectures get exactly this budget; no discarded failed trials. Central D/A-raw/A-res select one shared peak rate by averaging the three arms' source TUNE scores for each candidate. The same selected rate is reused for all central anchor controls, sensitivities, adaptation initialization, and gates' parent estimators. Each pure-CNN width selects jointly across D and A-res. Each external architecture selects separately. Selection uses only source TUNE and resets all weights before final fitting. + +The scheduler is per optimizer step. Let T be total steps, J=ceil(number of training examples/512), Tw=5×J (980 for TRAIN), η the selected peak. During warmup `lr(t)=η[0.1+0.9(t+1)/Tw]` for t