qwen-voice-studio / requirements.txt
techfreakworm's picture
Pin Space torch to 2.11.0 (ZeroGPU-supported)
f8fdcee unverified
Raw
History Blame Contribute Delete
837 Bytes
# qwen-voice-studio — Space runtime dependencies. See docs/DESIGN.md §10.
#
# HARD PINS (learned the hard way):
# transformers==4.57.3 -> 5.x breaks qwen_tts at @check_model_inputs()
# huggingface_hub<1.0 -> hub 1.x transitively drags transformers up to 5.x
#
# torch: local dev validated on 2.13 (MPS). HF ZeroGPU supported set is
# {2.8.0, 2.9.1, 2.10.0, 2.11.0} on Python 3.12.12, so the Space pins the newest
# supported (2.11.0). The 2.11/CUDA path is verified directly on the Space via the
# Playwright+audio-assert suite (stronger than a local re-smoke on the real target).
torch==2.11.0
torchaudio
qwen-tts==0.1.1
transformers==4.57.3
huggingface_hub<1.0
accelerate==1.12.0
peft==0.19.1
gradio==6.17.3
soundfile
librosa
numpy
psutil
# ZeroGPU only (imported optionally; a no-op shim is used when absent locally)
spaces