topabaem's picture
Pin torchaudio to torch so its extension loads
7c154b2 verified
Raw
History Blame Contribute Delete
516 Bytes
# The three must move together: an unpinned torchaudio resolves to a wheel
# built against a different torch, and its C extension then fails to load -
# which surfaces as an OSError from deep inside a transformers import,
# because `transformers.loss.loss_rnnt` imports torchaudio unconditionally.
torch==2.10.0
torchvision==0.25.0
torchaudio==2.10.0
gradio==5.49.1
spaces
safetensors
transformers==5.14.1
accelerate
huggingface_hub
hf_transfer
numpy
pillow
av
gguf
torchsde
einops
spandrel
kornia
scipy
tqdm
psutil