Skip to content

Commit 1dc5fc6

Browse files
authored
Merge branch 'master' into transformer-kms
2 parents fb37731 + c872c10 commit 1dc5fc6

File tree

7 files changed

+12
-7
lines changed

7 files changed

+12
-7
lines changed

CHANGELOG.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ CHANGELOG
55
1.9.3dev
66
========
77

8-
* bug-fix: Local Mode: Create output/data directory expected by SageMaker Container.
98
* enhancement: Add support for volume KMS key to Transformer
9+
* bug-fix: Local Mode: Create output/data directory expected by SageMaker Container.
10+
* bug-fix: Estimator accepts the vpc configs made capable by 1.9.1
1011

1112
1.9.2
1213
=====

src/sagemaker/chainer/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ The Chainer Docker images have the following dependencies installed:
639639
+-----------------------------+-------------+
640640
| chainermn | 1.2.0 |
641641
+-----------------------------+-------------+
642-
| CUDA | 9.0 |
642+
| CUDA (GPU image only) | 9.0 |
643643
+-----------------------------+-------------+
644644
| cupy | 4.0.0 |
645645
+-----------------------------+-------------+

src/sagemaker/estimator.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ class Estimator(EstimatorBase):
431431
def __init__(self, image_name, role, train_instance_count, train_instance_type,
432432
train_volume_size=30, train_max_run=24 * 60 * 60, input_mode='File',
433433
output_path=None, output_kms_key=None, base_job_name=None, sagemaker_session=None,
434-
hyperparameters=None):
434+
hyperparameters=None, tags=None, subnets=None, security_group_ids=None):
435435
"""Initialize an ``Estimator`` instance.
436436
437437
Args:
@@ -469,7 +469,8 @@ def __init__(self, image_name, role, train_instance_count, train_instance_type,
469469
self.hyperparam_dict = hyperparameters.copy() if hyperparameters else {}
470470
super(Estimator, self).__init__(role, train_instance_count, train_instance_type,
471471
train_volume_size, train_max_run, input_mode,
472-
output_path, output_kms_key, base_job_name, sagemaker_session)
472+
output_path, output_kms_key, base_job_name, sagemaker_session,
473+
tags, subnets, security_group_ids)
473474

474475
def train_image(self):
475476
"""

src/sagemaker/mxnet/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ The Docker images have the following dependencies installed:
590590
+-------------------------+--------------+-------------+-------------+-------------+
591591
| Python | 2.7 or 3.5 | 2.7 or 3.5| 2.7 or 3.5| 2.7 or 3.5|
592592
+-------------------------+--------------+-------------+-------------+-------------+
593-
| CUDA | 9.0 | 9.0 | 9.0 | 9.0 |
593+
| CUDA (GPU image only) | 9.0 | 9.0 | 9.0 | 9.0 |
594594
+-------------------------+--------------+-------------+-------------+-------------+
595595
| numpy | 1.13.3 | 1.13.3 | 1.13.3 | 1.14.5 |
596596
+-------------------------+--------------+-------------+-------------+-------------+

src/sagemaker/pytorch/README.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -667,6 +667,8 @@ The PyTorch Docker images have the following dependencies installed:
667667
+-----------------------------+---------------+
668668
| botocore | 1.10.35 |
669669
+-----------------------------+---------------+
670+
| CUDA (GPU image only) | 9.0 |
671+
+-----------------------------+---------------+
670672
| numpy | 1.14.3 |
671673
+-----------------------------+---------------+
672674
| Pillow | 5.1.0 |

src/sagemaker/session.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ def upload_data(self, path, bucket=None, key_prefix='data'):
119119
Args:
120120
path (str): Path (absolute or relative) of local file or directory to upload.
121121
bucket (str): Name of the S3 Bucket to upload to (default: None). If not specified, the
122-
default bucket of the ``Session`` is used. If the bucket does not exist, the ``Session``
123-
creates the bucket.
122+
default bucket of the ``Session`` is used (if default bucket does not exist, the ``Session``
123+
creates it).
124124
key_prefix (str): Optional S3 object key name prefix (default: 'data'). S3 uses the prefix to
125125
create a directory structure for the bucket content that it display in the S3 console.
126126

src/sagemaker/tensorflow/README.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -850,6 +850,7 @@ The TensorFlow Docker images support Python 2.7. They include the following Pyth
850850

851851
- boto3
852852
- botocore
853+
- CUDA 9.0 (GPU image only)
853854
- grpcio
854855
- numpy
855856
- pandas

0 commit comments

Comments
 (0)