Skip to content

Commit 1deb96a

Browse files
authored
Instruction on how to use preview version of PyTorch - 1.0.0.dev. (#407)
1 parent 1d4a566 commit 1deb96a

File tree

2 files changed

+43
-37
lines changed

2 files changed

+43
-37
lines changed

README.rst

+4-1
Original file line numberDiff line numberDiff line change
@@ -286,10 +286,13 @@ PyTorch SageMaker Estimators
286286

287287
With PyTorch SageMaker ``Estimators``, you can train and host PyTorch models on Amazon SageMaker.
288288

289-
Supported versions of PyTorch: ``0.4.0``.
289+
Supported versions of PyTorch: ``0.4.0``, ``1.0.0.dev`` ("Preview").
290290

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

293+
You can try the "Preview" version of PyTorch by specifying ``'1.0.0.dev'`` for ``framework_version`` when creating your PyTorch estimator.
294+
This will ensure you're using the latest version of ``torch-nightly``.
295+
293296
For more information about PyTorch, see https://github.com/pytorch/pytorch.
294297

295298
For more information about PyTorch SageMaker ``Estimators``, see `PyTorch SageMaker Estimators and Models`_.

src/sagemaker/pytorch/README.rst

+39-36
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ 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``.
7+
Supported versions of PyTorch: ``0.4.0``, ``1.0.0.dev`` ("Preview").
8+
9+
You can try the "Preview" version of PyTorch by specifying ``1.0.0.dev`` for ``framework_version`` when creating your PyTorch estimator.
10+
This will ensure you're using the latest version of ``torch-nightly``.
811

912
You can visit the PyTorch repository at https://github.com/pytorch/pytorch.
1013

@@ -660,41 +663,41 @@ This Python version applies to both the Training Job, created by fit, and the En
660663

661664
The PyTorch Docker images have the following dependencies installed:
662665

663-
+-----------------------------+---------------+
664-
| Dependencies | pytorch 0.4.0 |
665-
+-----------------------------+---------------+
666-
| boto3 | 1.7.35 |
667-
+-----------------------------+---------------+
668-
| botocore | 1.10.35 |
669-
+-----------------------------+---------------+
670-
| CUDA (GPU image only) | 9.0 |
671-
+-----------------------------+---------------+
672-
| numpy | 1.14.3 |
673-
+-----------------------------+---------------+
674-
| Pillow | 5.1.0 |
675-
+-----------------------------+---------------+
676-
| pip | 10.0.1 |
677-
+-----------------------------+---------------+
678-
| python-dateutil | 2.7.3 |
679-
+-----------------------------+---------------+
680-
| retrying | 1.3.3 |
681-
+-----------------------------+---------------+
682-
| s3transfer | 0.1.13 |
683-
+-----------------------------+---------------+
684-
| sagemaker-containers | 2.0.4 |
685-
+-----------------------------+---------------+
686-
| sagemaker-pytorch-container | 1.0 |
687-
+-----------------------------+---------------+
688-
| setuptools | 39.2.0 |
689-
+-----------------------------+---------------+
690-
| six | 1.11.0 |
691-
+-----------------------------+---------------+
692-
| torch | 0.4.0 |
693-
+-----------------------------+---------------+
694-
| torchvision | 0.2.1 |
695-
+-----------------------------+---------------+
696-
| Python | 2.7 or 3.5 |
697-
+-----------------------------+---------------+
666+
+-----------------------------+---------------+-------------------+
667+
| Dependencies | pytorch 0.4.0 | pytorch 1.0.0.dev |
668+
+-----------------------------+---------------+-------------------+
669+
| boto3 | >=1.7.35 | >=1.9.11 |
670+
+-----------------------------+---------------+-------------------+
671+
| botocore | >=1.10.35 | >=1.12.11 |
672+
+-----------------------------+---------------+-------------------+
673+
| CUDA (GPU image only) | 9.0 | 9.2 |
674+
+-----------------------------+---------------+-------------------+
675+
| numpy | >=1.14.3 | >=1.15.2 |
676+
+-----------------------------+---------------+-------------------+
677+
| Pillow | >=5.1.0 | >=5.2.0 |
678+
+-----------------------------+---------------+-------------------+
679+
| pip | >=10.0.1 | >=18.0 |
680+
+-----------------------------+---------------+-------------------+
681+
| python-dateutil | >=2.7.3 | >=2.7.3 |
682+
+-----------------------------+---------------+-------------------+
683+
| retrying | >=1.3.3 | >=1.3.3 |
684+
+-----------------------------+---------------+-------------------+
685+
| s3transfer | >=0.1.13 | >=0.1.13 |
686+
+-----------------------------+---------------+-------------------+
687+
| sagemaker-containers | >=2.1.0 | >=2.1.0 |
688+
+-----------------------------+---------------+-------------------+
689+
| sagemaker-pytorch-container | 1.0 | 1.0 |
690+
+-----------------------------+---------------+-------------------+
691+
| setuptools | >=39.2.0 | >=40.4.3 |
692+
+-----------------------------+---------------+-------------------+
693+
| six | >=1.11.0 | >=1.11.0 |
694+
+-----------------------------+---------------+-------------------+
695+
| torch (torch-nightly) | 0.4.0 | 1.0.0.dev |
696+
+-----------------------------+---------------+-------------------+
697+
| torchvision | 0.2.1 | 0.2.1 |
698+
+-----------------------------+---------------+-------------------+
699+
| Python | 2.7 or 3.5 | 2.7 or 3.5 |
700+
+-----------------------------+---------------+-------------------+
698701

699702
The Docker images extend Ubuntu 16.04.
700703

0 commit comments

Comments
 (0)