Repository navigation
Fix the Reactant growth Jacobian and give the coverage job longer per case - #1062
Merged
Merged
Conversation
Reactant cannot broadcast into a traced row viewed with an integer index, so the block fills from #1022 broke the growth registry scenario under Reactant. The coverage job also gives each case 1800 s, since coverage slows the wide coupled reverse compile past 600 s. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Benchmark comparison vs baseMinimum time per call. Buckets are PR time as a % of base, so lower is faster (🟢 faster, ⚪ within 5%, 🔴 slower). Counts of benchmarks per bucket:
Evaluation — 24 benchmarks (by time change)
AD gradients — 63 benchmarks (by time change)
|
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 fixes the Reactant workflow on main, which fails on three cells.
Two are a real regression from #1022 in the growth Jacobian under Reactant. The third is a per-case timeout caused by coverage.
Claude Opus 5.5 [high]
Cause
Growth under ReverseDiff: no hcat, a valid zero point, and a replay check #1022 (3052c5e) replaced
vcat/hcatin_eigen_jacobianwith block fills.The last row was written as
view(J, S + 1, 1:S) .= one(T).Reactant cannot broadcast into a row of a traced array viewed with an integer index.
A view with two ranges works.
I reproduced the error locally without coverage, so it is not a coverage artefact.
The committed table shows a 289 s compile without coverage.
The full job runs under
--code-coverage=user, which pushes the compile past the 600 s per-case limit (REACTANT_TIMEOUT).The same cell has timed out on every main run since at least 3 December (e1239a9).
Fix
src/operators/growth.jlfills the last row and the corner through(S + 1):(S + 1)ranges.reactant.yaml's full job setsREACTANT_TIMEOUT: 1800.The job took about 75 minutes of its 300-minute cap on 3 December, so the extra headroom fits.
The PR smoke job keeps the 600 s default.
Evidence
works(error 0.0), reverseworks(error 2.6e-15).Without the fix both cells are
error.test/unit/growth.jlon Julia 1.12: 629 of 629 pass.workflow_dispatch.This was opened by a bot. Please ping @seabbs for any questions.