Installing pre-built binaries¶
torchaudio has binary distributions for PyPI (pip) and Anaconda (conda).
Please refer to https://pytorch.org/get-started/locally/ for the details.
Note
Each torchaudio package is compiled against specific version of torch.
Please refer to the following table and install the correct pair of torch and torchaudio.
Note
Starting 0.10, torchaudio has CPU-only and CUDA-enabled binary distributions,
each of which requires a corresponding PyTorch distribution.
Dependencies¶
-
Please refer to the compatibility matrix bellow for supported PyTorch versions.
Optional Dependencies¶
-
Required for performing automatic speech recognition with Emformer RNN-T. You can install it by running
pip install sentencepiece. -
Required for performing text-to-speech with Tacotron2 Text-To-Speech.
Compatibility Matrix¶
The official binary distributions of TorchAudio contain extension modules which are written in C++ and linked against specific versions of PyTorch.
TorchAudio and PyTorch from different releases cannot be used together. Please refer to the following table for the matching versions.
|
|
|
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|