-
-
Notifications
You must be signed in to change notification settings - Fork 213
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
Precompile fails with LoadError: Non-differentiable function mul_int #334
Comments
I get the same thing using Zygote#master in julia 1.3 RC2 |
Same here, in julia 1.1 |
Fix by DoktorMike: |
Thanks for the fix. Currently a fresh install of both Zygote and Flux are both broken on a fresh install of Julia. Maybe some tighter compat bounds would help? |
I am still unable to precompile even using |
Are you on Zygote#master too? |
@zenna It works in a completely clean install (test) pkg> add Zygote#master ZygoteRules#master So I suppose that fix works. Unfortunately I don't want to use base Zygote, I want to use Turing, which encounters a variety of messy semvar restrictions. As of right now, I cannot get any version of Turing working, but that is beyond the scope of this issue. |
Yeah. I have the same issue with Flux |
I just upgraded ZygoteRules to v0.2.0, and the issue happened. With ZygoteRules v0.1.0 it works fine though. |
Same problems here: Installing ZygoteRules#master is not enough and I cannot go with Zygote#master since there are dependency conflicts with SpecialFunctions:
|
Find a way around. Just downgrade add ZygoteRules@0.1.0 I wonder if this kind of critical dependency issue will occur again in the future. |
There's a PR open to fix this compat bound: JuliaRegistries/General#5065 It's less likely to happen in future because we have upper bounds on compatibility now. |
The following result is obtained by
using Zygote
and subsequentlyZygote.refresh()
:The first time I ran it, it showed:
Status in Julia v1.0.4
The same issue exists in Julia v1.2.0
The text was updated successfully, but these errors were encountered: