Skip to content

Enabling CUDA execution provider #83

Answered by decahedron1
GeorgeGaziev asked this question in Q&A
Discussion options

You must be logged in to vote

Hmm, I've also seen this happen with a missing zlibwapi.dll (at least for CUDA 11). It seems NVIDIA removed the download from their docs so I don't know if CUDA 12 depends on it anymore, but you could try extracting dll_x64/zlibwapi.dll from http://www.winimage.com/zLibDll/zlib123dllx64.zip to the CUDA bin dir.

Additionally, ONNX Runtime 1.15.1 doesn't necessarily support CUDA 12 which could be causing this error, though some report it working, so I'm not sure. If nothing else works it might not hurt to uninstall CUDA 12 and try CUDA 11.8 (though note you'll also need to re-download cuDNN as there are separate versions for CUDA 11.x and 12.x)

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@decahedron1
Comment options

@GeorgeGaziev
Comment options

@GeorgeGaziev
Comment options

@decahedron1
Comment options

Answer selected by GeorgeGaziev
@GeorgeGaziev
Comment options

@GeorgeGaziev
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
onnxruntime issue problem is not caused by ort
2 participants