Skip to content

Commit ec03003

Browse files
committed
Merge branch 'zwei' into neo-uris
2 parents 09081ae + 0a0d7ec commit ec03003

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+879
-1440
lines changed

doc/v2.rst

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ To install the latest release candidate:
2121

2222
.. code:: bash
2323
24-
pip install git+git@github.com:aws/[email protected]
24+
pip install git+git://github.com/aws/[email protected]
2525
2626
To install the latest version of v2:
2727

2828
.. code:: bash
2929
30-
pip install git+git@github.com:aws/sagemaker-python-sdk.git@zwei
30+
pip install git+git://github.com/aws/sagemaker-python-sdk.git@zwei
3131
3232
If you are executing this pip install command in a notebook, make sure to restart your kernel.
3333

@@ -70,6 +70,28 @@ Please use :func:`sagemaker.predictor.Predictor.delete_endpoint` instead.
7070
The ``update_endpoint`` argument in ``deploy()`` methods for estimators and models has been deprecated.
7171
Please use :func:`sagemaker.predictor.Predictor.update_endpoint` instead.
7272

73+
``sagemaker.content_types``
74+
---------------------------
75+
76+
The ``sagemaker.content_types`` module is removed in v2.0 and later of the
77+
SageMaker Python SDK.
78+
79+
Instead of importing constants from ``sagemaker.content_types``, explicitly
80+
write MIME types as a string,
81+
82+
+-------------------------------+--------------------------------+
83+
| v1.x | v2.0 and later |
84+
+===============================+================================+
85+
| ``CONTENT_TYPE_JSON`` | ``"application/json"`` |
86+
+-------------------------------+--------------------------------+
87+
| ``CONTENT_TYPE_CSV`` | ``"text/csv"`` |
88+
+-------------------------------+--------------------------------+
89+
| ``CONTENT_TYPE_OCTET_STREAM`` | ``"application/octet-stream"`` |
90+
+-------------------------------+--------------------------------+
91+
| ``CONTENT_TYPE_NPY`` | ``"application/x-npy"`` |
92+
+-------------------------------+--------------------------------+
93+
94+
7395
Require ``framework_version`` and ``py_version`` for Frameworks
7496
===============================================================
7597

examples/cli/host/data/model.json

Lines changed: 0 additions & 126 deletions
This file was deleted.

examples/cli/host/data/model.params

-428 KB
Binary file not shown.

examples/cli/host/run_hosting_example.sh

Lines changed: 0 additions & 3 deletions
This file was deleted.

examples/cli/host/script.py

Lines changed: 0 additions & 45 deletions
This file was deleted.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

examples/cli/train/download_training_data.py

Lines changed: 0 additions & 10 deletions
This file was deleted.

examples/cli/train/hyperparameters.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

examples/cli/train/run_training_example.sh

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)