Skip to content
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

torchaudio does not support arm64, is it possible to build/run this without it? #162

Open
maxheckel opened this issue Dec 28, 2024 · 0 comments

Comments

@maxheckel
Copy link

Getting this error on docker build

------
 > [builder 4/7] RUN conda install pytorch torchvision torchaudio cpuonly -c pytorch:
0.462 Collecting package metadata (current_repodata.json): ...working... done
1.953 Solving environment: ...working... unsuccessful initial attempt using frozen solve. Retrying with flexible solve.
1.953 Collecting package metadata (repodata.json): ...working... done
5.832 Solving environment: ...working... unsuccessful initial attempt using frozen solve. Retrying with flexible solve.
5.833 
5.833 PackagesNotFoundError: The following packages are not available from current channels:
5.833 
5.833   - torchaudio
5.833 
5.833 Current channels:
5.833 
5.833   - https://conda.anaconda.org/pytorch/linux-aarch64
5.833   - https://conda.anaconda.org/pytorch/noarch
5.833   - https://repo.anaconda.com/pkgs/main/linux-aarch64
5.833   - https://repo.anaconda.com/pkgs/main/noarch
5.833   - https://repo.anaconda.com/pkgs/r/linux-aarch64
5.833   - https://repo.anaconda.com/pkgs/r/noarch
5.833 
5.833 To search for alternate channels that may provide the conda package you're
5.833 looking for, navigate to
5.833 
5.833     https://anaconda.org
5.833 
5.833 and use the search bar at the top of the page.
5.833 
5.833 
------
Dockerfile:11
--------------------
   9 |     
  10 |     RUN conda install 'ffmpeg>=4.4.0' -c conda-forge
  11 | >>> RUN conda install pytorch torchvision torchaudio cpuonly -c pytorch
  12 |     
  13 |     WORKDIR /usr/local/src
--------------------
ERROR: failed to solve: process "/bin/sh -c conda install pytorch torchvision torchaudio cpuonly -c pytorch" did not complete successfully: exit code: 1

I'm running on a Macbook pro with an M2 chip. Looking at the torchaudio docs, it only supports aarch64:

https://pytorch.org/audio/2.4.0/build.linux.html

Is it possible to get a version that works on ARM architecture chips?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant