has anyone got cuda on the onnx node to work?

   1785   5   1
User Avatar
Member
3 posts
Joined: 8月 2019
オンライン
I installed the correct versions of the Cuda toolkit and the CUDNN libraries and set the path environment in windows to the correct folders, but I can't get it to work.
I also tried some different folder structures and copies the CUDNN libraries to different locations, but no luck.

Does anyone has some idea how to correctly install the libraries?

Attachments:
OnnxCudaWarning.png (15.7 KB)

User Avatar
Member
8173 posts
Joined: 9月 2011
オフライン
As far as I know, it's impossible. I worked with the developer and they could not help get it to work for me. Maybe it works on Linux?
User Avatar
Member
3 posts
Joined: 8月 2019
オンライン
Thanks for the quick answer. That is too bad, hopefully they will fix it soon in an update.
Using things like anydepth2 and SAM2 is really handy, but right now on cpu it is really slow.
User Avatar
Member
43 posts
Joined: 9月 2017
オフライン
@jsmack - I just succeeded!

After installing Cuda 12.2 and CUDNN 8.9.2 (version for 12.2) the trick was to track down zlib.dll (who knew??)

After a wild goose chase I found it already on my system in "Program Files\NVIDIA Corporation\Nsight Systems 2023.2.3\host-windows-x64"

It needs to be copied to the bin folder of your CUDNN installation, and renamed zlibwapi.dll

ONNX is working super fast with my 4090 now
User Avatar
Member
3 posts
Joined: 10月 2013
オフライン
I've been trying to get SAM/SAM2 running in Houdini using the ONNX nodes with no success. After much fiddling around with the encoder parameters Houdini stopped complaining and started crashing with segmentation faults instead. Could either of you provide some guidance (or better yet, a HIP)? I'd really appreciate it!
User Avatar
Member
3 posts
Joined: 8月 2019
オフライン
mrboni
After installing Cuda 12.2 and CUDNN 8.9.2 (version for 12.2) the trick was to track down zlib.dll (who knew??)

Has this been fixed or obviated in 20.5.613 or 21.0.440? CUDA/CUDNN has much newer versions as well so im curious about which to install.
  • Quick Links