Skip to content

Commit 23be9d1

Browse files
author
Ignacio Quintero
committed
Update changelog and README.
1 parent d716d39 commit 23be9d1

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

CHANGELOG.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
CHANGELOG
33
=========
44

5+
1.2.5-dev
6+
=========
7+
* feature: Local Mode: add support for local training data using file://
8+
59
1.2.4
610
=====
711

README.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ Local Mode
148148
~~~~~~~~~~
149149

150150
The SageMaker Python SDK now supports local mode, which allows you to create TensorFlow, MXNet and BYO estimators and
151-
deploy to your local environment.  This is a great way to test your deep learning script before running in
151+
deploy to your local environment. This is a great way to test your deep learning script before running in
152152
SageMaker's managed training or hosting environments.
153153

154154
We can take the example in `Estimator Usage <#estimator-usage>`__ , and use either ``local`` or ``local_gpu`` as the
@@ -166,6 +166,9 @@ instance type.
166166
# In Local Mode, fit will pull the MXNet container docker image and run it locally
167167
mxnet_estimator.fit('s3://my_bucket/my_training_data/')
168168
169+
# Alternatively, you can train using data in your local file system. This is only supported in Local mode.
170+
mxnet_estimator.fit('file:///tmp/my_training_data')
171+
169172
# Deploys the model that was generated by fit() to local endpoint in a container
170173
mxnet_predictor = mxnet_estimator.deploy(initial_instance_count=1, instance_type='local')
171174
@@ -184,7 +187,7 @@ For detailed examples of running docker in local mode, see:
184187
A few important notes:
185188

186189
- Only one local mode endpoint can be running at a time
187-
- Since the data are pulled from S3 to your local environment, please ensure you have sufficient space.
190+
- Since the data is pulled from S3 to your local environment, please ensure you have sufficient space.
188191
- If you run into problems, this is often due to different docker containers conflicting.  Killing these containers and re-running often solves your problems.
189192
- Local Mode requires docker-compose and `nvidia-docker2 <https://github.com/NVIDIA/nvidia-docker>`__ for ``local_gpu``.
190193
- Distributed training is not yet supported for ``local_gpu``.

0 commit comments

Comments
 (0)