Closed mbeltagy closed 2 years ago
Zygote is probably trying to differentiate something inside Cuda. Why do you need to call gpu
inside loss
?
I think this is a Julia 1.0 issue, and nothing we can do about it. There doesn't seem to be a problem otherwise, everything works as expected once the error is thrown
Julia 1.6 is the new LTS, and AFAIK the char-nn should work on it.
We (@metanoid and I) were trying to see if can get the char-rnn example to work
We modified https://github.com/FluxML/model-zoo/blob/zygote/text/char-rnn/char-rnn.jl#L32:L36 to
assuming that call to
truncate!
will not longer been needed since we no longer doing tracking.We got this very strange error