Search Criteria
Package Details: python-torchaudio 2.10.0-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/python-torchaudio.git (read-only, click to copy) |
|---|---|
| Package Base: | python-torchaudio |
| Description: | Data manipulation and transformation for audio signal processing, powered by PyTorch |
| Upstream URL: | https://github.com/pytorch/audio |
| Licenses: | BSD-2-Clause |
| Conflicts: | python-torchaudio-git |
| Submitter: | HenryJia |
| Maintainer: | NBonaparte (lubosz) |
| Last Packager: | NBonaparte |
| Votes: | 10 |
| Popularity: | 0.37 |
| First Submitted: | 2020-08-27 18:23 (UTC) |
| Last Updated: | 2026-03-21 22:26 (UTC) |
Dependencies (17)
- bzip2 (bzip2-gitAUR)
- lame (lame-svnAUR, lame-altivecAUR)
- libogg (libogg-gitAUR)
- libvorbis (libvorbis-aotuvAUR, libvorbis-aotuv-lancerAUR, libvorbis-gitAUR)
- opencore-amr (opencore-amr-gitAUR)
- opus (opus-gitAUR)
- opusfile (opusfile-gitAUR)
- python
- python-pytorch (python-pytorch-cuda12.9AUR, python-pytorch-opt-cuda12.9AUR, python-pytorch-cuda, python-pytorch-opt, python-pytorch-opt-cuda, python-pytorch-opt-rocm, python-pytorch-rocm)
- xz (xz-gitAUR)
- zlib (zlib-gitAUR, zlib-ng-compat-gitAUR, zlib-ng-compat)
- boost (boost-gitAUR) (make)
- cmake (cmake3AUR, cmake-gitAUR) (make)
- git (git-gitAUR, git-glAUR, git-wd40AUR) (make)
- ninja (ninja-gitAUR, ninja-memAUR, ninja-noemacs-gitAUR, ninja-kitwareAUR, ninja-fuchsia-gitAUR, n2-ninja-symlinkAUR) (make)
- python-setuptools (make)
- cuda (cuda11.1AUR, cuda-12.2AUR, cuda12.0AUR, cuda11.4AUR, cuda-12.5AUR, cuda-12.9AUR, cuda-12.8AUR, cuda-pascalAUR) (optional)
Required by (31)
- comfyui-system
- coqui-tts
- dsnote (optional)
- dsnote-git (optional)
- localai-git
- localai-git-cuda
- localai-git-rocm
- python-auralis
- python-chatterbox-tts
- python-diart
- python-encodec-git
- python-lhotse-git
- python-nemo-toolkit
- python-open-unmix-pytorch
- python-qualia-core (optional)
- python-resemble-perth
- python-s3tokenizer
- python-speechbrain-git
- python-spikingjelly-git
- python-torchmetrics (optional)
- python-tts-git
- python-vllm (optional)
- python-vllm-bin (optional)
- python-vllm-cuda (optional)
- python-vllm-omni
- python-vllm-rocm (optional)
- python-vllm-rocm-git (optional)
- python-webdataset
- slskdn (optional)
- slskdn-bin (optional)
- whisperlivekit
Latest Comments
« First ‹ Previous 1 2 3 4 5 Next › Last »
rien333 commented on 2022-07-03 15:22 (UTC)
export CUDACXX=/opt/cuda/bin/nvccalso works!yan12125 commented on 2022-07-03 12:02 (UTC)
Nice! Could you also try this? It is kind of unusual to use CMAKE_CUDA_COMPILER as an environment variable instead of a CMake parameter.
To be honest, I've never tried that. I always use chroots for non-trivial packages to avoid mysterious issues, and this package is far from a trivial one :)
rien333 commented on 2022-07-03 10:38 (UTC)
Jeez, I finally got this to build. This recent thread helped a bit.
The last line of the diff is the only thing I had to add! Would you consider it adding to the PKGBUIKLD, at least until someone figures out what interveres with building outside of a clean chroot?
And btw, are you able to build this package yourself outside of a clean chroot?
rien333 commented on 2022-06-10 09:03 (UTC) (edited on 2022-06-10 09:03 (UTC) by rien333)
Thank you for your continued help! Unfortunately, it's just not as simple as not having
/opt/cuda/bin/nvcc— community/cuda obviously installs this binary, and running/opt/cuda/bin/nvcc --versionproduces the same output as in your Cmake log.In the end, I "fixed" this by building this package in a clean chroot. Not ideal, but maybe a proper solultion/answer will come around one day.
yan12125 commented on 2022-06-07 14:59 (UTC)
Not sure what's going on for you. Here are relevant logs for me:
I got
Compiler: /opt/cuda/bin/nvccbut you haveCompiler: CMAKE_CUDA_COMPILER-NOTFOUND. Maybe that program is somehow missing or broken for you?rien333 commented on 2022-06-07 09:10 (UTC)
Still having the same sort of problems, a month later:
CMakeError.log contains the following:
Note that cmake fails at
CMakeDetermineCUDACompiler.cmake:633:What is the value of
CMAKE_CUDA_ARCHITECTURESin your case? What should it be? (It's empty for me.)Forget about /usr/local/coda, that was just a temporary bug in how CUDA was packaged on Arch (see also my previous comment).
yan12125 commented on 2022-05-25 05:16 (UTC)
I switched to GCC 11 and it works with /opt/cuda. Maybe worth another try with /usr/local/cuda :)
rien333 commented on 2022-05-16 12:08 (UTC) (edited on 2022-05-16 12:09 (UTC) by rien333)
It's true that cuda installs to /opt, as confirmed by
yay -Ql cuda. However, when Isudo rm -rf /usr/local/cuda, thenyay -R cuda, and finally reinstall usingyay -S cuda,/usr/local/cudaappears again! It's not a symlink to /opt/cuda, but the contents of the two folders appear to be identical (certainly,nvcc -Vis the same in both folders). Hence, I think we've stumbled on a bug (a totally extraneous duplicate is installed). I'll report it in a bit.Perhaps the hack(s) you describe don't quite apply to /usr/local/cuda, which would explain why my build keeps failing.
Good catch noticing
/usr/local/cudain my logs!yan12125 commented on 2022-05-16 11:28 (UTC)
Hmm that's strange. community/cuda installs to /opt/cuda, but your logs mentioned /usr/local/cuda. Maybe some other packages or scripts installs them for you.
Thanks for the link! I have a guess now: nvcc inside /usr/local/cuda rejects gcc 12 and causes a mysterious CMake error. On the other hand, community/cuda comes with a hack [1] to accept whatever gcc versions, so CMake does not complain.
Before I added USE_CUDA=0, I got an error
invalid type argument of unary ‘*’when compilingcompute_alphas.cu, and now it's gone for me. Somehow CMake still checks for CUDA even with USE_CUDA=0. Maybe that flag only disables invoking nvcc for compiling *.cu files.[1] https://github.com/archlinux/svntogit-community/blob/packages/cuda/trunk/PKGBUILD#L124
rien333 commented on 2022-05-16 09:03 (UTC) (edited on 2022-05-16 09:05 (UTC) by rien333)
I have
community/cudainstalled, never messed around with installing nvidia stuff another way. I reinstalled it for the fun of it, but no luck.That this may be he root of the problem seems to accord with various reports on the web. See https://gitlab.kitware.com/cmake/cmake/-/issues/23322
Perhaps this doesn't quite work yet? Are you sure cmake picks up on the env variable you've changed?
« First ‹ Previous 1 2 3 4 5 Next › Last »