Conversation
c54afb4 to
9f423ae
Compare
9f423ae to
38de2c8
Compare
ChrisRackauckas-Claude
pushed a commit
to ChrisRackauckas-Claude/NeuralPDE.jl
that referenced
this pull request
Jan 26, 2026
Zygote 0.7.10 triggers a typo bug in Julia's base/meta.jl (line 412) where `spvals` is used instead of `static_param_values`. This causes an "UndefVarError: `spvals` not defined in Base.Meta" error when differentiating through @cfunction with type parameters. The bug is triggered when NeuralPDE uses QuadratureTraining with Cubature.jl, which uses @cfunction with type parameters in its integration routines. This PR caps Zygote to 0.6.71 and 0.7.0-0.7.9 to avoid the buggy version. Related PRs to relax Zygote constraints in upstream packages: - SciMLBase.jl PR #1220 (merged) - RecursiveArrayTools.jl PR SciML#532 (pending) Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
2 tasks
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.
No description provided.