Skip to content

Commit 6afa935

Browse files
Don't test CPU on torch 2.9 yet
1 parent e720b32 commit 6afa935

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103
matrix:
104104
os: [ubuntu-22.04, ubuntu-22.04-arm, windows-2025, macos-15]
105105
# Test with the oldest supported torch version, the newest two stable/RC.
106-
torch_version: ["2.3.1", "2.8.0", "2.9.0"]
106+
torch_version: ["2.3.1", "2.7.1", "2.8.0"]
107107
include:
108108
- os: ubuntu-22.04
109109
arch: x86_64
@@ -145,7 +145,7 @@ jobs:
145145

146146
- name: Install dependencies
147147
run: |
148-
pip install torch==${{ matrix.torch_version }} --index-url https://download.pytorch.org/whl/${{ (matrix.torch_version == '2.9.0' && 'test/cpu') || 'cpu' }}
148+
pip install torch==${{ matrix.torch_version }} --index-url https://download.pytorch.org/whl/cpu
149149
pip install -e ".[test]"
150150
pip install pytest-cov
151151

0 commit comments

Comments
 (0)