From afc51043dcb57a5a23bf44cf42172671f1865425 Mon Sep 17 00:00:00 2001 From: gluttony-10 <326581344@qq.com> Date: Sun, 14 Dec 2025 21:11:02 +0800 Subject: [PATCH] Fix Dependencies 1.Downgraded the PyTorch version to avoid using torchcodec, as its CUDA version is not available for Windows. 2.Added the soundfile dependency to compensate for the version downgrade. --- requirements.txt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/requirements.txt b/requirements.txt index 0294303..3e019af 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,7 @@ -torch>=2.9.1 -torchaudio>=2.9.1 -torchcodec>=0.9.0 transformers==4.51.3 +torch>=2.9.1; sys_platform != 'win32' +torchaudio>=2.9.1; sys_platform != 'win32' +torchcodec>=0.9.0; sys_platform != 'win32' +torch==2.8.0; sys_platform == 'win32' +torchaudio>=2.8.0; sys_platform == 'win32' +soundfile; sys_platform == 'win32'