修复 torch 安装:使用 extra-index-url 替代直接 URL

This commit is contained in:
2569718930@qq.com
2026-06-16 02:04:52 +08:00
parent 6d7f213cd9
commit eb5579dbbd
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.lock -r requirements-dev.lock
pip install --extra-index-url https://download.pytorch.org/whl/cpu -r requirements.lock -r requirements-dev.lock
- name: Ruff
run: python -m ruff check .