-
Notifications
You must be signed in to change notification settings - Fork 481
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
cudnn error on windows #188
Comments
Package cudnn is not fully patched to work on windows. The main problem is cudnn is using LongTensor as a storage for 64 bit integer in a few places, while the underlining long type is only 32 bit as int on windows. For now, you have to use cunn instead of cudnn if you face error with cudnn, or you can try to replace those LongTensors to real 64 bit integers. |
@BTNC I can use cunn without errors. However, it is slow, I still need 8 min for an epoch running vgg16 instead of 30 min an epoch on CPU, I thought the poor performance is because of not using cudnn, or do you think there are another issue related to the performance? (it only need 30 sec an epoch on Linux) May you provide some clues about how could I help to port the cudnn running on windows? |
I am facing the same problem. When do you think there will be a patch available ? |
Actually, i tried @BTNC's suggestion to replace some LongTensor with 64bit pointers: |
I Try this code
|
I've installed torch on windows with cuda and cudnn,
I can run cunn without error, but when I convert my model into cudnn, the error appears:
Any suggestion?
The text was updated successfully, but these errors were encountered: