Skip to content

Commit 94d2eb9

Browse files
committed
test github actions
1 parent 6b2cbb9 commit 94d2eb9

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/install.yml

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

46+
- name: Install PyTorch CPU
47+
if: matrix.env == 'conda'
48+
run: conda install pytorch cpuonly -c pytorch
49+
50+
- name: Install PyTorch CPU
51+
if: matrix.env == 'pip'
52+
run: pip install torch --index-url https://download.pytorch.org/whl/cpu
53+
4654
- name: Install pufferlib
47-
run: pip install -e .
55+
run: pip install -e . --no-build-isolation

0 commit comments

Comments
 (0)