Skip to content

Commit 0ed3b9f

Browse files
committed
update to torch 1.11, python 3.10
1 parent 4cd94d8 commit 0ed3b9f

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

.github/workflows/python-unittests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
unittest:
1111
strategy:
1212
matrix:
13-
python-version: [3.7, 3.8, 3.9]
13+
python-version: [3.7, 3.8, 3.9, '3.10']
1414
platform: [ubuntu-18.04]
1515
include:
1616
- python-version: 3.9

dev-requirements.txt

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,14 @@ kfp==1.8.9
1212
moto==3.0.2
1313
pyre-extensions==0.0.21
1414
pytest
15-
pytorch-lightning==1.5.6
16-
ray[default]==1.9.2
17-
torch-model-archiver==0.4.2
18-
torch==1.10.0
19-
torchserve==0.4.2
20-
torchtext==0.11.0
21-
torchvision==0.11.1
15+
pytorch-lightning==1.5.10
16+
torch-model-archiver>=0.4.2
17+
torch>=1.10.0
18+
torchserve>=0.4.2
19+
torchtext>=0.11.0
20+
torchvision>=0.11.1
2221
ts==0.5.1
2322
usort==0.6.4
23+
24+
# Ray doesn't support Python 3.10
25+
ray[default]==1.11.0; python_version < '3.10'

torchx/runtime/container/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM pytorch/pytorch:1.10.0-cuda11.3-cudnn8-runtime
1+
FROM pytorch/pytorch:1.11.0-cuda11.3-cudnn8-runtime
22

33
WORKDIR /app
44

0 commit comments

Comments
 (0)