Skip to content
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

I Don't know, why uninstall onnxruntime and onnxruntime-gpu #40

Closed
jazzydog opened this issue Jun 23, 2024 · 1 comment
Closed

I Don't know, why uninstall onnxruntime and onnxruntime-gpu #40

jazzydog opened this issue Jun 23, 2024 · 1 comment

Comments

@jazzydog
Copy link

No description provided.

@jtydhr88
Copy link
Contributor

Do you mean in Windows bat script or windows install steps ?
If yes, this is because the default installation of onnxruntime and onnxruntime-gpu will install the version built for CUDA 11.x.
But just I mentioned in the ticket #15, my env is CUDA 12.1, and according to onnxruntime official doc here - https://onnxruntime.ai/docs/install/
image
the correct index for onnxruntime and command should be:
pip install onnxruntime-gpu --extra-index-url https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/onnxruntime-cuda-12/pypi/simple/
this is the reason why we need to unstall them first, then re-install by this link.

if your env is CUDA 11.8, I believe you don't need this step.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants