-
Notifications
You must be signed in to change notification settings - Fork 159
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
OS X R2 Tanh and SoftMax tests fail #9
Comments
aaaah, it is very likely they have a bug on OSX version. Cant think of any other explanation, as it works cleanly on Linux. you can report bugs to them via the nvidia developer tool. |
Yes, on Linux only MaxPooling fails sometimes, as they mention in docs. On OS X actually all ReLU, Tanh, Sigmoid and SofMax fail a lot. Will report a bug. |
Just caught the same problem in Linux!
|
ok, i am going to run the unit tests a few thousand times and see how that goes. |
can you give me other details about your linux, for a possible reproduction |
yes, cuda-6.5, 4 Titan Blacks, 340.29 driver, torch, cutorch, nn and cunn updated to the last version, and also got another machine (mostly equal) on which it fails too, like here Sigmoid:
|
thanks, having a look |
it's Ubuntu 14.04 btw, and it fails on all 4 cards in one test, not just one. |
ok that's an interesting detail. |
ok over several hundred runs, reproduced this once on my Tesla K40. Now trying to print out the specific input shape etc, and reproduce this consistently. |
i'm not able to reproduce this even over thousands of runs. i got the nan once, but cant seem to get it again. |
hm, no luck after 100, will leave it to run overnight |
ok i reproduced the nans. it is very likely that cudnn guys are using the fast approximations, so in very extreme precision cases, generating nans. we went down that path in the past and reverted, we have a long history of these things. I will report this to them. Fast approximations docs: |
I believe it is because you use Beta=0 and it is not handled properly in cuDNN R2 RC for the activation functions. |
thanks @philvdm will wait for the final release. |
Have just tested in Ubuntu, all tests pass. But in OS X no:
weird
The text was updated successfully, but these errors were encountered: