how to use torchaudio with torch xla on google colab tpu
问题 I'm trying to run a pytorch script which is using torchaudio on a google TPU. To do this I'm using pytorch xla following this notebook, more specifically I'm using this code cell to load the xla: !pip install torchaudio import os assert os.environ['COLAB_TPU_ADDR'], 'Make sure to select TPU from Edit > Notebook settings > Hardware accelerator' VERSION = "20200220" #@param ["20200220","nightly", "xrt==1.15.0"] !curl https://raw.githubusercontent.com/pytorch/xla/master/contrib/scripts/env-setup