-
-
Notifications
You must be signed in to change notification settings - Fork 212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Zygote is broken on Julia 1.10 #1410
Comments
Zygote.jl/src/compiler/chainrules.jl Line 223 in 413728b
nothing return from rrule. That in turn implies Zygote.jl/src/compiler/interface2.jl Lines 20 to 21 in 413728b
Zygote.jl/src/compiler/chainrules.jl Line 73 in 413728b
|
just fyi, I am aware of this issue, it's in my backlog. |
It would also help for PkgEval; quite some packages are failing (and getting blacklisted) because of this. |
Does anyone have a workaround for this? I'm trying to use the new profiling on master but this is a blocker |
Adding some shows master...IanButterworth:Zygote.jl:ib/debug
1.10
So the first deviation is at |
Thanks for investigating, Ian. This kind of failure has happened before, and unfortunately will require digging into the IRTools side to get a proper idea of what went wrong. I wonder if we shouldn't vendor this particular bit of code into Zygote to make future maintenance easier and possibly improve error handling (i.e. more informative errors and fewer silent fallbacks to |
I don't think this is the issue because there's no error in IRTools, but it smells like it's adjacent FluxML/IRTools.jl#109 |
IRTools may be swallowing the error or some other invalid state, but I haven't looked into that. |
IRTools isn't very happy at all on 1.10 FluxML/IRTools.jl#111 |
The problem is world age related. The Initial fixes in https://github.com/maleadt/Zygote.jl/tree/dev, depending on FluxML/IRTools.jl#111. |
On master, Zygote cannot be loaded. Commenting out
precompile
, what works and doesn't looks like:The text was updated successfully, but these errors were encountered: