Package Details: python-torchaudio 2.10.0-1

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.81
First Submitted: 2020-08-27 18:23 (UTC)
Last Updated: 2026-03-21 22:26 (UTC)

Sources (2)

Latest Comments

1 2 3 4 Next › Last »

NBonaparte commented on 2026-03-21 22:27 (UTC)

@lubosz Thanks for the patch. I've added you as co-maintainer as I don't really use this package much.

lubosz commented on 2026-03-18 17:37 (UTC)

Please take my patch that bumps to v2.10 and fixes the build: https://github.com/lubosz/torchaudio/commit/df0b91af450e0be10fe8acc32aaba003b134f9e8

medaminezghal commented on 2025-10-19 20:06 (UTC)

@NBonaparte The version 2.9.0 has been arrived: https://github.com/pytorch/audio/releases/tag/v2.9.0 and there is a lot of things changes: for example they remove SOX from the build.

lubosz commented on 2025-10-13 13:03 (UTC) (edited on 2025-10-13 13:03 (UTC) by lubosz)

CUDA 13 has landed in Arch and this is now broken.

To fix the build with CUDA 13 please take the build fix from my branch

https://github.com/lubosz/torchaudio/commit/1b5fc145c8a0eba26f3a26a9f927c3c307a4ed14

It requires a patch from main that fixes the build for 2 kernels as well as dropping now unsupported compute arches below 7.5.

Also please consider taking the patch that makes ln not fail on rebuilds.

https://github.com/lubosz/torchaudio/commit/04f27e56a0201e323cf3a6f905f1d8de269df058

medaminezghal commented on 2025-08-11 09:02 (UTC)

@NBonaparte New version 2.8.0 has been released: https://github.com/pytorch/audio/releases/tag/v2.8.0

arzeth commented on 2025-07-22 10:40 (UTC) (edited on 2025-07-22 10:41 (UTC) by arzeth)

I had to add export CXX=g++-14 to avoid lots of CUDA-related errors (in the end, the package was built successfully). But this requires a new dependency: gcc14.

Also I manually changed/updated 2.7.0 to 2.7.1 in my PKGBUILD (because why not).

micwoj92 commented on 2025-04-29 18:01 (UTC)

@medaminezghal just because something it is base doesn't matter it shouldn't be specified as a dependency.

Similar goes for ffmpeg, if xz, opus, opencore-amr, lame, libvorbis, libogg are direct dependencies of this program, then there is no reason to remove them.

medaminezghal commented on 2025-04-28 17:01 (UTC)

@NBonaparte You can also add python-soundfile, python-sentencepiece and python-deep-phonemizer (still doesn't exist in Arch and AUR repositories) as optional dependencies.

medaminezghal commented on 2025-04-28 16:46 (UTC) (edited on 2025-04-28 16:47 (UTC) by medaminezghal)

@NBonaparte bzip2 should not be a dependency because it's already in Arch base package.

You need to add ffmpeg as dependency and remove xz, opus, opencore-amr, lame, libvorbis and libogg as they're dependencies of ffmpeg.

You can also remove BUILD_SOX=1 as it's true per default.

git and boost is not necessary as make dependencies.

This is check function for kaldi-io:

check_kaldi_io() {
    python3 -c "
try:
    import kaldi_io
    print(1)
except ImportError:
    print(0)
"
}

Now, you can add BUILD_KALDI=$(check_kaldi_io)

micwoj92 commented on 2025-03-27 08:25 (UTC)

Please use spdx license identifier.