Skip to content

prompt: file the multi_dataset/jax_likelihood XLA compile stall - #266

Merged
Jammy2211 merged 1 commit into
mainfrom
claude/park-mge-smoke-hang
Aug 22, 2026
Merged

prompt: file the multi_dataset/jax_likelihood XLA compile stall#266
Jammy2211 merged 1 commit into
mainfrom
claude/park-mge-smoke-hang

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

Files draft/bug/autolens_workspace_test/multi_dataset_jax_likelihood_xla_stall.md.

multi_dataset/jax_likelihood/mge.py was parked out of the PR smoke gate in PyAutoLabs/autolens_workspace_test#262, to unblock the pynufft removal (#261) after it hung to the 300s cap in 4/4 jobs on a PR whose diff that gate never executes. Parking removes the symptom — this prompt is what keeps the cause visible.

It is not a new bug. config/build/no_run.yaml:87 already records the sibling delaunay.py as an "intermittent XLA compile stall, family-wide" (autolens_workspace_test#245, which also hit ag_test rectangular.py). mge.py's signature matches exactly: 32s standalone when it passes, otherwise no progress at all until the cap.

The cost worth surfacing is the accumulation. The whole multi_dataset/jax_likelihood/ family is now quarantined somewhere — delaunay.py and delaunay_mge and shared_preloads.py in no_run.yaml, shared_preloads.py and now mge.py in smoke_tests.txt — across three separate incidents, and nobody has diagnosed the stall itself.

So the prompt asks for two things a per-script speedup would not give:

  1. Characterise the stall, not the scripts — it is family-wide, so speeding up any one script is not the fix. A hung run's stack (py-spy, or faulthandler on SIGTERM at the cap) would settle it faster than more timing data.
  2. Make a timeout leave evidence. Today a hang produces only the word TIMEOUT, which is exactly why this has been quarantined three times without a diagnosis.

Test Plan

  • python3 scripts/lifecycle.py checklifecycle check: OK
  • dashboard.md / dashboard.html regenerated via pyauto-brain intake --apply dashboard (149 prompts), not hand-edited
  • Filed under draft/bug/<target>/ per the taxonomy, with the target repo as the second folder

Generated by Claude Code

multi_dataset/jax_likelihood/mge.py was parked out of the PR smoke gate
(autolens_workspace_test#262) to unblock the pynufft removal, after hanging
to the 300s cap in 4/4 jobs on a PR whose diff that gate never executes.

Parking removes the symptom, so this prompt is what keeps the cause visible.
It is not a new bug: no_run.yaml already records the sibling delaunay.py as
an "intermittent XLA compile stall, family-wide" (autolens_workspace_test#245),
and mge.py's signature matches exactly — 32s when it passes, otherwise no
progress at all.

The real cost is the accumulation: the whole multi_dataset/jax_likelihood
family is now quarantined somewhere, three times over, without anyone having
diagnosed the stall. The prompt asks for the stall to be characterised rather
than the scripts sped up, and for the runner to leave a stack trace on
timeout — today a hang produces no evidence, which is why it keeps recurring.
@Jammy2211
Jammy2211 merged commit d381ab2 into main Aug 22, 2026
1 check passed
Jammy2211 pushed a commit that referenced this pull request Aug 23, 2026
…uard added

Record start_workspace completion and the pushed implementation on both target
repos. Entry drops its `worktree:` field: this is a web-github run with no local
worktree, and a path there would read to a local session as an existing checkout.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMknTjH347FBZUE82nNEby
Jammy2211 pushed a commit that referenced this pull request Aug 23, 2026
autolens_workspace_test#268 and autogalaxy_workspace_test#107, both labelled
pending-release. Ship gate recorded as satisfied rather than skipped: Heart
returned STALE with no red or yellow reasons, and the dev-ship gate treats an
evidence gap as passing since it is organism-scope, not branch-scope.

Not merged — merge stays a human act, and CI is still running.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMknTjH347FBZUE82nNEby
Jammy2211 pushed a commit that referenced this pull request Aug 23, 2026
…hang follow-up

Both PRs merged: autolens_workspace_test#268 (9348e152) and
autogalaxy_workspace_test#107 (0a91883d). Dated completion record written, the
active.md entry pruned, index and dashboard regenerated.

The record keeps the transferable lesson: the prompt offered "remove the pin or
restate its real range" and quoted autonerves as jax<0.11.0 — a quote that was
already stale, the cap having moved to <0.12.0. Restating would have held CI a
minor version behind the supported range. CI confirmed it: with the pin gone the
resolver reaches jax 0.11.1 and the suite passes there. Assert a range; do not
own a second copy of it.

Also files draft/bug/workspaces/intermittent_smoke_hang_jax_mge.md for the
intermittent hang on imaging/jax_likelihood/mge.py that surfaced during the ship.
Acquitted of being caused by the jax bump (the same script passed under 0.11.1 in
autolens at 23/23, and a re-run of the identical commit did not reproduce it);
it is a pre-existing pattern with four prior ~6h runs in that repo.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMknTjH347FBZUE82nNEby
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.

2 participants