Package Details: python-torchaudio 2.6.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
Conflicts: python-torchaudio-git
Submitter: HenryJia
Maintainer: NBonaparte
Last Packager: NBonaparte
Votes: 6
Popularity: 0.45
First Submitted: 2020-08-27 18:23 (UTC)
Last Updated: 2025-01-29 23:50 (UTC)

Sources (2)

Latest Comments

1 2 3 Next › Last »

ap_qld commented on 2025-01-30 23:21 (UTC)

ninja: build stopped: subcommand failed.

Traceback (most recent call last):
  File "~/.cache/yay/python-torchaudio/src/audio-2.6.0/setup.py", line 144, in <module>
    _main()
    ~~~~~^^
  File "~/.cache/yay/python-torchaudio/src/audio-2.6.0/setup.py", line 99, in _main
    setup(
    ~~~~~^
        name="torchaudio",
        ^^^^^^^^^^^^^^^^^^
    ...<38 lines>...
        zip_safe=False,
        ^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3.13/site-packages/setuptools/__init__.py", line 117, in setup
    return distutils.core.setup(**attrs)
           ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/setuptools/_distutils/core.py", line 183, in setup
    return run_commands(dist)
  File "/usr/lib/python3.13/site-packages/setuptools/_distutils/core.py", line 199, in run_commands
    dist.run_commands()
    ~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/setuptools/_distutils/dist.py", line 954, in run_commands
    self.run_command(cmd)
    ~~~~~~~~~~~~~~~~^^^^^
  File "/usr/lib/python3.13/site-packages/setuptools/dist.py", line 991, in run_command
    super().run_command(command)
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/setuptools/_distutils/dist.py", line 973, in run_command
    cmd_obj.run()
    ~~~~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/setuptools/_distutils/command/build.py", line 135, in run
    self.run_command(cmd_name)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/setuptools/_distutils/cmd.py", line 316, in run_command
    self.distribution.run_command(command)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/setuptools/dist.py", line 991, in run_command
    super().run_command(command)
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/setuptools/_distutils/dist.py", line 973, in run_command
    cmd_obj.run()
    ~~~~~~~~~~~^^
  File "~/.cache/yay/python-torchaudio/src/audio-2.6.0/tools/setup_helpers/extension.py", line 99, in run
    super().run()
    ~~~~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/setuptools/command/build_ext.py", line 98, in run
    _build_ext.run(self)
    ~~~~~~~~~~~~~~^^^^^^
  File "/usr/lib/python3.13/site-packages/Cython/Distutils/old_build_ext.py", line 186, in run
    _build_ext.build_ext.run(self)
    ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
  File "/usr/lib/python3.13/site-packages/setuptools/_distutils/command/build_ext.py", line 359, in run
    self.build_extensions()
    ~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/Cython/Distutils/old_build_ext.py", line 195, in build_extensions
    _build_ext.build_ext.build_extensions(self)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
  File "/usr/lib/python3.13/site-packages/setuptools/_distutils/command/build_ext.py", line 476, in build_extensions
    self._build_extensions_serial()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/setuptools/_distutils/command/build_ext.py", line 502, in _build_extensions_serial
    self.build_extension(ext)
    ~~~~~~~~~~~~~~~~~~~~^^^^^
  File "~/.cache/yay/python-torchaudio/src/audio-2.6.0/tools/setup_helpers/extension.py", line 183, in build_extension
    subprocess.check_call(["cmake", "--build", "."] + build_args, cwd=self.build_temp)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/subprocess.py", line 419, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--target', 'install']' returned non-zero exit status 1.
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: python-torchaudio-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
python-torchaudio - exit status 4

medaminezghal commented on 2024-11-08 07:33 (UTC)

@NBonaparte could you update this package to the version 2.5.1? The pytorch has been update to the latest version in arch package

actionless commented on 2024-07-29 07:59 (UTC)

also i think CXX should be set to g++-13

Auerhuhn commented on 2024-07-04 09:06 (UTC)

Hi @NBonaparte,

Would you mind removing the git submodule init line from prepare?

That would solve the issue reported by user @Lucki, too.

Regards
Auerhuhn

Lucki commented on 2024-05-09 14:52 (UTC)

prepare() fails for me:

[…]
==> Retrieving sources...
  -> Found v2.3.0.tar.gz
  -> Found sox-14.4.2.tar.bz2
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting v2.3.0.tar.gz with bsdtar
  -> Extracting sox-14.4.2.tar.bz2 with bsdtar
==> Starting prepare()...
fatal: not a git repository (or any of the parent directories): .git
==> ERROR: A failure occurred in prepare().
    Aborting...
==> ERROR: Build failed, check /var/lib/aurbuild/x86_64/lucki/build

m2345 commented on 2023-03-24 04:01 (UTC)

Is it just me or this package does not support ffmpeg? I'm getting the following error:

from torchaudio.utils.ffmpeg_utils import get_input_devices

for k, v in get_input_devices().items():
    print(f"{k}: {v}")

RuntimeError: get_input_devices requires FFmpeg extension which is not available. Please refer to the stacktrace above for how to resolve this.

yan12125 commented on 2023-02-14 07:41 (UTC)

I don't use this package anymore - removing myself from co-maintainers.

yan12125 commented on 2022-07-04 03:21 (UTC)

Nice! Updated.

rien333 commented on 2022-07-03 15:22 (UTC)

export CUDACXX=/opt/cuda/bin/nvcc also works!