From ca15b32b769e111be808fd58a8c62e286d88e43d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20=C5=BBelasko?= Date: Thu, 9 Dec 2021 13:56:45 -0500 Subject: [PATCH] Install torchaudio with pytorch --- tools/install_from_scratch_in_conda_env.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tools/install_from_scratch_in_conda_env.sh b/tools/install_from_scratch_in_conda_env.sh index 5b6248463..da0931ec8 100644 --- a/tools/install_from_scratch_in_conda_env.sh +++ b/tools/install_from_scratch_in_conda_env.sh @@ -8,7 +8,13 @@ PYTORCH_VER=1.8.1 CUDA_VER=11.1 echo Installing k2 and PyTorch -conda install -c k2-fsa -c pytorch -c conda-forge k2 python=$PYTHON_VER cudatoolkit=$CUDA_VER pytorch=$PYTORCH_VER +conda install \ + -c k2-fsa -c pytorch -c conda-forge \ + k2 \ + python=$PYTHON_VER \ + cudatoolkit=$CUDA_VER \ + pytorch=$PYTORCH_VER \ + torchaudio echo Installing Lhotse pip install git+https://github.com/lhotse-speech/lhotse