chore: restrict torch version to below 2.4 in dependencies

torch depends on libcudnn9 from version 2.4.0 onward.
If we restrict torch<2.4.0, there is no need to manually install libcudnn8 and also save about 1GB disk space.

- Update torch dependency to be below version 2.4.0 instead of at least 2.5.1
- Change torchaudio dependency to have no minimum version specified

Signed-off-by: CHEN, CHUN <jim60105@gmail.com>
This commit is contained in:
CHEN, CHUN
2025-05-04 20:49:22 +08:00
parent d700b56c9c
commit 4f99f1f67c
2 changed files with 1800 additions and 1700 deletions

View File

@ -16,8 +16,8 @@ dependencies = [
"onnxruntime>=1.19",
"pandas>=2.2.3",
"pyannote-audio>=3.3.2",
"torch>=2.5.1",
"torchaudio>=2.5.1",
"torch<2.4.0",
"torchaudio",
"transformers>=4.48.0",
]

3496
uv.lock generated

File diff suppressed because it is too large Load Diff