Commit 4457fca
Relax Zygote compat from 0.7.10 to 0.7
This allows using any Zygote 0.7.x version, which is needed to work around
a Julia base bug (typo in Base.Meta.partially_inline!) that is triggered
by Zygote 0.7.10 when differentiating through @cfunction with type parameters.
The specific error occurs in Julia's base/meta.jl:412 where `spvals` is used
instead of `static_param_values`, causing an "UndefVarError: `spvals` not defined"
error when using Zygote with packages like Cubature.jl.
By relaxing the constraint to allow Zygote 0.7.0-0.7.9, downstream packages
can avoid this bug until Julia fixes the typo in base.
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>1 parent 7a99268 commit 4457fca
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
0 commit comments