pytorch / pytorch/audio

Build failure for v0.10.2 in nvidia/cuda:11.3.1-cudnn8-devel-ubuntu20.04

Open
#2,287 17 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
2.9k
Forks
799
Avg merge
58m
Merged PRs (30d)
3

Description

Repro Instructions:

git clone --recursive https://github.com/pytorch/audio.git
cd audio
git checkout v0.10.2
export USE_CUDA=1
export BUILD_SOX=1
CC=gcc-9 CXX=g++-9 python3.8 setup.py bdist_wheel
python3.8 -m pip install dist/*.whl
python3.8 -c 'import torchaudio'

Issue

The following warnings are displayed on import

/audio/torchaudio/_extension.py:11: UserWarning: torchaudio C++ extension is not availabl$
.
  warnings.warn('torchaudio C++ extension is not available.')
/audio/torchaudio/backend/utils.py:67: UserWarning: No audio backend is available.
  warnings.warn('No audio backend is available.')

Logs

Build log

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the provided setup.py bdist_wheel reproduction in the nvidia/cuda:11.3.1-cudnn8-devel-ubuntu20.04 environment and inspect the linked build log. Then trace the import warnings through torchaudio/_extension.py and torchaudio/backend/utils.py; done means the built wheel imports without the C++ extension and audio-backend warnings.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, python, pytorch
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.