Git Product home page Git Product logo

Comments (10)

dbuades avatar dbuades commented on August 19, 2024 1

Same issue here. 1.18 package is missing from https://aiinfra.visualstudio.com/PublicPackages/_artifacts/feed/onnxruntime-cuda-12

from onnxruntime.

tianleiwu avatar tianleiwu commented on August 19, 2024

@circuluspibo, could you try install cuda 12 package according to https://onnxruntime.ai/docs/install/

from onnxruntime.

aashaypm avatar aashaypm commented on August 19, 2024

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.

snnn avatar snnn commented on August 19, 2024

@yihonglyu , please help publish CUDA 12 python & nuget packages there.

from onnxruntime.

circuluspibo avatar circuluspibo commented on August 19, 2024

@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.

NarutoUA avatar NarutoUA commented on August 19, 2024

#20409

from onnxruntime.

typon avatar typon commented on August 19, 2024

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!

  1. 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.

snnn avatar snnn commented on August 19, 2024

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.

dbuades avatar dbuades commented on August 19, 2024

Update

1.18.0 is now available. Thank you!

from onnxruntime.

yihonglyu avatar yihonglyu commented on August 19, 2024

Update
1.18.0 is now available. Thank you!

Close the issue as it is solved

from onnxruntime.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.