Closed zzj0402 closed 4 years ago
We have switched from Tracker.jl to Zygote.jl in the latest version. You need to make sure NeuralNetDiffEq.jl is compatible with Zygote.jl and the latest version of Flux.
We have switched from Tracker.jl to Zygote.jl in the latest version. You need to make sure NeuralNetDiffEq.jl is compatible with Zygote.jl and the latest version of Flux.
I am new to Julia. How to do that?
My suggestion is that you switch to pkg
mode (by pressing ]
) and then run status
to see the exact packages you installed in your environment.
It looks like NeuralNetDiffEq.jl is using out-dated Flux api.
The problem is due to https://github.com/chengchingwen/Transformers.jl/blob/master/Project.toml#L33-L37 bounding CUDA packages and Adapt < 2 not allowing any recent Flux version to be used with this package. I added a PR for CompatHelper so this library can get some maintenance help, but this should probably be brought into the same fold as the other ML core infrastructure so that this doesn't happen in the future (and so you can get some help!)
It looks like NeuralNetDiffEq.jl is using out-dated Flux api.
No, Transformers is using the out-dated Flux API.
No, Transformers is using the out-dated Flux API.
Ah, my bad. I will try to update it ASAP
This problem should be fixed with the latest version.
I am trying to develop a transformer model for NeuralNetDiffEq. Seems like there is a dependency issue: https://stackoverflow.com/questions/59765831/julia-flux-issue-undefvarerror-tracker-not-defined