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
1 change: 1 addition & 0 deletions autoarray/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
from .inversion.mesh import image_mesh
from .inversion import regularization as reg
from .settings import Settings
from .setup import Setup
from .inversion.inversion.abstract import AbstractInversion
from .preloads import AbstractPreloads
from .preloads import PreloadsImaging
Expand Down
302 changes: 302 additions & 0 deletions autoarray/config/setup_rules.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,302 @@
# Setup rule table: the Pulse-designated optimal compute setup per
# (likelihood, regime, hardware_class), read by aa.Setup.auto.
# Generated by: python -m autoarray.setup.generate_rules --pulse <PyAutoPulse>
# Source: PyAutoPulse decisions.yaml (kind: designation)
# Pulse commit: 94a101f4e2c1d011d192c5721aac194bea5467cd
# Generated on: 2026-11-23
# Do not hand-edit: change the Pulse decisions and regenerate.
rules:
- likelihood: cluster/image_plane
regime: standard
hardware_class: cpu_many_core
optimal: jax_cpu_na_fp64
secondary: []
decision_id: cluster-image-plane-standard-cpu-many-core
rule: A cluster-scale point-source dataset fitted in the image plane on a many-core CPU node with no GPU uses jax_cpu_na_fp64.
- likelihood: cluster/image_plane
regime: standard
hardware_class: gpu_a100
optimal: jax_gpu_na_fp64
secondary: []
decision_id: cluster-image-plane-standard-gpu-a100
rule: A cluster-scale point-source dataset fitted in the image plane on an A100 node uses jax_gpu_na_fp64.
- likelihood: cluster/source_plane
regime: standard
hardware_class: cpu_many_core
optimal: jax_cpu_na_fp64
secondary: []
decision_id: cluster-source-plane-standard-cpu-many-core
rule: A cluster-scale point-source dataset fitted in the source plane on a many-core CPU node with no GPU uses jax_cpu_na_fp64.
- likelihood: cluster/source_plane
regime: standard
hardware_class: gpu_a100
optimal: jax_gpu_na_fp64
secondary: []
decision_id: cluster-source-plane-standard-gpu-a100
rule: A cluster-scale point-source dataset fitted in the source plane on an A100 node uses jax_gpu_na_fp64.
- likelihood: datacube/delaunay
regime: standard
hardware_class: cpu_many_core
optimal: numba_cpu_sparse_fp64_wtilde
secondary:
- jax_cpu_sparse_fp64_wtilde
decision_id: datacube-delaunay-standard-cpu-many-core
rule: A datacube (interferometer channels fitted together) with a Delaunay pixelized source on a many-core CPU node with no GPU uses numba_cpu_sparse_fp64_wtilde, one serial likelihood per core (workers capped by node memory over peak RSS), falling back to jax_cpu_sparse_fp64_wtilde.
- likelihood: group/delaunay
regime: standard
hardware_class: cpu_many_core
optimal: numba_cpu_sparse_fp64
secondary:
- jax_cpu_sparse_fp64
decision_id: group-delaunay-standard-cpu-many-core
rule: A group-scale imaging dataset with a Delaunay pixelized source on a many-core CPU node with no GPU uses numba_cpu_sparse_fp64, one serial likelihood per core (workers capped by node memory over peak RSS), falling back to jax_cpu_sparse_fp64.
- likelihood: group/delaunay
regime: standard
hardware_class: gpu_a100
optimal: jax_gpu_dense_fp64
secondary:
- jax_gpu_sparse_fp64
decision_id: group-delaunay-standard-gpu-a100
rule: A group-scale imaging dataset with a Delaunay pixelized source on an A100 node uses jax_gpu_dense_fp64, falling back to jax_gpu_sparse_fp64.
- likelihood: group/mge
regime: standard
hardware_class: cpu_many_core
optimal: jax_cpu_dense_fp64
secondary: []
decision_id: group-mge-standard-cpu-many-core
rule: A group-scale imaging dataset with a parametric (MGE) source on a many-core CPU node with no GPU uses jax_cpu_dense_fp64.
- likelihood: group/mge
regime: standard
hardware_class: gpu_a100
optimal: jax_gpu_dense_fp64
secondary: []
decision_id: group-mge-standard-gpu-a100
rule: A group-scale imaging dataset with a parametric (MGE) source on an A100 node uses jax_gpu_dense_fp64.
- likelihood: group/rectangular
regime: standard
hardware_class: cpu_many_core
optimal: numba_cpu_sparse_fp64
secondary:
- jax_cpu_sparse_fp64
decision_id: group-rectangular-standard-cpu-many-core
rule: A group-scale imaging dataset with a rectangular pixelized source on a many-core CPU node with no GPU uses numba_cpu_sparse_fp64, one serial likelihood per core (workers capped by node memory over peak RSS), falling back to jax_cpu_sparse_fp64.
- likelihood: group/rectangular
regime: standard
hardware_class: gpu_a100
optimal: jax_gpu_dense_fp64
secondary:
- jax_gpu_sparse_fp64
decision_id: group-rectangular-standard-gpu-a100
rule: A group-scale imaging dataset with a rectangular pixelized source on an A100 node uses jax_gpu_dense_fp64, falling back to jax_gpu_sparse_fp64.
- likelihood: imaging/delaunay
regime: standard
hardware_class: cpu_many_core
optimal: numba_cpu_sparse_fp64
secondary:
- jax_cpu_sparse_fp64
decision_id: imaging-delaunay-standard-cpu-many-core
rule: Any imaging dataset with a Delaunay pixelized source on a many-core CPU node with no GPU uses numba_cpu_sparse_fp64, one serial likelihood per core (workers capped by node memory over peak RSS).
- likelihood: imaging/delaunay
regime: standard
hardware_class: gpu_a100
optimal: jax_gpu_dense_fp64
secondary:
- jax_gpu_sparse_fp64
decision_id: imaging-delaunay-standard-gpu-a100
rule: Any imaging dataset with a Delaunay pixelized source on an A100 node uses jax_gpu_dense_fp64, falling back to jax_gpu_sparse_fp64.
- likelihood: imaging/delaunay_nn
regime: standard
hardware_class: cpu_many_core
optimal: numba_cpu_sparse_fp64
secondary:
- jax_cpu_sparse_fp64
decision_id: imaging-delaunay-nn-standard-cpu-many-core
rule: Any imaging dataset with a Delaunay natural-neighbour source on a many-core CPU node with no GPU uses numba_cpu_sparse_fp64, one serial likelihood per core.
- likelihood: imaging/delaunay_nn
regime: standard
hardware_class: gpu_a100
optimal: jax_gpu_dense_fp64
secondary:
- jax_gpu_sparse_fp64
decision_id: imaging-delaunay-nn-standard-gpu-a100
rule: Any imaging dataset with a Delaunay natural-neighbour source on an A100 node uses jax_gpu_dense_fp64.
- likelihood: imaging/mge
regime: standard
hardware_class: cpu_many_core
optimal: jax_cpu_dense_fp64
secondary: []
decision_id: imaging-mge-standard-cpu-many-core
rule: Any imaging dataset fitted with a parametric (MGE) source on a many-core CPU node with no GPU uses jax_cpu_dense_fp64.
- likelihood: imaging/mge
regime: standard
hardware_class: gpu_a100
optimal: jax_gpu_dense_fp64
secondary: []
decision_id: imaging-mge-standard-gpu-a100
rule: Any imaging dataset fitted with a parametric (MGE) source on an A100 node uses jax_gpu_dense_fp64.
- likelihood: imaging/rectangular
regime: standard
hardware_class: cpu_many_core
optimal: numba_cpu_sparse_fp64
secondary:
- jax_cpu_sparse_fp64
decision_id: imaging-rectangular-standard-cpu-many-core
rule: Any imaging dataset with a rectangular pixelized source on a many-core CPU node with no GPU uses numba_cpu_sparse_fp64, one serial likelihood per core (workers capped by node memory over peak RSS).
- likelihood: imaging/rectangular
regime: standard
hardware_class: gpu_a100
optimal: jax_gpu_dense_fp64
secondary:
- jax_gpu_sparse_fp64
decision_id: imaging-rectangular-standard-gpu-a100
rule: Any imaging dataset with a rectangular pixelized source on an A100 node uses jax_gpu_dense_fp64, falling back to jax_gpu_sparse_fp64.
- likelihood: interferometer/delaunay
regime: standard
hardware_class: cpu_many_core
optimal: numba_cpu_sparse_fp64_wtilde
secondary:
- jax_cpu_sparse_fp64_wtilde
decision_id: interferometer-delaunay-standard-cpu-many-core
rule: 'Any interferometer dataset with a Delaunay pixelized source on a many-core CPU node with no GPU uses numba_cpu_sparse_fp64_wtilde, one serial likelihood per core (workers capped by node memory over peak RSS), falling back to jax_cpu_sparse_fp64_wtilde. Untested: CPU streaming and the MGE DFT route.'
- likelihood: interferometer/delaunay
regime: standard
hardware_class: gpu_a100
optimal: jax_gpu_sparse_fp64_wtilde
secondary:
- jax_gpu_dense_fp64_nufft
decision_id: interferometer-delaunay-standard-gpu-a100
rule: 'Any interferometer dataset with a Delaunay pixelized source on an A100 node uses jax_gpu_sparse_fp64_wtilde, falling back to jax_gpu_dense_fp64_nufft. Untested: the GPU streaming route (measured up to jvla, 2.5e7 visibilities, on W~ sparse).'
- likelihood: interferometer/mge
regime: standard
hardware_class: cpu_many_core
optimal: jax_cpu_dense_fp64_nufft
secondary: []
decision_id: interferometer-mge-standard-cpu-many-core
rule: 'Any interferometer dataset with a parametric (MGE) source on a many-core CPU node with no GPU uses jax_cpu_dense_fp64_nufft. Untested: CPU streaming and the MGE DFT route.'
- likelihood: interferometer/mge
regime: standard
hardware_class: gpu_a100
optimal: jax_gpu_dense_fp64_nufft
secondary: []
decision_id: interferometer-mge-standard-gpu-a100
rule: 'Any interferometer dataset with a parametric (MGE) source on an A100 node uses jax_gpu_dense_fp64_nufft. Untested: the GPU streaming route (measured up to jvla, 2.5e7 visibilities, on W~ sparse).'
- likelihood: interferometer/rectangular
regime: standard
hardware_class: cpu_many_core
optimal: numba_cpu_sparse_fp64_wtilde
secondary:
- jax_cpu_sparse_fp64_wtilde
decision_id: interferometer-rectangular-standard-cpu-many-core
rule: 'Any interferometer dataset with a rectangular pixelized source on a many-core CPU node with no GPU uses numba_cpu_sparse_fp64_wtilde, one serial likelihood per core (workers capped by node memory over peak RSS), falling back to jax_cpu_sparse_fp64_wtilde. Untested: CPU streaming and the MGE DFT route.'
- likelihood: interferometer/rectangular
regime: standard
hardware_class: gpu_a100
optimal: jax_gpu_sparse_fp64_wtilde
secondary:
- jax_gpu_dense_fp64_nufft
decision_id: interferometer-rectangular-standard-gpu-a100
rule: 'Any interferometer dataset with a rectangular pixelized source on an A100 node uses jax_gpu_sparse_fp64_wtilde, falling back to jax_gpu_dense_fp64_nufft. Untested: the GPU streaming route (measured up to jvla, 2.5e7 visibilities, on W~ sparse).'
- likelihood: multi_dataset/delaunay
regime: standard
hardware_class: cpu_many_core
optimal: numba_cpu_sparse_fp64
secondary:
- jax_cpu_sparse_fp64
decision_id: multi-dataset-delaunay-standard-cpu-many-core
rule: A multi-dataset imaging fit (several datasets fitted together) with a Delaunay pixelized source on a many-core CPU node with no GPU uses numba_cpu_sparse_fp64, one serial likelihood per core (workers capped by node memory over peak RSS), falling back to jax_cpu_sparse_fp64.
- likelihood: multi_dataset/delaunay
regime: standard
hardware_class: gpu_a100
optimal: jax_gpu_dense_fp64
secondary:
- jax_gpu_sparse_fp64
decision_id: multi-dataset-delaunay-standard-gpu-a100
rule: A multi-dataset imaging fit (several datasets fitted together) with a Delaunay pixelized source on an A100 node uses jax_gpu_dense_fp64, falling back to jax_gpu_sparse_fp64.
- likelihood: multi_galaxy/delaunay
regime: standard
hardware_class: cpu_many_core
optimal: numba_cpu_sparse_fp64
secondary:
- jax_cpu_sparse_fp64
decision_id: multi-galaxy-delaunay-standard-cpu-many-core
rule: A multi-galaxy imaging dataset with a Delaunay pixelized source on a many-core CPU node with no GPU uses numba_cpu_sparse_fp64, one serial likelihood per core (workers capped by node memory over peak RSS), falling back to jax_cpu_sparse_fp64.
- likelihood: multi_galaxy/delaunay
regime: standard
hardware_class: gpu_a100
optimal: jax_gpu_dense_fp64
secondary:
- jax_gpu_sparse_fp64
decision_id: multi-galaxy-delaunay-standard-gpu-a100
rule: A multi-galaxy imaging dataset with a Delaunay pixelized source on an A100 node uses jax_gpu_dense_fp64, falling back to jax_gpu_sparse_fp64.
- likelihood: multi_galaxy/mge
regime: standard
hardware_class: cpu_many_core
optimal: jax_cpu_dense_fp64
secondary: []
decision_id: multi-galaxy-mge-standard-cpu-many-core
rule: A multi-galaxy imaging dataset with a parametric (MGE) source on a many-core CPU node with no GPU uses jax_cpu_dense_fp64.
- likelihood: multi_galaxy/mge
regime: standard
hardware_class: gpu_a100
optimal: jax_gpu_dense_fp64
secondary: []
decision_id: multi-galaxy-mge-standard-gpu-a100
rule: A multi-galaxy imaging dataset with a parametric (MGE) source on an A100 node uses jax_gpu_dense_fp64.
- likelihood: multi_galaxy/rectangular
regime: standard
hardware_class: cpu_many_core
optimal: numba_cpu_sparse_fp64
secondary:
- jax_cpu_sparse_fp64
decision_id: multi-galaxy-rectangular-standard-cpu-many-core
rule: A multi-galaxy imaging dataset with a rectangular pixelized source on a many-core CPU node with no GPU uses numba_cpu_sparse_fp64, one serial likelihood per core (workers capped by node memory over peak RSS), falling back to jax_cpu_sparse_fp64.
- likelihood: multi_galaxy/rectangular
regime: standard
hardware_class: gpu_a100
optimal: jax_gpu_dense_fp64
secondary:
- jax_gpu_sparse_fp64
decision_id: multi-galaxy-rectangular-standard-gpu-a100
rule: A multi-galaxy imaging dataset with a rectangular pixelized source on an A100 node uses jax_gpu_dense_fp64, falling back to jax_gpu_sparse_fp64.
- likelihood: point_source_image/image_plane
regime: standard
hardware_class: cpu_many_core
optimal: jax_cpu_na_fp64
secondary: []
decision_id: point-source-image-image-plane-standard-cpu-many-core
rule: A galaxy-scale point-source dataset fitted in the image plane on a many-core CPU node with no GPU uses jax_cpu_na_fp64.
- likelihood: point_source_image/image_plane
regime: standard
hardware_class: gpu_a100
optimal: jax_gpu_na_fp64
secondary: []
decision_id: point-source-image-image-plane-standard-gpu-a100
rule: A galaxy-scale point-source dataset fitted in the image plane on an A100 node uses jax_gpu_na_fp64.
- likelihood: point_source_source/source_plane
regime: standard
hardware_class: cpu_many_core
optimal: jax_cpu_na_fp64
secondary: []
decision_id: point-source-source-source-plane-standard-cpu-many-core
rule: A galaxy-scale point-source dataset fitted in the source plane on a many-core CPU node with no GPU uses jax_cpu_na_fp64.
- likelihood: point_source_source/source_plane
regime: standard
hardware_class: gpu_a100
optimal: jax_gpu_na_fp64
secondary: []
decision_id: point-source-source-source-plane-standard-gpu-a100
rule: A galaxy-scale point-source dataset fitted in the source plane on an A100 node uses jax_gpu_na_fp64.
- likelihood: weak/isothermal
regime: standard
hardware_class: cpu_many_core
optimal: jax_cpu_dense_fp64
secondary: []
decision_id: weak-isothermal-standard-cpu-many-core
rule: A weak-lensing shear dataset with an isothermal lens on a many-core CPU node with no GPU uses jax_cpu_dense_fp64.
- likelihood: weak/isothermal
regime: standard
hardware_class: gpu_a100
optimal: jax_gpu_dense_fp64
secondary: []
decision_id: weak-isothermal-standard-gpu-a100
rule: A weak-lensing shear dataset with an isothermal lens on an A100 node uses jax_gpu_dense_fp64.
1 change: 1 addition & 0 deletions autoarray/setup/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from .setup import Setup
Loading
Loading