Skip to content

Commit 08200ff

Browse files
committed
Fix: keep openai-whisper in requirements (cosyvoice frontend imports it)
1 parent 60140df commit 08200ff

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docker/gpu/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ RUN pip install --no-cache-dir torch torchaudio --index-url https://download.pyt
2626

2727
# Install CosyVoice dependencies
2828
# Filter out packages not needed for basic TTS inference:
29-
# - openai-whisper: ASR evaluation only, breaks pip build isolation
3029
# - tensorrt*: TRT acceleration (optional, adds 3GB+)
3130
# - deepspeed: training only
31+
# Note: openai-whisper is kept because cosyvoice.cli.frontend imports it
3232
RUN pip install --no-cache-dir setuptools wheel cython numpy && \
3333
cd cosyvoice_repo && \
34-
grep -iv "openai-whisper\|tensorrt\|deepspeed" requirements.txt > requirements_filtered.txt && \
34+
grep -iv "tensorrt\|deepspeed" requirements.txt > requirements_filtered.txt && \
3535
pip install --no-cache-dir -r requirements_filtered.txt && \
3636
pip install --no-cache-dir modelscope onnxruntime-gpu
3737

0 commit comments

Comments
 (0)