diff --git a/.github/workflows/python-test.yml b/.github/workflows/python-test.yml index 0da3b3b..fe54d29 100644 --- a/.github/workflows/python-test.yml +++ b/.github/workflows/python-test.yml @@ -28,6 +28,7 @@ jobs: python -m pip install --upgrade pip python -m pip install pytest python -m pip install wheel + python -m pip install torch==2.4.0 torchvision==0.19.0 --index-url https://download.pytorch.org/whl/cpu if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - name: Test with pytest run: | diff --git a/setup.py b/setup.py index 794ed22..aa47dfe 100644 --- a/setup.py +++ b/setup.py @@ -29,8 +29,8 @@ ], tests_require=[ 'pytest', - 'torch==1.12.1', - 'torchvision==0.13.1' + 'torch==2.4.0', + 'torchvision==0.19.0' ], classifiers=[ 'Development Status :: 4 - Beta',