Skip to content

28x28 rectangular size-variant rows on 2026.10.25.1 (#468) - #470

Merged
Jammy2211 merged 2 commits into
mainfrom
feature/rectangular-28sq-profiling-rows
Oct 27, 2026
Merged

Jammy2211 merged 2 commits into
mainfrom
feature/rectangular-28sq-profiling-rows

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

Summary

The SLaM inference runs fit rectangular sources on a 28x28 mesh (784 source pixels), but the profiling standard is 35x35 (1225), so inference wall-time rows were paired with profiling runtime rows at a different size (autolens_inference#47, size_match: false). This PR adds hst rectangular runtime and breakdown rows at 784 pixels on pin 2026.10.25.1, beside the 35x35 standard rows. The standard rows remain the coverage cells.

  • Tooling (5bcbe79): a declared size variant (catalogue/size_variants.json, rectangular 784). --standard-size --source-pixels 784 builds the standard production cell with the mesh resized to 28x28, and any other count is refused. The new rect28_tasks() generator writes a RAL CPU array (ral only) and one A100 --gres job. The catalogue reads source_pixels_784/ folders as size-variant rows: regime: source_pixels_784, current beside the standard row, with a size_variant limitation. Coverage and trend stay standard-only.
  • Rows (4922e63): RAL jobs 413044 (CPU) and 413046 (A100) ran 8/8 legs with exit 0, and every leg's library_revisions is at tag 2026.10.25.1, so release_pin resolves by exact SHA match. Each row also stamps autolens_version 2026.8.17.1, which is the source checkout's stale __version__; the revision SHAs are the provenance.
Setup @ host 28x28 per call 35x35 standard
numba_cpu_sparse_fp64 @ hpc_ral_cpu 0.567 s 0.697 s
jax_cpu_sparse_fp64 @ hpc_a100 1.279 s 1.968 s
jax_gpu_dense_fp64 @ hpc_a100 28.1 ms 40.7 ms
jax_gpu_sparse_fp64 @ hpc_a100 47.1 ms 61.6 ms

All parity records match. Coverage is unchanged (246 planned / 106 current / 7 stale / 133 missing).

Witness, partly met: the prompt's witness also lists jax_cpu_dense and light_fixed variants wherever inference ran; this batch measured the 4 setups above, default variant only. The size_match refresh in the autolens_inference exporter is the task's next leg.

Scripts Changed

  • _production_config.py, _profile_cli.py — --standard-size accepts a declared --source-pixels size variant
  • catalogue/size_variants.json, catalogue/README.md — declares rectangular 784
  • hpc/batch_cpu/submit_campaign_p2a_rect28_ral_cpu_fp64, hpc/batch_gpu/submit_campaign_p2a_rect28_a100_fp64 — generated rect28 submits (pin guard, import-origin guard)
  • scripts/imaging/rectangular/likelihood_{runtime,breakdown}{,_numba}.py — pass the size variant through
  • scripts/misc/campaigns/imaging_p2a.py (+ test) — rect28_tasks() generator
  • scripts/misc/campaigns/README.md — rect28 section, validation note (PyAutoPulse#80 keys the one-current rule on regime) and run record
  • scripts/misc/tooling/{build_catalogue,catalogue_lifecycle,build_dashboard,build_readme,coverage_matrix}.py (+ tests) — size-variant rows in the catalogue; coverage stays standard-only
  • results/imaging/rectangular/hst/*/*/source_pixels_784/ — 4 ingested cells; regenerated dashboard/, README.md, wiki/setups/

Upstream PR

PyAutoLabs/PyAutoPulse#80 (MERGED 5474e3cb, regime in the @3 one-current key)

Test Plan

  • build_catalogue.py --check --validate-with PyAutoPulse (main, contains 5474e3cb) passes
  • all lint --check steps (readme, parity_witness, coverage_matrix, wiki, dashboard, results layout, timing assertions, submits, setup wiki), ruff check + format
  • browser_setup_page.cjs (playwright 1.63.0)
  • pytest scripts/misc/tooling/test + scripts/misc/campaigns/test: 462 passed
  • CI lint (lychee link check + import smoke not run locally)

Closes nothing on its own: #468 stays open for the autolens_inference leg.

Generated by the PyAutoLabs agent workflow.

🤖 Generated with Claude Code

Jammy2211 and others added 2 commits October 26, 2026 17:23
- catalogue/size_variants.json declares rectangular 784 (the SLaM 28x28 mesh) as a size
  variant measured beside the 35x35 standard.
- --standard-size accepts --source-pixels only for a declared size variant; the standard-size
  production cell (standard_size_preset / standard_jax_cell) is built at 28x28 instead of 35x35.
- imaging_p2a.py renders submit_campaign_p2a_rect28_ral_cpu_fp64 (ral array, numba) and
  submit_campaign_p2a_rect28_a100_fp64 (one gres A100 job, 6 legs) on pin 2026.10.25.1,
  writing to output/p2a_rect28/, walls/mem from the 2a standard (upper bounds).
- Catalogue: rows in <cell>/source_pixels_784/ are keyed on their own (regime
  source_pixels_784), current beside the standard row with a size_variant note and no
  size_fallback; coverage, trend dashboard stay standard-only.
- Tests and README sections.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Ingest the four source_pixels_784 cells from RAL 413044 (CPU) and 413046
(A100), 8/8 legs exit 0, library_revisions at tag 2026.10.25.1. Regenerate
catalogue, dashboard, coverage, READMEs and setup wiki. The campaign README
now records the run and that PyAutoPulse#80 keys the one-current rule on
regime.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Jammy2211
Jammy2211 merged commit a1a4ccf into main Oct 27, 2026
1 check passed
@Jammy2211
Jammy2211 deleted the feature/rectangular-28sq-profiling-rows branch October 27, 2026 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant