Skip to content

Commit c3b842f

Browse files
authored
Add torchcodec as temporary dependency (#14147)
pytorch/audio#4039 (comment)
1 parent e2e33c4 commit c3b842f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

examples/models/moshi/mimi/install_requirements.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
set -x
99

10+
conda install "ffmpeg<8"
1011
pip install moshi==0.2.4
1112
pip install bitsandbytes soundfile
1213
# Run llama2/install requirements for torchao deps

install_requirements.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,9 @@ def install_optional_example_requirements(use_pytorch_nightly):
155155
else "torchvision"
156156
),
157157
f"torchaudio==2.8.0.{NIGHTLY_VERSION}" if use_pytorch_nightly else "torchaudio",
158+
# We probably don't need explicit torchcodec, see comment here
159+
# https://github.com/pytorch/audio/pull/4039#issuecomment-3274648824
160+
f"torchcodec==0.7.0.{NIGHTLY_VERSION}" if use_pytorch_nightly else "torchcodec",
158161
]
159162
# Then install domain libraries
160163
subprocess.run(

0 commit comments

Comments
 (0)