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
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