Skip to content

Commit 2db97f7

Browse files
committed
ci: Use CPU-only Torch to prevent disk space exhaustion
1 parent cf48115 commit 2db97f7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ jobs:
2424
- name: Install dependencies
2525
run: |
2626
python -m pip install --upgrade pip
27+
# Install CPU-only Torch first to save space on GitHub Runner
28+
pip install torch --index-url https://download.pytorch.org/whl/cpu
2729
pip install pytest pytest-cov pytest-asyncio
2830
pip install -r requirements.txt
2931
pip install -e .

0 commit comments

Comments
 (0)