Package Details: python-torchaudio 2.0.1-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
Conflicts: python-torchaudio-git
Submitter: HenryJia
Maintainer: HenryJia
Last Packager: HenryJia
Votes: 5
Popularity: 0.000363
First Submitted: 2020-08-27 18:23 (UTC)
Last Updated: 2023-03-18 21:41 (UTC)

Sources (6)

Latest Comments

« First ‹ Previous 1 2 3

HenryJia commented on 2021-11-15 11:56 (UTC)

I've updated the package to 0.10.0 now

yan12125 commented on 2021-11-03 04:04 (UTC)

Got the following error after upgrading python-pytorch to 1.10.0-2

OSError: /usr/lib/python3.9/site-packages/torchaudio/_torchaudio.so: undefined symbol: _ZNK2at6Tensor9index_putERKN3c104ListINS1_8optionalIS0_EEEERKS0_b

The error is gone if I bump python-torchaudio to 0.10.0 and rebuild.

yan12125 commented on 2021-06-30 02:00 (UTC)

Besides updating to 0.9.0, I also need to add BUILD_SOX=1, or "No audio I/O backend is available" occurred for torchaudio.load(). Here is the PKGBUILD I use:

--- a/python-torchaudio/PKGBUILD
+++ b/python-torchaudio/PKGBUILD
@@ -3,8 +3,8 @@

 pkgname=python-torchaudio
 _pkgname=audio
-pkgver=0.8.0
-pkgrel=2
+pkgver=0.9.0
+pkgrel=1
 pkgdesc="Data manipulation and transformation for audio signal processing, powered by PyTorch"
 arch=('any')
 url="https://github.com/pytorch/audio"
@@ -22,12 +22,12 @@ build() {
   cd "$srcdir/${_pkgname}"
   git config submodule.kaldi.url "$srcdir/kaldi"
   git submodule update third_party/kaldi/submodule
-  python setup.py build
+  BUILD_SOX=1 python setup.py build
 }

 package() {
   cd "$srcdir/${_pkgname}"
-  python setup.py install --root="$pkgdir"/ --optimize=1
+  BUILD_SOX=1 python setup.py install --root="$pkgdir"/ --optimize=1
   install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 }

yan12125 commented on 2021-03-06 10:15 (UTC)

With my previously-posted PKGBUILD, pip list -o complains that torchaudio is out-dated as the latter has version 0.8.0a0+099d788 instead of 0.8.0. The updated PKGBUILD is uploaded to https://github.com/yan12125/repo/blob/python-torchaudio/archlinuxcn/python-torchaudio/PKGBUILD