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

cant find matching distribution for onnxruntime-gpu==1.19.2 #14

Open
stormsson opened this issue Oct 9, 2024 · 1 comment
Open

cant find matching distribution for onnxruntime-gpu==1.19.2 #14

stormsson opened this issue Oct 9, 2024 · 1 comment

Comments

@stormsson
Copy link

stormsson commented Oct 9, 2024

both on local install or docker install I have the following issue

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

------
Dockerfile:45
--------------------
  43 |
  44 |     RUN echo "Installing requirements.txt"
  45 | >>> RUN pip3 install --no-cache-dir --upgrade -r /code/requirements.txt
  46 |
  47 |     # yeah.. this is manual for now
--------------------
ERROR: failed to solve: process "/bin/sh -c pip3 install --no-cache-dir --upgrade -r /code/requirements.txt" did not complete successfully: exit code: 1
@jbilcke-hf
Copy link
Owner

jbilcke-hf commented Oct 9, 2024

hello, can you try to open the requirements.txt and replace onnxruntime-gpu==1.19.2 with just onnxruntime-gpu?

alternatively and depending on your system, you might want to try to remove this line in the requirements.txt, as I think now https://pypi.org/project/onnxruntime/ includes the binaries for various platforms already

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

2 participants