-
Notifications
You must be signed in to change notification settings - Fork 1.5k
UV PyTorch indexes not found for cu126 #12774
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
Comments
Sorry, what do you mean by “by default”? How would uv know to look on the PyTorch index if it wasn’t specified? |
It was specified in the
|
Okay, but what error are you experiencing when you do that? uv doesn't hard-code any distinction between those indexes. All PyTorch indexes should work equally well. |
When running On the other hand, when running These libraries are:
|
Can you share your If you are using |
Thats a known bug wiith pytorch 2.6.0 and cu126, use cu124 |
Summary
Hello,
By default, torch installation via
uv
using CUDA 12.6 fails due to missing support in the default uv PyTorch indexes:The issue is that you can manually override the index url on the command line:
but when specified in the
pyproject.toml
this is not overridden.Platform
Linux Ubuntu 24.04 LTS
Version
uv 0.6.13
Python version
3.13.3
The text was updated successfully, but these errors were encountered: