Repository navigation
Diagnose the Enzyme LTS Hessian compiler failure - #1355
Closed
ChrisRackauckas-Claude wants to merge 2 commits into
Closed
ChrisRackauckas-Claude wants to merge 2 commits into
ChrisRackauckas-Claude wants to merge 2 commits into
Conversation
Run an Enzyme-only Hessian case, the original regression, and the official AD harness against a pinned subject commit. Record runner CPU details. Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com> Co-Authored-By: Codex <noreply@openai.com> Agent-Harness: Codex CLI 0.153.4 Agent-Model: gpt-6-astra Agent-Session: local session 01a08039-86d4-7683-9601-30fd79501e27
The default Actions shell did not enable pipefail, so tee hid the Julia abort. Keep the original reproducer and add a separate barrier comparison. Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com> Co-Authored-By: Codex <noreply@openai.com> Agent-Harness: Codex CLI 0.153.4 Agent-Model: gpt-6-astra Agent-Session: local session 01a08039-86d4-7683-9601-30fd79501e27
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.
The LTS job in #1328 repeatedly fails with an LLVM verifier error while the same regression passes locally. This temporary diagnostic workflow checks out the exact failing commit, then compares an Enzyme-only analytic Hessian test, the unchanged regression, and the official AD command on hosted runners. It prints CPU details and uploads logs/manifests; Julia 1.13.0 provides a stable-version control.
Diagnostic PR: keep as a draft; do not merge. Ignore until reviewed by @ChrisRackauckas.
Local verification
Commands were run from the shared workspace.
latest-enzyme-ltsis the isolated environment with Enzyme 0.13.203, ChainRulesCore, ForwardDiff, and the subject OptimizationBase checkout.Runic, actionlint, typos, and
git diff --checkpassed. The full subject AD suite also passed locally with automatic precompilation enabled: 938/938 in 6m34.4s. Its 238 comparable dependency versions match the failing CI run.Isolation findings and diagnostic correction
The Enzyme-only test reproduced the identical LLVM verifier failure on Julia 1.10.12 / AMD EPYC 7763 (Zen 3), without importing any SciML package. Julia 1.13.0 passed 108/108 on the same CPU model. The unchanged LTS regression passed 134/134 on an Intel Xeon 6973P-C runner. Locally, configuring Enzyme's target as
znver3reproduces the exact%623/%tempphi.sroa.156.1dominance failure from the subject CI log. Ordinary reverse differentiation of the reduced objective passes; the nested Hessian path is being reduced further.The first diagnostic wrapper incorrectly let
teehide Julia's abort, producing a green job. The workflow now explicitly selectsshell: bash, which enablespipefail. Local regression evidence using a failing command in the same pipeline:The original standalone test is retained. A separate driver adds an
invokelatestbarrier to identify the first failing case; that driver passes all 108 local assertions on the native CPU. First-run green job status must not be interpreted as successful execution of the crashing LTS standalone case.The earlier Julia
-Cchecks do not override GPUCompiler's physical-host target used by Enzyme. Target control for the local reproducer uses a separate Enzyme checkout; no dependency source changes are part of this PR. The obsolete fork-hosted run was cancelled after the SciML run reproduced the failure.GPU and full downstream suites were not run locally; no production code, assertions, or tolerances are changed. Enzyme is already a repository test dependency and is MIT-licensed; this only pins it in the isolated diagnostic environment. Documentation was not built locally because no documentation or public API changes.
Links:
🤖 Generated with Codex CLI 0.153.4 (model: gpt-6-astra; local session: 01a08039-86d4-7683-9601-30fd79501e27).