Repository navigation
Stabilize Hairer GPU DAE comparisons - #4437
Merged
ChrisRackauckas merged 1 commit intoAug 30, 2026
Merged
ChrisRackauckas merged 1 commit into
ChrisRackauckas merged 1 commit into
Conversation
ChrisRackauckas-Claude
force-pushed
the
codex/gpu-hairer-csc-accuracy
branch
from
August 30, 2026 09:36
0720d0d to
47670d5
Compare
Use tighter solve tolerances for the Hairer4 and Hairer42 CSC/Krylov cases so the GPU compatibility check compares numerically converged CPU and GPU solutions without loosening the match threshold. Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: OpenAI Codex <[email protected]> Agent-Harness: Codex (version unknown) Agent-Model: GPT-5 Agent-Session: unknown
ChrisRackauckas-Claude
force-pushed
the
codex/gpu-hairer-csc-accuracy
branch
from
August 30, 2026 11:24
47670d5 to
5f6ce49
Compare
ChrisRackauckas
marked this pull request as ready for review
August 30, 2026 12:53
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.
Important
Ignore this PR until it has been reviewed by @ChrisRackauckas.
What changed and why
The GPU DAE compatibility matrix deterministically fails only the Hairer4 and Hairer42 CSC/Krylov rows because default integration accuracy amplifies CPU/GPU roundoff beyond the existing comparison threshold. This applies
reltol = 1e-8, abstol = 1e-6equally to the CPU and GPU solves for those two rows, while leavingGPU_MATCH_TOL = (atol = 1e-3, rtol = 1e-3)and every assertion unchanged.The mismatch first became visible in 5a2cb94, when #4026 restored the intended Hairer stage predictor and changed these cases from CPU
Unstableskips into successful solves.Failing before
The latest equivalent GPU job on the unfixed code fails the same two rows:
https://github.com/SciML/OrdinaryDiffEq.jl/actions/runs/33270493344/job/99148058794
A CPU perturbation diagnostic shows why default tolerances are not stable enough for this comparison:
Passing after
The final pushed head (
5f6ce493ebb0c1be409e7543866923c1e4871dd6) passed both formerly failing rows:https://github.com/SciML/OrdinaryDiffEq.jl/actions/runs/33308865121/job/99265102818
The complete final-head CI workflow passed 45 of 45 jobs, and all ten substantive final-head workflows completed successfully:
https://github.com/SciML/OrdinaryDiffEq.jl/actions/runs/33308865121
Local focused regression:
Root QA:
Static validation:
The focused regression command exited 0.
GROUP=QAexited 0.Not verified locally
GROUP=Regression_Irun reached the repository's 3600-second local timeout in the pre-existinghard_dae.jl:244case before the focused Newton-Krylov file; no assertion failure was observed, but this is not reported as a passing full group.Reviewer judgment
The judgment call is the case-specific solve tolerance. The patch changes solution accuracy for only the two Hairer CSC/Krylov matrix rows; it does not loosen the CPU/GPU match threshold or suppress a failure.
🤖 Generated with Codex (version unknown) (model: GPT-5). Session: unknown