• Docs >
  • Building from source >
  • Old version (stable)
Shortcuts

Building from source

TorchAudio integrates PyTorch for numerical computation. It requires the following tools to build from source.

Customizing the build

Optional features of torchaudio can be enabled/disabled via environment variables.

They can be enabled by passing 1 and disabled by 0.

  • BUILD_RNNT: Enable/disable custom RNN-T loss function.

  • USE_ROCM: Enable/disable AMD ROCm support.

  • USE_CUDA: Enable/disable CUDA support.

For the latest configurations and their default values, please check the source code. https://github.com/pytorch/audio/blob/main/tools/setup_helpers/extension.py

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources