Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Results are framed by **astronomy instrument** (HST, Euclid, JWST, …) rather t
| `imaging/delaunay` | hst | hpc_a100_mp | dense (mapping) | 96.8 ms | v2026.7.6.649 |
| `imaging/delaunay` | hst | hpc_a100_mp | sparse (w-tilde) | 95.5 ms | v2026.7.6.649 |
| `imaging/delaunay_numba` | euclid | local_cpu_fp64 | sparse (numba) | 1.19 s | v2026.8.17.1 |
| `imaging/delaunay_numba` | hst | local_cpu_fp64 | sparse (numba) | 3.22 s | v2026.8.17.1 |
| `imaging/delaunay_numba` | hst | local_cpu_fp64 | sparse (numba) | 679.2 ms | v2026.8.17.1 |
| `imaging/mge` | hst | local_cpu_fp64 | dense (mapping) | 179.5 ms | v2026.7.6.649 |
| `imaging/mge` | hst | hpc_a100_fp64 | dense (mapping) | 7.8 ms | v2026.7.6.649 |
| `imaging/pixelization` | hst | local_cpu_fp64 | dense (mapping) | 8.65 s | v2026.7.6.649 |
Expand All @@ -71,8 +71,8 @@ Results are framed by **astronomy instrument** (HST, Euclid, JWST, …) rather t
| `imaging/pixelization` | hst | hpc_a100_fp64 | sparse (w-tilde) | 57.9 ms | v2026.7.6.649 |
| `imaging/pixelization` | hst | hpc_a100_mp | dense (mapping) | 56.4 ms | v2026.7.6.649 |
| `imaging/pixelization` | hst | hpc_a100_mp | sparse (w-tilde) | 55.5 ms | v2026.7.6.649 |
| `imaging/pixelization_numba` | euclid | local_cpu_fp64 | sparse (numba) | 2.10 s | v2026.8.17.1 |
| `imaging/pixelization_numba` | hst | local_cpu_fp64 | sparse (numba) | 21.57 s | v2026.8.17.1 |
| `imaging/pixelization_numba` | euclid | local_cpu_fp64 | sparse (numba) | 288.6 ms | v2026.8.17.1 |
| `imaging/pixelization_numba` | hst | local_cpu_fp64 | sparse (numba) | 691.5 ms | v2026.8.17.1 |
<!-- END auto-table:headline -->

