5 ms·
Anyone actually got this to run on an M1 Mac? $ conda install pytorch torchvision torchaudio -c pytorch-nightly Collecting package metadata (current_re
by almostdigital 4y ago
Anyone actually got this to run on an M1 Mac?
$ conda install pytorch torchvision torchaudio -c pytorch-nightly
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
PackagesNotFoundError: The following packages are not available from current channels:
- torchaudio
And the pip install variant installs an old version of torchaudio that is broken
OSError: dlopen(/opt/homebrew/Caskroom/miniforge/base/envs/test123/lib/python3.10/site-packages/torchaudio/lib/libtorchaudio.so, 0x0006): Symbol not found: __ZN2at14RecordFunctionC1ENS_11RecordScopeEb
- boopmaster 4y agopip install --pre torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/nightly/cpu https://download.pytorch.org/whl/nightly/cpu
- fragmede 4y agopip3 install pytorch worked for me. I think it's something with your brew installation. fragmede@samairmac:~$ python Python 3.9.7 | packaged by conda-forge | (default, Sep 29 2021, 19:24:02) [Clang 11.1.0 ] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import torch >>> torch.__file__ '/Users/fragmede/projects/miniforge3/lib/python3.9/sitepackages/torch/__init__.py' >>>
- almostdigital 4y agoDoes torchaudio work for you? I can get torch and torchvision to work but not torchaudio
- deleted 4y ago[deleted]