Repository navigation
Split the reverse AD jobs and raise the AD and downgrade timeouts - #1063
Merged
Merged
Conversation
Set through the kit's update: ad_shards for Enzyme and Mooncake reverse, ad_timeout 90 and downgrade_timeout 75. The kit also counts the two extra coverage uploads in codecov.yml. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Items outside the registry are not split by AD_SHARD, so each Enzyme reverse shard still runs all of them. Co-Authored-By: Claude Opus 5.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.
This splits the Enzyme and Mooncake reverse AD jobs in two, so they finish inside their time cap.
It also gives the downgrade-compat job more time.
Both were cancelled on main at their caps.
All changes come from the kit's
update(...)options, not hand edits.Claude Opus 5.5 [high]
Cause
Fix
Run through
EpiAwarePackageTools.update0.5.2:ad.yaml:shards: '{"enzyme_reverse":2,"mooncake_reverse":2}', andtimeout_minutesgoes from 75 to 120.test.yaml: the downgrade-compat caller getstimeout_minutes: 75.codecov.yml: the kit raisesafter_n_buildsfrom 8 to 10 for the two extra shard uploads.The kit's
AD_SHARDsplits only the registry scenarios.The adjoint and chunked items run in each shard.
For Mooncake a shard should take about 15 registry minutes plus 22 for the other items.
Enzyme reverse is slower: its non-registry items alone took about 65 minutes on 1.12 in ad-versions, and every shard runs them, so the cap is 120.
A cap costs nothing when a job finishes early.
EpiAware/EpiAwarePackageTools.jl#621 tracks splitting at item level.
Evidence
This PR's own AD run is the evidence: the four reverse shards should finish under 120 minutes.
This was opened by a bot. Please ping @seabbs for any questions.