backgroundremover
backgroundremover copied to clipboard
torchaudio does not support arm64, is it possible to build/run this without it?
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?
This should work on mac, just try installing it via pip