Comments (9)
Same issue here. 1.18 package is missing from https://aiinfra.visualstudio.com/PublicPackages/_artifacts/feed/onnxruntime-cuda-12
from onnxruntime.
@circuluspibo, could you try install cuda 12 package according to https://onnxruntime.ai/docs/install/
from onnxruntime.
Jumping in, @tianleiwu I don't see version 1.18 on here. Anyway, I did follow the method mentioned on the install page, and I get the following error when trying to use the library:
2024-05-22 16:59:06.850388755 [E:onnxruntime:Default, provider_bridge_ort.cc:1744 TryGetProviderInfo_CUDA] /onnxruntime_src/onnxruntime/cor
e/session/provider_bridge_ort.cc:1426 onnxruntime::Provider& onnxruntime::ProviderLibrary::Get() [ONNXRuntimeError] : 1 : FAIL : Failed to
load library libonnxruntime_providers_cuda.so with error: libcublasLt.so.11: cannot open shared object file: No such file or directory
Which makes me think the CUDA 11 compatible version was installed even after running pip install onnxruntime-gpu --extra-index-url https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/onnxruntime-cuda-12/pypi/simple/
from onnxruntime.
@yihonglyu , please help publish CUDA 12 python & nuget packages there.
from onnxruntime.
@tianleiwu as aashaypm mentioned, only installed 1.18 with cuda 11.8 only....
https://aiinfra.visualstudio.com/PublicPackages/_artifacts/feed/onnxruntime-cuda-12
If you check this site, only support 1.17.1, can't find 1.18 for cuda 12 (seems to supoort only onnxruntime-training at cuda 12)
from onnxruntime.
from onnxruntime.
Running into the same issue.
For people Googling a fix:
pip install onnxruntime-gpu --extra-index-url https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/onnxruntime-cuda-12/pypi/simple
Will install onnxruntime-gpu==1.18.0
which has libraries built for CUDA 11!
- To fix this, please install like this:
pip install --no-cache-dir onnxruntime-gpu==1.17.1 --extra-index-url https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/onnxruntime-cuda-12/pypi/simple
This will allow use with CUDA 12
from onnxruntime.
Should be "-i" instead of "--extra-index-url". You should not have the "extra" there.
python -m pip install -i https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/onnxruntime-cuda-12/pypi/simple/ onnxruntime-gpu
from onnxruntime.
Update
1.18.0 is now available. Thank you!
from onnxruntime.
Related Issues (20)
- Graph optimization results in broken model HOT 6
- [Build] Unable to build ONNX Runtime against CUDA 12.5 HOT 7
- How to run test file HOT 2
- [JAVA] Ability to construct a Tensor from a GPU memory pointer HOT 4
- Request for Hidden States Access in Phi-3 with ONNX Runtime HOT 3
- [Web] LinkError when using custom built WASM artifacts HOT 1
- [Build] Unable to build onnxruntime from source (with oneDNN EP) HOT 1
- How QLinearConv layer absorb the Relu function HOT 4
- [Web] Latest version does nonstandard imports HOT 6
- [Feature Request] Extend quantization tool to support blocked quantization
- [Performance] Severe performance penalty with transformer model and DirectML HOT 4
- After adding preprocessing steps to the model, on inference an error throws: Non-zero status code returned while running Add node. HOT 2
- [Build] moduleNotfoundError: no module named 'onnxruntime.training' & 'No matching distribution found for onnxruntime-training' HOT 7
- Mismatch in results for TensorRT session and cuda Session HOT 3
- [Feature Request] DFT/STFT WebGPU op support (web/js) HOT 2
- [Feature Request] Assess performance capability before a model is loaded HOT 1
- [Feature Request] Error code for terminated Session::run
- [Bug] The accuracy of the A16W16 quantized model is very poor if per_channel is True HOT 3
- ONNXRuntime 1.18 crashing with TensorRT EP when dealing with big inputs HOT 5
- [Mobile] React-native OnnxruntimeJSIHelper install segfaults when registering functions HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from onnxruntime.