-
-
Notifications
You must be signed in to change notification settings - Fork 216
fix gradient algebra on gpu #972
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
Conversation
|
Does Base.issetequal(x::Params, y::Base.KeySet) = issetequal(x.params, y)work? What was the error with |
turns AbstractSet works indeed, the problem was in the dictionary creation, this gives an error w = cu(rand(2))
Dict(w => w)CuArrays are not hashable and IdDict should be used instead. I currently overload |
|
Nightly fail unrelated and fixed in FluxML/IRTools.jl#86 |
darsnack
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
|
bors r+ |
|
Build succeeded: |
fix #971
I could not fix the gradient + Dict case, if someone has any idea on how to that it would be appreciated, otherwise will just leave the broken test there