-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Does onnruntime-gpu support CUDA12.1? #19292
Comments
You will need wait for 1.17 release, which will have cuda 12 release package. You can test release candidate build here: |
See also: #19137 |
Thank you, guys! |
1.17 still generates same error with cuda 12.2 while nightly release was greatly working |
See https://onnxruntime.ai/docs/install/#requirements if you encountered issue with CUDA 12.* |
No. That "stable" release has never worked on Google Colab and generates:
Installing the nighlty release fixes that issue instantly. |
Which version can support CUDA12.1+cuDNN8.9? |
1.18.0 supports cuda 12 and cudnn 8. See https://onnxruntime.ai/docs/execution-providers/CUDA-ExecutionProvider.html#cuda-12x You can install that version like
|
Thank you very much for the help. by the way, I need to install with local package. where can I download this package? |
Yes, you can download the whl file (See https://onnxruntime.ai/docs/install/#python-installs for wheel loculation), then |
Describe the issue
Hello!
I use onnxruntime to run ptq(quant, static), but my cpu threads are always be killed.
So, I want to use gpu.
But, when I set provider=['CUDAExecutionProvider'], the error 'Failed to create cuda provider' was coming.
Does onnxruntime-gpu support CUDA12.1(pip install onnxrumtime)?
And pardon my poor english.
To reproduce
sess = ort.InferenceSession('xxxxxx.onnx', providers=['CUDAExecutionProvider'])
'Failed to create CUDAExecutionProvider. Please reference https://onnxruntime.ai/docs/reference/execution-providers/CUDA-ExecutionProvider.html#requirements to ensure all dependencies are met.'
Urgency
Not really
Platform
Linux
OS Version
ubuntu 22.04
ONNX Runtime Installation
Released Package
ONNX Runtime Version or Commit ID
onnxrumtime 1.16.2
ONNX Runtime API
Python
Architecture
X64
Execution Provider
CUDA
Execution Provider Library Version
CUDA12.1
The text was updated successfully, but these errors were encountered: