Repository navigation
ci(lib-tests): persist every JAX compile in the unit gate (threshold 0) - #223
Merged
Merged
Conversation
Same knob PyAutoHeart#222 set for the smoke leg, on the libraries' unit gate: lib-tests.yml restores and saves the same JAX compilation cache with no compile-time threshold, so autonerves' setdefault of 1s wins and the restored cache holds almost nothing a unit suite compiles. Export JAX_PERSISTENT_CACHE_MIN_COMPILE_TIME_SECS="0" in the Run tests step env, beside JAX_COMPILATION_CACHE_DIR; the command is untouched. Wiring test pins the key. Follow-up named on PyAutoHeart#221. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NWYEAsAsN5cfuqqBoYTHho
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.
Summary
Follow-up named on #221 / #222: the libraries' unit gate
lib-tests.ymlrestores and saves the same JAX compilation cache as the smoke leg, with the same missing compile-time threshold, soautonerves'setdefaultof 1s wins and the restored cache holds almost nothing a unit suite compiles. This exportsJAX_PERSISTENT_CACHE_MIN_COMPILE_TIME_SECS: "0"in theRun testsstep env, besideJAX_COMPILATION_CACHE_DIR.API Changes
None. One env key; the
run:command is untouched (wiring test pins it). NoPYAUTO_CACHE_EPOCHbump.The trade (same as #222, unmeasured here)
The libraries' saved JAX cache grows with every sub-second compile a unit suite makes. Unlike the smoke leg there is no local measurement behind this one, only the same mechanism; it is the pricing #222 deferred. Watch the unit board's
[jax cache hit|miss]lines and the sidecar'sjax_mb/jax_n. Rollback: delete the line or bump the epoch.Tests
python3 -m pytest -q -n autoin PyAutoHeart: 967 passed. New:test_the_suite_persists_every_compile_it_makes.🤖 Generated with Claude Code
https://claude.ai/code/session_01NWYEAsAsN5cfuqqBoYTHho
Generated by Claude Code