We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8a2aa4 commit 4767edcCopy full SHA for 4767edc
.github/workflows/tests.yml
@@ -148,6 +148,12 @@ jobs:
148
pip install -e ".[test]"
149
pip install pytest-cov
150
151
+ # We need to downgrade to numpy<2 for torch<2.4.1 compatibility on Windows
152
+ # See: https://github.com/pytorch/pytorch/issues/131668
153
+ - name: Downgrade NumPy
154
+ if: startsWith(matrix.os, 'windows') && startsWith(matrix.torch_version, '2.3.')
155
+ run: pip install "numpy<2"
156
+
157
- name: Show installed packages
158
run: pip list
159
0 commit comments