Skip to content

Commit 58cd376

Browse files
committed
fix: 修复 GitHub Actions 依赖冲突问题
- 先安装 PyTorch 和 fairseq - 使用 --no-deps 避免依赖冲突 - 手动安装其他必需依赖
1 parent 50fe1c8 commit 58cd376

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/build-executables.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@ jobs:
2323
run: |
2424
python -m pip install --upgrade pip
2525
pip install pyinstaller
26-
pip install -r requirements.txt
26+
pip install torch torchaudio --index-url https://download.pytorch.org/whl/cu121
27+
pip install fairseq==0.12.2
28+
pip install -r requirements.txt --no-deps
29+
pip install gradio==3.50.2 librosa soundfile scipy numpy praat-parselmouth pyworld torchcrepe faiss-cpu tqdm requests python-dotenv colorama mcp demucs audio-separator huggingface_hub pedalboard ffmpeg-python
2730
2831
- name: Download base models
2932
run: |
@@ -106,7 +109,10 @@ jobs:
106109
run: |
107110
python -m pip install --upgrade pip
108111
pip install pyinstaller
109-
pip install -r requirements.txt
112+
pip install torch torchaudio --index-url https://download.pytorch.org/whl/cu121
113+
pip install fairseq==0.12.2
114+
pip install -r requirements.txt --no-deps
115+
pip install gradio==3.50.2 librosa soundfile scipy numpy praat-parselmouth pyworld torchcrepe faiss-cpu tqdm requests python-dotenv colorama mcp demucs audio-separator huggingface_hub pedalboard ffmpeg-python
110116
111117
- name: Download base models
112118
run: |

0 commit comments

Comments
 (0)