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
nd4j-cuda-10.1-platform failure due to jnicusparse.dll issue #7781
Comments
Do you have cuDNN set up also (i.e., cudnn DLL on the system PATH environment variable)? IIRC I've seen "The specified procedure could not be found" before with wrong cuDNN version, though you'd probably need deeplearning4j-cuda-10.1 dependency also for that to be a cause of this... |
May I ask what are the deeplearning4j-cuda-10.1 dependencies? |
https://deeplearning4j.org/docs/latest/deeplearning4j-config-cudnn So literally,
To confirm - you don't also have that in your pom.xml? (If not, that's fine, we can rule out one possible cause). |
I don't have the following in my pom.xml.
|
This is my latest pom.xml and I have also installed Nvidia Cudnn, but I am still getting the same error.
|
Show nvidia-smi output please. |
is cudnn a mandatory library ? (just because the documentation doesn't specify it at all in the set-up phase) |
No, cuDNN is not mandatory. Just recommended if you're working with convolutional/recurrent stuff. |
thanks, but i've exactly the same problem, even after installing CuDNN (i checked the version against Cuda 10.1 to be sure) i'll put all the information i can collect, please if something is wrong, doesn't hesitate to bash me :) here's the actual stacktace on my side when doing Word2Vec with Cuda :
my POM deps and props :
my nvcc and device query .
|
I did a system search for jnicusparse.dll: C:\Users\zollen.javacpp\cache\cuda-10.1-7.5-1.5-windows-x86_64.jar\org\bytedeco\cuda\windows-x86_64>dir Directory of C:\Users\zollen.javacpp\cache\cuda-10.1-7.5-1.5-windows-x86_64.jar\org\bytedeco\cuda\windows-x86_64 2019-05-22 07:50 PM .2019-05-22 07:50 PM .. 2019-04-09 09:03 AM 894,464 jnicublas.dll 2019-04-09 09:03 AM 1,948,672 jnicudart.dll 2019-04-09 09:04 AM 1,940,992 jnicusparse.dll 3 File(s) 4,784,128 bytes 2 Dir(s) 160,367,009,792 bytes free |
Curious.... It displays CUDA Version 10.2...
|
See this line in your nvidia-smi output? That one looks strange, since latest CUDA is 10.1 Also, you're showing me two different systems here. One is cc 52, other one is cc 61. |
|
2/3:
and
that's two different GPUs, with different compute capabilities. |
Well, anyway, the problem looks like binary incompatibility between what we've used to build and what you use. You're probably using CUDA 10.1 Update 1. Please downgrade to regular CUDA 10.1 (there are previous versions available on nvidia website), and everything should work fine. And dont forget to reboot your box after downgrade. |
I shall downgrade my CUDA SDK and see how it goes. Thanks for the tips.
|
Yeah, CUDA updates have been getting really strange since 10.1. Just use the bundled binaries as per this pom.xml file here instead of trying to figure out which version of CUDA you need: |
It works!! Thanks for the quick help!! |
thanks a bunch ! worked on my side too, this should really go on the official documentation if problem arise ! |
it works. just add few lines to pom.xml
|
I setup nd4j-cuda-10.1-platform in my pom.xml but when I run my program. It threw an exception with following root cause:
Caused by: java.lang.UnsatisfiedLinkError: C:\Users\zollen.javacpp\cache\cuda-10.1-7.5-1.5-windows-x86_64.jar\org\bytedeco\cuda\windows-x86_64\jnicusparse.dll: The specified procedure could not be found
System Information
The text was updated successfully, but these errors were encountered: