-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Dependency management corrupted in pytorch 2.5.0 #139005
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
Please explicitly limit upper torch version for now. |
Well, I came with a slightly better workaround for now, which allow later python versions to work with torch The following line
got replaced by
in my |
@kit1980 is this a problem on our side? |
No, it is not, we simply did not release torch-2.5.0 on 3.8 as it reached EOL in October. Also, any objections if I'll create a separate label for poetry? |
Not sure what is meant by that, but the only concern is that the dependency manager should know which version of PyTorch to use for which version of python, independently than the EOL of certain python version. That is called "Legacy" and I should not have to manually do the job of the dependency manager because it cannot resolve certain dependencies when used with an earlier version of Python.
Is that not a standard process of dependency resolution, what poetry is doing more than any dependency manager? |
We need to verify that PyTorch 2.6.0 has correct metadata Python >= 3.9 For PyTorch 2.5.0 and 2.5.1 that was an oversight that the metadata was not updated. |
Uh oh!
There was an error while loading. Please reload this page.
🐛 Describe the bug
Expected behavior
When using a project still using python 3.8, the version of Pytorch used should be smaller than
2.5.0
.Bug description
Nevertheless, the installer (in this case
poerty
) will return an error verbosing the following:Versions
This happened on a shared runner with Poetry version
1.6.X
, I was not able to reproduce it locally.cc @seemethere @malfet @osalpekar @atalman
The text was updated successfully, but these errors were encountered: