research: cold JAX compile — autotuning is the cost; verdict 2 (#74)#76
Merged
Conversation
…x / 34% stdlib / 7% autoarray on MGE vag) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…ng (17x/-40% off, eval parity); verdict 2 = default autotune off Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
Research deliverable for #74 — cold JAX compile time. Verdict 2: one more setting — default
--xla_gpu_autotune_level=0. The pathological ~7m30 cold GPU compile IS autotuning (hidden for two days behind the pre-PyAutoConf#128XLA_FLAGSclobber, which made every earlier "autotune off" run silently autotune-on, including the 2026-07-15 "ruled out" A/B):trace_profile.py).Implementation follow-up filed:
PyAutoMind draft/feature/autoconf/default_xla_gpu_autotuning_off_in_the.md(env-respecting wrapper default, small).Scripts Changed
jax_compile/README.md— cold-compile findings (6–8) + Verdict 2jax_compile/trace_profile.py— NEW: cProfile attribution of tracing time by libraryjax_compile/results/local_cpu/trace_profile.json— NEW: tracing rollup recordjax_compile/results/local_gpu_NVIDIA_A100_80GB_PCIe/{mge,pixelization}.json— NEW: A100 autotune on/off matrix recordsAdditive within
jax_compile/only (parallel claim with #70 honored — no slam/resume paths touched).Upstream PR
None — workspace-only research task.
Validation checklist
jax_compile/only; no downstream script surface🤖 Generated with Claude Code