Skip to content

Commit bed48b5

Browse files
authored
fix tests
fix tests
1 parent 73199ab commit bed48b5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/python-test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
python -m pip install --upgrade pip
2929
python -m pip install pytest
3030
python -m pip install wheel
31+
python -m pip install torch==2.4.0 torchvision==0.19.0 --index-url https://download.pytorch.org/whl/cpu
3132
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
3233
- name: Test with pytest
3334
run: |

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
],
3030
tests_require=[
3131
'pytest',
32-
'torch==1.12.1',
33-
'torchvision==0.13.1'
32+
'torch==2.4.0',
33+
'torchvision==0.19.0'
3434
],
3535
classifiers=[
3636
'Development Status :: 4 - Beta',

0 commit comments

Comments
 (0)