pytorch / torchdistx

Torch Distributed Experimental
BSD 3-Clause "New" or "Revised" License
116 stars 31 forks source link

No Suitable Distribution for PyTorch 1.14 #69

Open awgu opened 2 years ago

awgu commented 2 years ago

I am not familiar with builds, but it seems that I cannot install torchdistx for any PyTorch version past 1.13 (e.g. if I am developing on top of current master).

(pytorch) andgu@a100-st-p4d24xlarge-32:~/cluster/work/torchdistx$ python setup.py develop
running develop
/fsx/users/andgu/conda/envs/pytorch/lib/python3.8/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
/fsx/users/andgu/conda/envs/pytorch/lib/python3.8/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
running egg_info
writing src/python/torchdistx.egg-info/PKG-INFO
writing dependency_links to src/python/torchdistx.egg-info/dependency_links.txt
writing requirements to src/python/torchdistx.egg-info/requires.txt
writing top-level names to src/python/torchdistx.egg-info/top_level.txt
reading manifest file 'src/python/torchdistx.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'src/python/torchdistx.egg-info/SOURCES.txt'
running build_ext
Creating /fsx/users/andgu/conda/envs/pytorch/lib/python3.8/site-packages/torchdistx.egg-link (link to src/python)
Adding torchdistx 0.3.0.dev0+cu111 to easy-install.pth file

Installed /fsx/users/andgu/work/torchdistx/src/python
Processing dependencies for torchdistx==0.3.0.dev0+cu111
Searching for torch==1.14.0a0+gitfb6d83e
Reading https://pypi.org/simple/torch/
No local packages or working download links found for torch==1.14.0a0+gitfb6d83e
error: Could not find suitable distribution for Requirement.parse('torch==1.14.0a0+gitfb6d83e')

I am wondering if this is an issue with torchdistx needing to update something or if I am messing up my install somehow.

mert-kurttutan commented 1 year ago

I also came across the same compatibility issue when installing with pip. I am on Ubuntu 22.04 machine with pytorch version 1.13