You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since each distribution wheel is built for a particular version of PyTorch, it would be helpful to specify that PyTorch version in Requires-Dist in the package metadata. E.g., in setup.py: setup(install_requires=['torch==1.13.1+cu116']).
This helps fail-fast if an incompatible version is being installed. For organizations storing these wheels in a private package repository, this also allows pip to automatically select the right version if a version range is specified.
Alternatives
Can otherwise specify a particular Torch version's subdirectory of the downloads site using pip --find-links ..., but that doesn't fail-fast if the version is incompatible
Additional context
No response
The text was updated successfully, but these errors were encountered:
I think this would be a more fitting issue in, e.g., pyg-lib (since PyG has no dependency on a particular PT/CUDA version). Other than that, I agree with you. Can we close this issue here and create a similar one for pyg-lib? I don't think we need to include other ones as we are in the process of deprecating them.
🚀 The feature, motivation and pitch
Since each distribution wheel is built for a particular version of PyTorch, it would be helpful to specify that PyTorch version in
Requires-Dist
in the package metadata. E.g., in setup.py:setup(install_requires=['torch==1.13.1+cu116'])
.This helps fail-fast if an incompatible version is being installed. For organizations storing these wheels in a private package repository, this also allows pip to automatically select the right version if a version range is specified.
Alternatives
Can otherwise specify a particular Torch version's subdirectory of the downloads site using
pip --find-links ...
, but that doesn't fail-fast if the version is incompatibleAdditional context
No response
The text was updated successfully, but these errors were encountered: