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
+20-19Lines changed: 20 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -84,7 +84,7 @@ As a managed service, Amazon SageMaker performs operations on your behalf on the
84
84
Amazon SageMaker can perform only operations that the user permits.
85
85
You can read more about which permissions are necessary in the `AWS Documentation <https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html>`__.
86
86
87
-
The SageMaker Python SDK should not require any additional permissions.
87
+
The SageMaker Python SDK should not require any additional permissions aside from what is required for using SageMaker.
88
88
However, if you are using an IAM role with a path in it, you should grant permission for ``iam:GetRole``.
89
89
90
90
Licensing
@@ -117,27 +117,28 @@ To run the unit tests with tox, run:
117
117
To run the integration tests, the following prerequisites must be met
118
118
119
119
1. AWS account credentials are available in the environment for the boto3 client to use.
120
-
2. The AWS account has an IAM role named :code:`SageMakerRole` with the AmazonSageMakerFullAccess policy attached.
120
+
2. The AWS account has an IAM role named :code:`SageMakerRole`.
121
+
It should have the AmazonSageMakerFullAccess policy attached as well as a policy with `the necessary permissions to use Elastic Inference <https://docs.aws.amazon.com/sagemaker/latest/dg/ei-setup.html>`__.
121
122
122
123
We recommend selectively running just those integration tests you'd like to run. You can filter by individual test function names with:
123
124
124
125
::
125
126
126
-
pytest -k 'test_i_care_about'
127
+
tox -- -k 'test_i_care_about'
127
128
128
129
129
130
You can also run all of the integration tests by running the following command, which runs them in sequence, which may take a while:
130
131
131
132
::
132
133
133
-
pytest tests/integ
134
+
tox -- tests/integ
134
135
135
136
136
137
You can also run them in parallel:
137
138
138
139
::
139
140
140
-
pytest -n auto tests/integ
141
+
tox -- -n auto tests/integ
141
142
142
143
143
144
Building Sphinx docs
@@ -149,16 +150,16 @@ Building Sphinx docs
149
150
150
151
make html
151
152
152
-
You can edit the templates for any of the pages in the docs by editing the .rst files in the "doc" directory and then running "``make html``" again.
153
+
You can edit the templates for any of the pages in the docs by editing the .rst files in the ``doc`` directory and then running ``make html`` again.
153
154
154
155
MXNet SageMaker Estimators
155
156
--------------------------
156
157
157
-
By using MXNet SageMaker ``Estimators``, you can train and host MXNet models on Amazon SageMaker.
158
+
By using MXNet SageMaker Estimators, you can train and host MXNet models on Amazon SageMaker.
158
159
159
-
Supported versions of MXNet: ``1.3.0``, ``1.2.1``, ``1.1.0``, ``1.0.0``, ``0.12.1``.
160
+
Supported versions of MXNet: ``0.12.1``, ``1.0.0``, ``1.1.0``, ``1.2.1``, ``1.3.0``, ``1.4.0``.
160
161
161
-
Supported versions of MXNet for Elastic Inference: ``1.3.0``
162
+
Supported versions of MXNet for Elastic Inference: ``1.3.0``, ``1.4.0``.
162
163
163
164
We recommend that you use the latest supported version, because that's where we focus most of our development efforts.
164
165
@@ -170,7 +171,7 @@ For more information, see `Using MXNet with the SageMaker Python SDK`_.
170
171
TensorFlow SageMaker Estimators
171
172
-------------------------------
172
173
173
-
By using TensorFlow SageMaker ``Estimators``, you can train and host TensorFlow models on Amazon SageMaker.
174
+
By using TensorFlow SageMaker Estimators, you can train and host TensorFlow models on Amazon SageMaker.
0 commit comments