The tables above are auto-generated by `scripts/misc/tooling/build_readme.py` from the artifacts under [`results/`](./results/README.md) — never edit them by hand; run `python scripts/misc/tooling/build_readme.py` after a profiling run and commit the result (CI checks idempotence via `--check`). Narrative context — per-cell "where to optimize next" recommendations and the mp-vs-fp64 verdicts — lives in [`scripts/misc/likelihood_runtime/OPTIMIZATION_NOTES.md`](./scripts/misc/likelihood_runtime/OPTIMIZATION_NOTES.md).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,29 +25,34 @@
"omp_num_threads": "1"
},
"steps": {
"FitImaging construct": 0.00010670000006030023,
"Blurred image (FFT convolve)": 0.019015520000039032,
"Profile subtracted image": 0.00010823000002346816,
"Inversion build (trace+Delaunay+mapper)": 0.05277517000004082,
"PSF-weighted data [numba]": 0.01558175999998639,
"MGE operated mapping matrix (60 funcs)": 0.4349745199998779,
"Mapper sparse triplets": 0.030901940000103423,
"Data vector D [numba]": 0.008124649999899702,
"Curvature matrix F [numba sparse-op]": 1.7725606600000448,
"Regularization matrix H (ConstantSplit)": 0.13839846999994734,
"F + H": 0.003469200000108685,
"Reconstruction solve (BLAS)": 0.5417054600000938,
"Mapped reconstruction [numba+FFT]": 0.006093289999989792,
"Model data + chi^2": 0.006790640000008352,
"log det (F+H) [Cholesky]": 0.050793790000079754,
"log det H [Cholesky]": 0.04692912999998953,
"Regularization term s'Hs": 0.0011736499999642548,
"Log evidence (figure of merit)": 0.0934743499999513
"FitImaging construct": 7.37200001367455e-05,
"Blurred image (FFT convolve)": 0.010467500000095243,
"Profile subtracted image": 5.2989999994679236e-05,
"Inversion build (trace+Delaunay+mapper)": 0.02722744000016064,
"PSF-weighted data [numba]": 0.008432200000015655,
"MGE operated mapping matrix (60 funcs)": 0.2072877299999618,
"Mapper sparse triplets": 0.018328900000051364,
"Data vector D [numba]": 0.004825830000118003,
"F: mapper\u00d7mapper block [sparse-op]": 0.12305467000014687,
"F: mapper\u00d7linear-func block [FFT conv + scatter]": 0.0515464300000076,
"F: linear-func\u00d7linear-func block [BLAS]": 0.01916231999989577,
"Curvature matrix F [residual: mirror + diag-add]": -0.010250559999940373,
"Regularization matrix H (ConstantSplit)": 0.0681292599999324,
"F + H": 0.002749279999989085,
"Reconstruction solve (BLAS)": 0.03926761000002443,
"Mapped reconstruction [numba+FFT]": 0.0034941299999900364,
"Model data + chi^2": 0.003210120000039751,
"log det (F+H) [Cholesky]": 0.02755216999998993,
"log det H [Cholesky]": 0.024576129999877593,
"Regularization term s'Hs": 0.0007812499999545252,
"Log evidence (figure of merit)": 0.0492773199999192
},
"total_step_by_step": 3.222977130000208,
"direct_log_likelihood_function_per_call": 3.664489109999977,
"warmup_incl_numba_compile_s": 5.48075499999959,
"log_likelihood": 29090.52721044813,
"total_step_by_step": 0.6792464400003608,
"curvature_matrix_f_total_s": 0.18351286000010986,
"curvature_matrix_f_split_note": "The four 'F: ...' / 'Curvature matrix F' rows sum to curvature_matrix_f_total_s, the raw un-split cost of the inversion.curvature_matrix step. The three block rows are direct measurements of the (uncached) per-block helpers in imaging_numba/sparse.py; the 'Curvature matrix F [residual: ...]' row is t(curvature_matrix) minus those three, i.e. the global mirror, the no-regularization diagonal add and assembly overhead, and it carries the combined noise of the four timings. PyAutoArray#505 step 0.",
"direct_log_likelihood_function_per_call": 0.7576715100000001,
"warmup_incl_numba_compile_s": 4.814360099999703,
"log_likelihood": 29090.527210448134,
"pinned_expected": 29090.527192092646,
"pinned_drift": []
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -17,36 +17,42 @@
28,
28
],
"rect_mesh": "bilinear",
"source_pixels": 784,
"inversion_path": "sparse_numba",
"use_jax": false,
"lens_light": "mge_60_linear",
"omp_num_threads": "1"
},
"steps": {
"FitImaging construct": 7.580000001325971e-05,
"Blurred image (FFT convolve)": 0.011992690000261064,
"Profile subtracted image": 3.1340000168711414e-05,
"Inversion build (trace+mesh+mapper)": 0.01467940999991697,
"PSF-weighted data [numba]": 0.0022784300001148948,
"MGE operated mapping matrix (60 funcs)": 0.4157829399999173,
"Mapper sparse triplets": 1.099141320000126,
"Data vector D [numba]": 0.0009452199999941513,
"Curvature matrix F [numba sparse-op]": 0.2405917899999622,
"Regularization matrix H": 0.001643829999738955,
"F + H": 0.0006582800004252931,
"Reconstruction solve (BLAS)": 0.267646330000025,
"Mapped reconstruction [numba+FFT]": 0.0066464899999118645,
"Model data + chi^2": 0.006479599999511265,
"log det (F+H) [Cholesky]": 0.008570310000141034,
"log det H [Cholesky]": 0.007837470000049506,
"Regularization term s'Hs": 0.0003200899998773821,
"Log evidence (figure of merit)": 0.015268050000304356
"FitImaging construct": 7.546999995611259e-05,
"Blurred image (FFT convolve)": 0.008001979999926334,
"Profile subtracted image": 3.681000011965807e-05,
"Inversion build (trace+mesh+mapper)": 0.01710581000006641,
"PSF-weighted data [numba]": 0.0026192299999820536,
"MGE operated mapping matrix (60 funcs)": 0.10346844000009696,
"Mapper sparse triplets": 0.0016650700000354845,
"Data vector D [numba]": 0.001205819999859159,
"F: mapper\u00d7mapper block [sparse-op]": 0.06530645000011645,
"F: mapper\u00d7linear-func block [FFT conv + scatter]": 0.022554969999964668,
"F: linear-func\u00d7linear-func block [BLAS]": 0.004474150000078225,
"Curvature matrix F [residual: mirror + diag-add]": 0.004506459999856813,
"Regularization matrix H": 0.004038749999972424,
"F + H": 0.0012899899999865739,
"Reconstruction solve (BLAS)": 0.0099663199999668,
"Mapped reconstruction [numba+FFT]": 0.0015609000000040396,
"Model data + chi^2": 0.001559590000033495,
"log det (F+H) [Cholesky]": 0.010603099999934784,
"log det H [Cholesky]": 0.00950673000002098,
"Regularization term s'Hs": 0.0004289500000595581,
"Log evidence (figure of merit)": 0.018604910000021846
},
"total_step_by_step": 2.1005893900004584,
"direct_log_likelihood_function_per_call": 2.258366720000049,
"warmup_incl_numba_compile_s": 3.257500200001232,
"log_likelihood": 5860.175003697541,
"total_step_by_step": 0.28857990000005884,
"curvature_matrix_f_total_s": 0.09684203000001616,
"curvature_matrix_f_split_note": "The four 'F: ...' / 'Curvature matrix F' rows sum to curvature_matrix_f_total_s, the raw un-split cost of the inversion.curvature_matrix step. The three block rows are direct measurements of the (uncached) per-block helpers in imaging_numba/sparse.py; the 'Curvature matrix F [residual: ...]' row is t(curvature_matrix) minus those three, i.e. the global mirror, the no-regularization diagonal add and assembly overhead, and it carries the combined noise of the four timings. PyAutoArray#505 step 0.",
"direct_log_likelihood_function_per_call": 0.24940190999996048,
"warmup_incl_numba_compile_s": 2.1857472000001508,
"log_likelihood": 6213.306873885871,
"pinned_expected": null,
"pinned_drift": []
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -17,36 +17,42 @@
28,
28
],
"rect_mesh": "bilinear",
"source_pixels": 784,
"inversion_path": "sparse_numba",
"use_jax": false,
"lens_light": "mge_60_linear",
"omp_num_threads": "1"
},
"steps": {
"FitImaging construct": 8.171999979822431e-05,
"Blurred image (FFT convolve)": 0.022798310000325728,
"Profile subtracted image": 7.074999957694672e-05,
"Inversion build (trace+mesh+mapper)": 0.029194960000131685,
"PSF-weighted data [numba]": 0.009886089999781689,
"MGE operated mapping matrix (60 funcs)": 0.8668588700002147,
"Mapper sparse triplets": 18.802446930000407,
"Data vector D [numba]": 0.004903690000355709,
"Curvature matrix F [numba sparse-op]": 1.2400383800000783,
"Regularization matrix H": 0.0022586600000067845,
"F + H": 0.0007666800000151852,
"Reconstruction solve (BLAS)": 0.5279153000003134,
"Mapped reconstruction [numba+FFT]": 0.014945690000058676,
"Model data + chi^2": 0.014683259999583243,
"log det (F+H) [Cholesky]": 0.009715300000243588,
"log det H [Cholesky]": 0.008949740000025486,
"Regularization term s'Hs": 0.0004129599999942002,
"Log evidence (figure of merit)": 0.01778383000018948
"FitImaging construct": 8.33399999919493e-05,
"Blurred image (FFT convolve)": 0.01084737999999561,
"Profile subtracted image": 6.784000001971435e-05,
"Inversion build (trace+mesh+mapper)": 0.026095339999892532,
"PSF-weighted data [numba]": 0.008763999999928274,
"MGE operated mapping matrix (60 funcs)": 0.22401575999997475,
"Mapper sparse triplets": 0.005336110000007466,
"Data vector D [numba]": 0.0052595000000565054,
"F: mapper\u00d7mapper block [sparse-op]": 0.27679772000001324,
"F: mapper\u00d7linear-func block [FFT conv + scatter]": 0.05443964000005508,
"F: linear-func\u00d7linear-func block [BLAS]": 0.021487699999988764,
"Curvature matrix F [residual: mirror + diag-add]": 0.0066316599999936,
"Regularization matrix H": 0.0018421100000068692,
"F + H": 0.0008287500000278669,
"Reconstruction solve (BLAS)": 0.00876641000008931,
"Mapped reconstruction [numba+FFT]": 0.003643519999968703,
"Model data + chi^2": 0.0037507700000787734,
"log det (F+H) [Cholesky]": 0.008669489999920187,
"log det H [Cholesky]": 0.007879109999976208,
"Regularization term s'Hs": 0.00032316000001628706,
"Log evidence (figure of merit)": 0.015974480000113544
},
"total_step_by_step": 21.573711120001104,
"direct_log_likelihood_function_per_call": 21.254453419999844,
"warmup_incl_numba_compile_s": 24.729626099999223,
"log_likelihood": 22803.4728745572,
"pinned_expected": null,
"total_step_by_step": 0.6915037900001153,
"curvature_matrix_f_total_s": 0.3593567200000507,
"curvature_matrix_f_split_note": "The four 'F: ...' / 'Curvature matrix F' rows sum to curvature_matrix_f_total_s, the raw un-split cost of the inversion.curvature_matrix step. The three block rows are direct measurements of the (uncached) per-block helpers in imaging_numba/sparse.py; the 'Curvature matrix F [residual: ...]' row is t(curvature_matrix) minus those three, i.e. the global mirror, the no-regularization diagonal add and assembly overhead, and it carries the combined noise of the four timings. PyAutoArray#505 step 0.",
"direct_log_likelihood_function_per_call": 0.5949823200000083,
"warmup_incl_numba_compile_s": 4.023859600000378,
"log_likelihood": 27661.91013366411,
"pinned_expected": 27661.910133665442,
"pinned_drift": []
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"autolens_version": "2026.8.17.1",
"device": {
"backend": "cpu",
"device": "cpu:0",
"xla_flags": "--xla_disable_hlo_passes=constant_folding --xla_gpu_autotune_level=0",
"omp_num_threads": "1",
"cpu_count": 8
},
"instrument": "hst",
"configuration": {
"pixel_scale_arcsec": 0.05,
"mask_radius_arcsec": 3.5,
"image_pixels_masked": 15361,
"over_sampled_pixels": 17980,
"mesh_shape": [
28,
28
],
"rect_mesh": "rtu",
"source_pixels": 784,
"inversion_path": "sparse_numba",
"use_jax": false,
"lens_light": "mge_60_linear",
"omp_num_threads": "1"
},
"steps": {
"FitImaging construct": 6.170000001475273e-05,
"Blurred image (FFT convolve)": 0.01020472999980484,
"Profile subtracted image": 5.66400000025169e-05,
"Inversion build (trace+mesh+mapper)": 0.024389229999997042,
"PSF-weighted data [numba]": 0.00845435000001089,
"MGE operated mapping matrix (60 funcs)": 0.20154515999997785,
"Mapper sparse triplets": 7.080621299999985,
"Data vector D [numba]": 0.00409297999995033,
"F: mapper\u00d7mapper block [sparse-op]": 0.24928207000002658,
"F: mapper\u00d7linear-func block [FFT conv + scatter]": 0.06102243000013914,
"F: linear-func\u00d7linear-func block [BLAS]": 0.019332219999932933,
"Curvature matrix F [residual: mirror + diag-add]": 0.004671089999874256,
"Regularization matrix H": 0.0016499499999554246,
"F + H": 0.0008134300001074735,
"Reconstruction solve (BLAS)": 0.010040690000050746,
"Mapped reconstruction [numba+FFT]": 0.0035483700000440875,
"Model data + chi^2": 0.0035280499999771563,
"log det (F+H) [Cholesky]": 0.008806140000069717,
"log det H [Cholesky]": 0.007731979999971372,
"Regularization term s'Hs": 0.00030322000002342976,
"Log evidence (figure of merit)": 0.014850420000084342
},
"total_step_by_step": 7.715006150000001,
"curvature_matrix_f_total_s": 0.33430780999997295,
"curvature_matrix_f_split_note": "The four 'F: ...' / 'Curvature matrix F' rows sum to curvature_matrix_f_total_s, the raw un-split cost of the inversion.curvature_matrix step. The three block rows are direct measurements of the (uncached) per-block helpers in imaging_numba/sparse.py; the 'Curvature matrix F [residual: ...]' row is t(curvature_matrix) minus those three, i.e. the global mirror, the no-regularization diagonal add and assembly overhead, and it carries the combined noise of the four timings. PyAutoArray#505 step 0.",
"direct_log_likelihood_function_per_call": 7.479174180000018,
"warmup_incl_numba_compile_s": 11.205480999999963,
"log_likelihood": 27180.70471569685,
"pinned_expected": 27180.704715698186,
"pinned_drift": []
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading