Skip to content

Commit

Permalink
update requirements and pytorch version
Browse files Browse the repository at this point in the history
  • Loading branch information
Franck Mamalet committed Oct 14, 2024
1 parent 9696ab4 commit 2cfa164
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
matrix:
include:
- python-version: 3.9
pt-version: 1.10.2
pt-version: 1.13.1
- python-version: "3.10"
pt-version: 2.1.2
- python-version: "3.11"
Expand Down
7 changes: 2 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
torch_testing==0.0.2
inflection==0.5.1
numpy
torch==1.10.2+cu113
torchvision==0.11.3+cu113
numpy<2.0
torch>=1.13.1
4 changes: 1 addition & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,13 @@ extend-ignore =

[tox:tox]
envlist =
py{39,310,311}-pt{1.10.2,1.13.1,2.1.2,2.3.1,2.4.1}
py{39,310,311}-pt{1.13.1,2.1.2,2.3.1,2.4.1}
py{39,310,311}-lint

[testenv]
pip_version = pip>=20
deps =
pytest
pt1.10.2: torch==1.10.2+cu113
pt1.10.2: numpy<2.0
pt1.13.1: torch==1.13.1+cu117
pt1.13.1: numpy<2.0
pt2.1.2: torch==2.1.2+cu121
Expand Down

0 comments on commit 2cfa164

Please sign in to comment.