Closed itamblyn closed 1 year ago
Same on M1
same on intel
I can repro the issue. Looks like PyTorch recently switched from conda to pip as their recommended install method: https://github.com/pytorch/pytorch.github.io/commit/763011d380f7c2acb265e7d9cbd7836436267204 The next update of TorchStudio will therefore switch to this procedure as well, which hopefully will be more stable than the conda procedure which had a few breaks and issues over the years...
Issue solved with 0.9.16: https://github.com/TorchStudio/torchstudio/releases/tag/0.9.16 Make sure to delete ~/TorchStudio before running 0.9.16
I downloaded and attempted an install of 0.9.15 on an M2 mac. I get a conda error:
Downloading and Extracting Packages
>>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<
$ python_api install pytorch torchvision torchaudio torchtext -c pytorch
environment variables: CIO_TEST=
CONDA_ROOT=/Users/itamblyn/TorchStudio/python
CURL_CA_BUNDLE=
LD_PRELOAD=
PATH=/usr/bin:/bin:/usr/sbin:/sbin;/Users/itamblyn/TorchStudio/python/bin
REQUESTS_CA_BUNDLE=
SSL_CERT_FILE=
populated config files : /Users/itamblyn/.condarc conda version : 23.5.2 conda-build version : not installed python version : 3.11.4.final.0 virtual packages : archspec=1=arm64 osx=13.4.1=0 __unix=0=0 base environment : /Users/itamblyn/TorchStudio/python (writable) conda av data dir : /Users/itamblyn/TorchStudio/python/etc/conda conda av metadata url : None channel URLs : https://conda.anaconda.org/pytorch/osx-arm64 https://conda.anaconda.org/pytorch/noarch https://repo.anaconda.com/pkgs/main/osx-arm64 https://repo.anaconda.com/pkgs/main/noarch https://repo.anaconda.com/pkgs/r/osx-arm64 https://repo.anaconda.com/pkgs/r/noarch package cache : /Users/itamblyn/TorchStudio/python/pkgs /Users/itamblyn/.conda/pkgs envs directories : /Users/itamblyn/TorchStudio/python/envs /Users/itamblyn/.conda/envs platform : osx-arm64 user-agent : conda/23.5.2 requests/2.29.0 CPython/3.11.4 Darwin/22.5.0 OSX/13.4.1 UID:GID : 501:20 netrc file : None offline mode : False
An unexpected error has occurred. Conda has prepared the above report.
Upload successful. Exception ignored in: <function tqdm.del at 0x1018814e0> Traceback (most recent call last): File "/Users/itamblyn/TorchStudio/python/lib/python3.11/site-packages/tqdm/std.py", line 1145, in del self.close() File "/Users/itamblyn/TorchStudio/python/lib/python3.11/site-packages/tqdm/std.py", line 1264, in close if self.disable: ^^^^^^^^^^^^ AttributeError: 'tqdm_asyncio' object has no attribute 'disable'
Error while installing packages