Skip to content

Commit f529efc

Browse files
guangy10facebook-github-bot
authored andcommitted
Install torchaudio as dep for examples
Summary: This package is required in order to run emformer rnnt models, which is not a required package nor installed package for executorch yet. This diff is to add the required package. And we are picking up the latest `torchaudio` library, which is `2.1.0.dev20230810` Minor notes/comments change. Reviewed By: kimishpatel Differential Revision: D48284923 fbshipit-source-id: aa6ef28c700cb20f7bfdbda529a609f92d1b6984
1 parent 974c98f commit f529efc

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

examples/install_requirements.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,13 @@
1212

1313
# Note:
1414
# When getting a new version of the executorch repo (via clone, fetch, or pull),
15-
# you may need to re-install a new version the TorchVision nightly pip package. The
16-
# `TORCH_VISION_VERSION` value in this document will be the correct version for the
15+
# you may need to re-install a new version for all dependencies in order to the
16+
# models in executorch/examples/models.
17+
# The version in this file will be the correct version for the
1718
# corresponsing version of the repo.
1819

1920
TORCH_VISION_VERSION=0.16.0.dev20230810
2021
pip install --force-reinstall --pre torchvision=="${TORCH_VISION_VERSION}" -i https://download.pytorch.org/whl/nightly/cpu
22+
23+
TORCH_AUDIO_VERSION=2.1.0.dev20230810
24+
pip install --force-reinstall --pre torchaudio=="${TORCH_AUDIO_VERSION}" -i https://download.pytorch.org/whl/nightly/cpu

0 commit comments

Comments
 (0)