-
-
Notifications
You must be signed in to change notification settings - Fork 608
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
Add CUDA tests for stateless layers #906
Conversation
bors try |
🔒 Permission denied Existing reviewers: click here to make kshyatt a reviewer |
cx = gpu(x) | ||
scx = σ.(cx) | ||
cy = gpu(y) | ||
@test_broken Flux.binarycrossentropy.(σ.(x), y) ≈ Flux.binarycrossentropy.(scx, cy) |
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.
I'm curious why you split out scx
here, is it just a style thing or does it change the bug/behaviour somehow?
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.
Was trying to see if the sigma was causing the compilation error, or the log.
Hoping this will let you bors d+ |
✌️ kshyatt can now approve this pull request. To approve and merge a pull request, simply reply with |
bors try |
tryBuild failed |
Failure on 1.0 seems network related |
bors try |
tryBuild succeeded |
bors try Since #940 was merged, I think the normalise is what we miss currently |
tryBuild failed |
Yup, seems like it |
@maleadt can say more, but I think now we don't want to compare GPU Arrays with regular ones. |
#1264 was merged with non-broken gpu losses, so can this be closed? |
Yup, thanks for nudging in the right direction @kshyatt ! |
A lot of
@test_broken
here because of CUDAnativelog
fighting and scalargetindex
being disallowed.