Search Criteria
Package Details: python-torchaudio 2.0.1-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 |
Conflicts: | python-torchaudio-git |
Submitter: | HenryJia |
Maintainer: | HenryJia |
Last Packager: | HenryJia |
Votes: | 5 |
Popularity: | 0.96 |
First Submitted: | 2020-08-27 18:23 (UTC) |
Last Updated: | 2023-03-18 21:41 (UTC) |
Dependencies (18)
- bzip2 (bzip2-git, bzip2-rustify-git, bzip2-with-lbzip2-symlinks)
- lame (lame-svn, lame-altivec)
- libFLAC.so (flac-nodocs-git, flac-minimal-git, lib32-flac-git, flac-git, flac, lib32-flac)
- libogg (libogg-git)
- libvorbis (libvorbis-git, libvorbis-aotuv, libvorbis-aotuv-lancer)
- opencore-amr
- opus (opus-git)
- opusfile (opusfile-git)
- python (nogil-python, python36, python32, python39, python38, python37, python311, python312)
- python-pytorch (python-pytorch-mkl-git, python-pytorch-cuda-git, python-pytorch-mkl-cuda-git, python-pytorch-cuda, python-pytorch-opt, python-pytorch-opt-cuda, python-pytorch-opt-rocm, python-pytorch-rocm)
- xz (xz-git)
- zlib (zlib-static, zlib-ng-compat-git, zlib-git, zlib-ng-compat)
- boost (boost-git, boost174) (make)
- cmake (cmake-git) (make)
- git (git-vfs, git-git, git-run-command-patch-git) (make)
- ninja (ninja-git, ninja-samurai, ninja-bin, python-ninja, ninja-kitware, ninja-mem) (make)
- python-setuptools (make)
- python-kaldi-io (optional)
Latest Comments
« First ‹ Previous 1 2 3 Next › Last »
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/cuda
appears again! It's not a symlink to /opt/cuda, but the contents of the two folders appear to be identical (certainly,nvcc -V
is 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/cuda
in 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/cuda
installed, 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?
yan12125 commented on 2022-05-16 03:32 (UTC)
To be honest, I got a different error than yours and I thought my fix works for both, and that seems not the case. Anyway, your CUDA copy inside /usr/local/cuda seems broken. Could you try removing /usr/local/cuda, installing https://archlinux.org/packages/community/x86_64/cuda/ and see if that works?
rien333 commented on 2022-05-15 16:38 (UTC)
I still get the same error. Was the package properly updated? Like did you make a new release and stuff?
yan12125 commented on 2022-05-12 13:45 (UTC)
rien333: With some changes to PKGBUILD, this error can be avoided, but you're right - I tested nvcc from CUDA 11.7, and it is still incompatible with GCC 12. I disabled CUDA altogether for now.
rien333 commented on 2022-05-12 07:06 (UTC) (edited on 2022-05-12 07:13 (UTC) by rien333)
I'm getting the following build error. I think the PKGBUILD is missing a dependency or something. Googling shows something about
nvcc
currently being incompatible with certain gcc versions? Arch is on like 12 now.yan12125 commented on 2022-05-11 04:38 (UTC)
Thanks for the update and adding me as a co-maintainer. Seems new torchaudio has fixed the version string and my previous
BUILD_VERSION
trick is no longer necessary. How do you think about usingarch=('x86_64' 'i686')
? (I can push it directly, but I prefer a consensus)yan12125 commented on 2022-05-03 10:30 (UTC)
FWIW, here is a working patch for updating to 0.11.0 with various fixes: http://fars.ee/v4qE
Also, may I become a co-maintainer of this package? I'd like to keep this package up-to-date as best as I can.
yan12125 commented on 2021-11-19 14:39 (UTC)
Thanks!
« First ‹ Previous 1 2 3 Next › Last »