-
Notifications
You must be signed in to change notification settings - Fork 68
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
Error with Flux GRU layer #1261
Comments
Are you able to minimize this by chance (and potentially open issues for the other problems you found)? |
I think this is the minimal error. On Enzyme main (5e4e2ef) and Julia 1.10.2: using Enzyme
loss(gxs, ghs) = sum(gxs .+ ghs)
gxs = rand(5, 10)
ghs = rand(5)
# Comment out the next two lines and it works
gxs = view(gxs, 1:5, 1:10)
ghs = view(ghs, 1:5)
loss(gxs, ghs)
autodiff(
Reverse,
loss,
Active,
Duplicated(gxs, gxs),
Duplicated(ghs, ghs),
) The error.txt and printall_error.txt are attached. |
@jgreener64 @CarloLucibello the last example now works on main, going to close this. Please reopen if it persists. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am on Julia 1.10.0, Enzyme main (ba58bcb) and Flux 0.14.10.
See the error.txt and the printall_error.txt.
The text was updated successfully, but these errors were encountered: