Skip to content

Commit b6643f4

Browse files
authored
Merge branch 'zwei' into remove-serde-parameters
2 parents 11616f2 + 4746868 commit b6643f4

Some content is hidden

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

58 files changed

+164
-1354
lines changed

doc/v2.rst

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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.

examples/cli/train/script.py

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

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ def read_version():
103103
extras_require=extras,
104104
entry_points={
105105
"console_scripts": [
106-
"sagemaker=sagemaker.cli.main:main",
107106
"sagemaker-upgrade-v2=sagemaker.cli.compatibility.v2.sagemaker_upgrade_v2:main",
108107
]
109108
},

0 commit comments

Comments
 (0)