You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.rst
+48-3Lines changed: 48 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -88,7 +88,7 @@ Don't forget the period at the end of the command!
88
88
Amazon Elastic Inference with MXNet in SageMaker
89
89
------------------------------------------------
90
90
`Amazon Elastic Inference <https://aws.amazon.com/machine-learning/elastic-inference/>`__ allows you to to attach
91
-
low-cost GPU-powered acceleration to Amazon EC2 and Amazon SageMaker instances to reduce the cost running deep
91
+
low-cost GPU-powered acceleration to Amazon EC2 and Amazon SageMaker instances to reduce the cost of running deep
92
92
learning inference by up to 75%. Currently, Amazon Elastic Inference supports TensorFlow, Apache MXNet, and ONNX
93
93
models, with more frameworks coming soon.
94
94
@@ -158,7 +158,7 @@ You Docker image must also be built in order to run the tests against it.
158
158
159
159
Local integration tests use the following pytest arguments:
160
160
161
-
- ``docker-base-name``: the Docker image's repository. Defaults to 'preprod-mxnet'.
161
+
- ``docker-base-name``: the Docker image's repository. Defaults to 'preprod-mxnet-serving'.
162
162
- ``framework-version``: the MXNet version. Defaults to the latest supported version.
163
163
- ``py-version``: the Python version. Defaults to '3'.
164
164
- ``processor``: CPU or GPU. Defaults to 'cpu'.
@@ -183,6 +183,51 @@ To run local integration tests:
183
183
--framework-version 1.4.0 \
184
184
--processor cpu
185
185
186
+
SageMaker Integration Tests
187
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
188
+
189
+
SageMaker integration tests require your Docker image to be within an `Amazon ECR repository <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_Console_Repositories.html>`__.
190
+
191
+
SageMaker integration tests use the following pytest arguments:
192
+
193
+
- ``docker-base-name``: the Docker image's `ECR repository namespace <https://docs.aws.amazon.com/AmazonECR/latest/userguide/Repositories.html>`__.
194
+
- ``framework-version``: the MXNet version. Defaults to the latest supported version.
195
+
- ``py-version``: the Python version. Defaults to '3'.
196
+
- ``processor``: CPU or GPU. Defaults to 'cpu'.
197
+
- ``tag``: the Docker image's tag. Defaults to <mxnet_version>-<processor>-py<py-version>
198
+
- ``aws-id``: your AWS account ID.
199
+
- ``instance-type``: the specified `Amazon SageMaker Instance Type <https://aws.amazon.com/sagemaker/pricing/instance-types/>`__ that the tests will run on.
200
+
Defaults to 'ml.c4.xlarge' for CPU and 'ml.p2.xlarge' for GPU.
If you want to run a SageMaker end to end test for your Elastic Inference container, you will need to provide an ``accelerator_type`` as an additional pytest argument.
220
+
221
+
The ``accelerator-type`` is your specified `Amazon Elastic Inference Accelerator <https://aws.amazon.com/sagemaker/pricing/instance-types/>`__ type that will be attached to your instance type.
222
+
223
+
::
224
+
225
+
# Example for running Elastic Inference SageMaker end to end test
0 commit comments