Skip to content

Commit 40f1f98

Browse files
authored
change: add MXNet 1.4.1 support (aws#886)
1 parent 87d455a commit 40f1f98

File tree

5 files changed

+36
-35
lines changed

5 files changed

+36
-35
lines changed

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,9 @@ MXNet SageMaker Estimators
173173

174174
By using MXNet SageMaker Estimators, you can train and host MXNet models on Amazon SageMaker.
175175

176-
Supported versions of MXNet: ``0.12.1``, ``1.0.0``, ``1.1.0``, ``1.2.1``, ``1.3.0``, ``1.4.0``.
176+
Supported versions of MXNet: ``0.12.1``, ``1.0.0``, ``1.1.0``, ``1.2.1``, ``1.3.0``, ``1.4.0``, ``1.4.1``.
177177

178-
Supported versions of MXNet for Elastic Inference: ``1.3.0``, ``1.4.0``.
178+
Supported versions of MXNet for Elastic Inference: ``1.3.0``, ``1.4.0``, ``1.4.1``.
179179

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

doc/using_mxnet.rst

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ Using MXNet with the SageMaker Python SDK
66

77
With the SageMaker Python SDK, you can train and host MXNet models on Amazon SageMaker.
88

9-
Supported versions of MXNet: ``1.4.0``, ``1.3.0``, ``1.2.1``, ``1.1.0``, ``1.0.0``, ``0.12.1``.
9+
Supported versions of MXNet: ``0.12.1``, ``1.0.0``, ``1.1.0``, ``1.2.1``, ``1.3.0``, ``1.4.0``, ``1.4.1``.
1010

11-
Supported versions of MXNet for Elastic Inference: ``1.4.0``, ``1.3.0``.
11+
Supported versions of MXNet for Elastic Inference: ``1.3.0``, ``1.4.0``, ``1.4.1``.
1212

1313
Training with MXNet
1414
-------------------
@@ -806,23 +806,23 @@ Your MXNet training script will be run on version 1.2.1 by default. (See below f
806806

807807
The Docker images have the following dependencies installed:
808808

809-
+-------------------------+--------------+-------------+-------------+-------------+-------------+-------------+
810-
| Dependencies | MXNet 0.12.1 | MXNet 1.0.0 | MXNet 1.1.0 | MXNet 1.2.1 | MXNet 1.3.0 | MXNet 1.4.0 |
811-
+-------------------------+--------------+-------------+-------------+-------------+-------------+-------------+
812-
| Python | 2.7 or 3.5 | 2.7 or 3.5| 2.7 or 3.5| 2.7 or 3.5| 2.7 or 3.5| 2.7 or 3.6|
813-
+-------------------------+--------------+-------------+-------------+-------------+-------------+-------------+
814-
| CUDA (GPU image only) | 9.0 | 9.0 | 9.0 | 9.0 | 9.0 | 9.2 |
815-
+-------------------------+--------------+-------------+-------------+-------------+-------------+-------------+
816-
| numpy | 1.13.3 | 1.13.3 | 1.13.3 | 1.14.5 | 1.14.6 | 1.16.3 |
817-
+-------------------------+--------------+-------------+-------------+-------------+-------------+-------------+
818-
| onnx | N/A | N/A | N/A | 1.2.1 | 1.2.1 | 1.4.1 |
819-
+-------------------------+--------------+-------------+-------------+-------------+-------------+-------------+
820-
| keras-mxnet | N/A | N/A | N/A | N/A | 2.2.2 | 2.2.4.1 |
821-
+-------------------------+--------------+-------------+-------------+-------------+-------------+-------------+
809+
+-------------------------+--------------+-------------+-------------+-------------+-------------+-------------+-------------+
810+
| Dependencies | MXNet 0.12.1 | MXNet 1.0.0 | MXNet 1.1.0 | MXNet 1.2.1 | MXNet 1.3.0 | MXNet 1.4.0 | MXNet 1.4.1 |
811+
+-------------------------+--------------+-------------+-------------+-------------+-------------+-------------+-------------+
812+
| Python | 2.7 or 3.5 | 2.7 or 3.5| 2.7 or 3.5| 2.7 or 3.5| 2.7 or 3.5| 2.7 or 3.6| 2.7 or 3.6|
813+
+-------------------------+--------------+-------------+-------------+-------------+-------------+-------------+-------------+
814+
| CUDA (GPU image only) | 9.0 | 9.0 | 9.0 | 9.0 | 9.0 | 9.2 | 10.0 |
815+
+-------------------------+--------------+-------------+-------------+-------------+-------------+-------------+-------------+
816+
| numpy | 1.13.3 | 1.13.3 | 1.13.3 | 1.14.5 | 1.14.6 | 1.16.3 | 1.14.5 |
817+
+-------------------------+--------------+-------------+-------------+-------------+-------------+-------------+-------------+
818+
| onnx | N/A | N/A | N/A | 1.2.1 | 1.2.1 | 1.4.1 | 1.4.1 |
819+
+-------------------------+--------------+-------------+-------------+-------------+-------------+-------------+-------------+
820+
| keras-mxnet | N/A | N/A | N/A | N/A | 2.2.2 | 2.2.4.1 | 2.2.4.1 |
821+
+-------------------------+--------------+-------------+-------------+-------------+-------------+-------------+-------------+
822822

823823
The Docker images extend Ubuntu 16.04.
824824

825-
You can select version of MXNet by passing a ``framework_version`` keyword arg to the MXNet Estimator constructor. Currently supported versions are listed in the above table. You can also set ``framework_version`` to only specify major and minor version, e.g ``1.2``, which will cause your training script to be run on the latest supported patch version of that minor version, which in this example would be 1.2.1.
825+
You can select version of MXNet by passing a ``framework_version`` keyword arg to the MXNet Estimator constructor. Currently supported versions are listed in the above table. You can also set ``framework_version`` to only specify major and minor version, e.g ``1.4``, which will cause your training script to be run on the latest supported patch version of that minor version, which in this example would be 1.4.1.
826826
Alternatively, you can build your own image by following the instructions in the SageMaker MXNet containers repository, and passing ``image_name`` to the MXNet Estimator constructor.
827827

828828
You can visit the SageMaker MXNet container repositories here:

src/sagemaker/mxnet/README.rst

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ Using MXNet with the SageMaker Python SDK
44

55
With the SageMaker Python SDK, you can train and host MXNet models on Amazon SageMaker.
66

7-
Supported versions of MXNet: ``1.4.0``, ``1.3.0``, ``1.2.1``, ``1.1.0``, ``1.0.0``, ``0.12.1``.
7+
Supported versions of MXNet: ``0.12.1``, ``1.0.0``, ``1.1.0``, ``1.2.1``, ``1.3.0``, ``1.4.0``, ``1.4.1``.
88

9-
Supported versions of MXNet for Elastic Inference: ``1.4.0``, ``1.3.0``.
9+
Supported versions of MXNet for Elastic Inference: ``1.3.0``, ``1.4.0``, ``1.4.1``.
1010

1111
For information about using MXNet with the SageMaker Python SDK, see https://sagemaker.readthedocs.io/en/stable/using_mxnet.html.
1212

@@ -21,23 +21,23 @@ Your MXNet training script will be run on version 1.2.1 by default. (See below f
2121

2222
The Docker images have the following dependencies installed:
2323

24-
+-------------------------+--------------+-------------+-------------+-------------+-------------+-------------+
25-
| Dependencies | MXNet 0.12.1 | MXNet 1.0.0 | MXNet 1.1.0 | MXNet 1.2.1 | MXNet 1.3.0 | MXNet 1.4.0 |
26-
+-------------------------+--------------+-------------+-------------+-------------+-------------+-------------+
27-
| Python | 2.7 or 3.5 | 2.7 or 3.5| 2.7 or 3.5| 2.7 or 3.5| 2.7 or 3.5| 2.7 or 3.6|
28-
+-------------------------+--------------+-------------+-------------+-------------+-------------+-------------+
29-
| CUDA (GPU image only) | 9.0 | 9.0 | 9.0 | 9.0 | 9.0 | 9.2 |
30-
+-------------------------+--------------+-------------+-------------+-------------+-------------+-------------+
31-
| numpy | 1.13.3 | 1.13.3 | 1.13.3 | 1.14.5 | 1.14.6 | 1.16.3 |
32-
+-------------------------+--------------+-------------+-------------+-------------+-------------+-------------+
33-
| onnx | N/A | N/A | N/A | 1.2.1 | 1.2.1 | 1.4.1 |
34-
+-------------------------+--------------+-------------+-------------+-------------+-------------+-------------+
35-
| keras-mxnet | N/A | N/A | N/A | N/A | 2.2.2 | 2.2.4.1 |
36-
+-------------------------+--------------+-------------+-------------+-------------+-------------+-------------+
24+
+-------------------------+--------------+-------------+-------------+-------------+-------------+-------------+-------------+
25+
| Dependencies | MXNet 0.12.1 | MXNet 1.0.0 | MXNet 1.1.0 | MXNet 1.2.1 | MXNet 1.3.0 | MXNet 1.4.0 | MXNet 1.4.1 |
26+
+-------------------------+--------------+-------------+-------------+-------------+-------------+-------------+-------------+
27+
| Python | 2.7 or 3.5 | 2.7 or 3.5| 2.7 or 3.5| 2.7 or 3.5| 2.7 or 3.5| 2.7 or 3.6| 2.7 or 3.6|
28+
+-------------------------+--------------+-------------+-------------+-------------+-------------+-------------+-------------+
29+
| CUDA (GPU image only) | 9.0 | 9.0 | 9.0 | 9.0 | 9.0 | 9.2 | 10.0 |
30+
+-------------------------+--------------+-------------+-------------+-------------+-------------+-------------+-------------+
31+
| numpy | 1.13.3 | 1.13.3 | 1.13.3 | 1.14.5 | 1.14.6 | 1.16.3 | 1.14.5 |
32+
+-------------------------+--------------+-------------+-------------+-------------+-------------+-------------+-------------+
33+
| onnx | N/A | N/A | N/A | 1.2.1 | 1.2.1 | 1.4.1 | 1.4.1 |
34+
+-------------------------+--------------+-------------+-------------+-------------+-------------+-------------+-------------+
35+
| keras-mxnet | N/A | N/A | N/A | N/A | 2.2.2 | 2.2.4.1 | 2.2.4.1 |
36+
+-------------------------+--------------+-------------+-------------+-------------+-------------+-------------+-------------+
3737

3838
The Docker images extend Ubuntu 16.04.
3939

40-
You can select version of MXNet by passing a ``framework_version`` keyword arg to the MXNet Estimator constructor. Currently supported versions are listed in the above table. You can also set ``framework_version`` to only specify major and minor version, e.g ``1.2``, which will cause your training script to be run on the latest supported patch version of that minor version, which in this example would be 1.2.1.
40+
You can select version of MXNet by passing a ``framework_version`` keyword arg to the MXNet Estimator constructor. Currently supported versions are listed in the above table. You can also set ``framework_version`` to only specify major and minor version, e.g ``1.4``, which will cause your training script to be run on the latest supported patch version of that minor version, which in this example would be 1.4.1.
4141
Alternatively, you can build your own image by following the instructions in the SageMaker MXNet containers repository, and passing ``image_name`` to the MXNet Estimator constructor.
4242

4343
You can visit the SageMaker MXNet container repositories here:

src/sagemaker/mxnet/estimator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class MXNet(Framework):
3434
__framework_name__ = "mxnet"
3535
_LOWEST_SCRIPT_MODE_VERSION = ["1", "3"]
3636

37-
LATEST_VERSION = "1.4"
37+
LATEST_VERSION = "1.4.1"
3838
"""The latest version of MXNet included in the SageMaker pre-built Docker images."""
3939

4040
def __init__(

tests/conftest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ def chainer_version(request):
135135
"1.3.0",
136136
"1.4",
137137
"1.4.0",
138+
"1.4.1",
138139
],
139140
)
140141
def mxnet_version(request):

0 commit comments

Comments
 (0)