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

[Bug]: ERROR: No matching distribution found for onnxruntime-gpu==1.18.0 #515

Open
Reaper176 opened this issue Oct 19, 2024 · 7 comments
Open
Labels
bug Something isn't working

Comments

@Reaper176
Copy link

What happened?

installation fails

What did you expect would happen?

.

Relevant log output

Unpacking resources
Unpacking resources
Download Complete
Looking in indexes: https://download.pytorch.org/whl/rocm5.7
Collecting torch==2.3.1+rocm5.7 (from -r requirements-rocm.txt (line 3))
  Using cached https://download.pytorch.org/whl/rocm5.7/torch-2.3.1%2Brocm5.7-cp310-cp310-linux_x86_64.whl (1905.1 MB)
Collecting torchvision==0.18.1+rocm5.7 (from -r requirements-rocm.txt (line 4))
  Using cached https://download.pytorch.org/whl/rocm5.7/torchvision-0.18.1%2Brocm5.7-cp310-cp310-linux_x86_64.whl (65.5 MB)
ERROR: Could not find a version that satisfies the requirement onnxruntime-gpu==1.18.0 (from versions: none)
ERROR: No matching distribution found for onnxruntime-gpu==1.18.0
Could not install OneTrainer (StabilityMatrix.Core.Exceptions.ProcessException: pip install failed with code 1: 'Looking in indexes: https://download.pytorch.org/whl/rocm5.7\nCollecting torch==2.3.1+rocm5.7 (from -r requirements-rocm.txt (line 3))\n  Using cached https://download.pytorch.org/whl/rocm5.7/torch-2.3.1%2Brocm5.7-cp310-cp310-linux_x86_64.whl (1905.1 MB)\nCollecting torchvision==0.18.1+rocm5.7 (from -r requirements-rocm.txt (line 4))\n  Using cached https://download.pytorch.org/whl/rocm5.7/torchvision-0.18.1%2Brocm5.7-cp310-cp310-linux_x86_64.whl (65.5 MB)\nERROR: Could not find a version that satisfies the requirement onnxruntime-gpu==1.18.0 (from versions: none)\nERROR: No matching distribution found for onnxruntime-gpu==1.18.0\n'

Output of pip freeze

.

@Reaper176 Reaper176 added the bug Something isn't working label Oct 19, 2024
@O-J1
Copy link
Collaborator

O-J1 commented Oct 19, 2024

.

This cannot be troubleshooted unless you include your output of pip freeze. Additionally what OS are you running this on?

@gambikules
Copy link

same here

@Nerogar
Copy link
Owner

Nerogar commented Oct 20, 2024

The actual error message is

ERROR: Could not find a version that satisfies the requirement onnxruntime-gpu==1.18.0 (from versions: none)
ERROR: No matching distribution found for onnxruntime-gpu==1.18.0

@Nerogar Nerogar changed the title [Bug]: rocm-pytorch url is not correct [Bug]: ERROR: No matching distribution found for onnxruntime-gpu==1.18.0 Oct 20, 2024
@hameerabbasi
Copy link
Contributor

The correct package for ROCm is onnxruntime-rocm.

@Nerogar
Copy link
Owner

Nerogar commented Oct 28, 2024

The correct package for ROCm is onnxruntime-rocm.

Where did you find that package? At least on pypi I only see onnxruntime and onnxruntime-gpu

@Heasterian
Copy link
Contributor

microsoft/onnxruntime#18052 Looks like they are not going to upload onnxruntime-rocm builds to pypi :/

@rodrigoandrigo
Copy link

The correct package for ROCm is onnxruntime-rocm.

Where did you find that package? At least on pypi I only see onnxruntime and onnxruntime-gpu

has only onnxruntime_rocm https://repo.radeon.com/rocm/manylinux/rocm-rel-6.2/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants