Skip to content

Commit fe3dcd5

Browse files
author
Chuyang Deng
committed
update pytorch default version to 1.1.0
1 parent b5e882b commit fe3dcd5

File tree

3 files changed

+38
-38
lines changed

3 files changed

+38
-38
lines changed

src/sagemaker/pytorch/README.rst

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ SageMaker PyTorch Estimators and Models
44

55
With PyTorch Estimators and Models, you can train and host PyTorch models on Amazon SageMaker.
66

7-
Supported versions of PyTorch: ``0.4.0``, ``1.0.0``.
7+
Supported versions of PyTorch: ``0.4.0``, ``1.0.0``, ``1.1.0``.
88

99
We recommend that you use the latest supported version, because that's where we focus most of our development efforts.
1010

@@ -37,41 +37,41 @@ This Python version applies to both the Training Job, created by fit, and the En
3737

3838
The PyTorch Docker images have the following dependencies installed:
3939

40-
+-----------------------------+---------------+-------------------+
41-
| Dependencies | pytorch 0.4.0 | pytorch 1.0.0 |
42-
+-----------------------------+---------------+-------------------+
43-
| boto3 | >=1.7.35 | >=1.9.11 |
44-
+-----------------------------+---------------+-------------------+
45-
| botocore | >=1.10.35 | >=1.12.11 |
46-
+-----------------------------+---------------+-------------------+
47-
| CUDA (GPU image only) | 9.0 | 9.0 |
48-
+-----------------------------+---------------+-------------------+
49-
| numpy | >=1.14.3 | >=1.15.2 |
50-
+-----------------------------+---------------+-------------------+
51-
| Pillow | >=5.1.0 | >=5.2.0 |
52-
+-----------------------------+---------------+-------------------+
53-
| pip | >=10.0.1 | >=18.0 |
54-
+-----------------------------+---------------+-------------------+
55-
| python-dateutil | >=2.7.3 | >=2.7.3 |
56-
+-----------------------------+---------------+-------------------+
57-
| retrying | >=1.3.3 | >=1.3.3 |
58-
+-----------------------------+---------------+-------------------+
59-
| s3transfer | >=0.1.13 | >=0.1.13 |
60-
+-----------------------------+---------------+-------------------+
61-
| sagemaker-containers | >=2.1.0 | >=2.1.0 |
62-
+-----------------------------+---------------+-------------------+
63-
| sagemaker-pytorch-container | 1.0 | 1.0 |
64-
+-----------------------------+---------------+-------------------+
65-
| setuptools | >=39.2.0 | >=40.4.3 |
66-
+-----------------------------+---------------+-------------------+
67-
| six | >=1.11.0 | >=1.11.0 |
68-
+-----------------------------+---------------+-------------------+
69-
| torch | 0.4.0 | 1.0.0 |
70-
+-----------------------------+---------------+-------------------+
71-
| torchvision | 0.2.1 | 0.2.1 |
72-
+-----------------------------+---------------+-------------------+
73-
| Python | 2.7 or 3.5 | 2.7 or 3.6 |
74-
+-----------------------------+---------------+-------------------+
40+
+-----------------------------+---------------+-------------------+-------------------+
41+
| Dependencies | pytorch 0.4.0 | pytorch 1.0.0 | pytorch 1.1.0 |
42+
+-----------------------------+---------------+-------------------+-------------------+
43+
| boto3 | >=1.7.35 | >=1.9.11 | >=1.9.11 |
44+
+-----------------------------+---------------+-------------------+-------------------+
45+
| botocore | >=1.10.35 | >=1.12.11 | >=1.12.11 |
46+
+-----------------------------+---------------+-------------------+-------------------+
47+
| CUDA (GPU image only) | 9.0 | 9.0 | 9.0 |
48+
+-----------------------------+---------------+-------------------+-------------------+
49+
| numpy | >=1.14.3 | >=1.15.2 | >=1.15.2 |
50+
+-----------------------------+---------------+-------------------+-------------------+
51+
| Pillow | >=5.1.0 | >=5.2.0 | >=5.2.0 |
52+
+-----------------------------+---------------+-------------------+-------------------+
53+
| pip | >=10.0.1 | >=18.0 | >=18.0 |
54+
+-----------------------------+---------------+-------------------+-------------------+
55+
| python-dateutil | >=2.7.3 | >=2.7.3 | >=2.7.3 |
56+
+-----------------------------+---------------+-------------------+-------------------+
57+
| retrying | >=1.3.3 | >=1.3.3 | >=1.3.3 |
58+
+-----------------------------+---------------+-------------------+-------------------+
59+
| s3transfer | >=0.1.13 | >=0.1.13 | >=0.1.13 |
60+
+-----------------------------+---------------+-------------------+-------------------+
61+
| sagemaker-containers | >=2.1.0 | >=2.1.0 | >=2.1.0 |
62+
+-----------------------------+---------------+-------------------+-------------------+
63+
| sagemaker-pytorch-container | 1.0 | 1.0 | 1.0 |
64+
+-----------------------------+---------------+-------------------+-------------------+
65+
| setuptools | >=39.2.0 | >=40.4.3 | >=40.4.3 |
66+
+-----------------------------+---------------+-------------------+-------------------+
67+
| six | >=1.11.0 | >=1.11.0 | >=1.11.0 |
68+
+-----------------------------+---------------+-------------------+-------------------+
69+
| torch | 0.4.0 | 1.0.0 | 1.0.0 |
70+
+-----------------------------+---------------+-------------------+-------------------+
71+
| torchvision | 0.2.1 | 1.1.0 | 0.3.0 |
72+
+-----------------------------+---------------+-------------------+-------------------+
73+
| Python | 2.7 or 3.5 | 2.7 or 3.6 | 2.7 or 3.6 |
74+
+-----------------------------+---------------+-------------------+-------------------+
7575

7676
The Docker images extend Ubuntu 16.04.
7777

src/sagemaker/pytorch/defaults.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# language governing permissions and limitations under the License.
1313
from __future__ import absolute_import
1414

15-
PYTORCH_VERSION = '0.4'
15+
PYTORCH_VERSION = '1.1.0'
1616
"""Default PyTorch version for when the framework version is not specified.
1717
This is no longer updated so as to not break existing workflows.
1818
"""

src/sagemaker/pytorch/estimator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class PyTorch(Framework):
2929

3030
__framework_name__ = "pytorch"
3131

32-
LATEST_VERSION = '1.0'
32+
LATEST_VERSION = '1.1.0'
3333
"""The latest version of PyTorch included in the SageMaker pre-built Docker images."""
3434

3535
def __init__(self, entry_point, source_dir=None, hyperparameters=None, py_version=PYTHON_VERSION,

0 commit comments

Comments
 (0)