Skip to content

Commit bcb2fc5

Browse files
authored
Merge pull request #375 from kywch/github-test
Use cpu-only pytorch for github tests
2 parents 6b2cbb9 + 5ec3f4c commit bcb2fc5

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/install.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,11 @@ jobs:
4343
- name: Upgrade pip
4444
run: python -m pip install -U pip
4545

46+
- name: Install build dependencies
47+
run: pip install --upgrade "setuptools>=69.0.0" "packaging>=24.2" "numpy<2.0" wheel
48+
49+
- name: Install PyTorch CPU
50+
run: pip install torch --index-url https://download.pytorch.org/whl/cpu
51+
4652
- name: Install pufferlib
47-
run: pip install -e .
53+
run: pip install -e . --no-build-isolation

0 commit comments

Comments
 (0)