Open mrazomej opened 7 months ago
I confirm this issue. Have you found a workaround?
Sorry haven't got a chance to look at the breaking changes of v1.10. It looks strange since rrule
s are just some function overloading, shouldn't depend too much on language core...
@ToucheSir Could you take a look?
@mrazomej when cross-posting issues, please link back to the original so that readers have some context. In this case, there's plenty of background in https://github.com/FluxML/Zygote.jl/issues/1502. We also have a Slack discussion in the #autodiff channel about ideas to fix this. It may be that changes made in the Julia compiler need to be reverted.
Hi all,
If we want to solve this issue, we will need to put more effort into it. From the slack discussion, it appears that we need to provide the simplest MWE possible. If we use Zygote.gradients on Taylor diff.derivative, we indeed get the error. How can we delete the dependency on TaylorDiff? I don't understand well enough the package to do this. @tansongchen , can you do that?
Then we can post an issue in Zygote.
I brought up this as an issue in the
Zygote.jl
repository, but it might belong here:Zygote
fails to userrule
s defined byTaylorDiff
when run withJulia 1.10+
In
Julia 1.9.4
:In
Julia 1.10+
:The last line gives the following error: