Skip to content

Commit 40ab66c

Browse files
author
EC2 Default User
committed
Merge remote-tracking branch 'upstream/master' into js-model-builder-fast-follow
2 parents f1aec83 + 12d5040 commit 40ab66c

Some content is hidden

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

63 files changed

+2665
-970
lines changed

CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changelog
22

3+
## v2.200.1 (2023-12-14)
4+
5+
### Bug Fixes and Other Changes
6+
7+
* Merge branch 'master-rba' into local_merge
8+
* Fix user agent tag issue
9+
* update image_uri_configs 12-13-2023 14:04:54 PST
10+
* update image_uri_configs 12-13-2023 12:23:06 PST
11+
312
## v2.200.0 (2023-12-13)
413

514
### Deprecations and Removals

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.200.1.dev0
1+
2.200.2.dev0

src/sagemaker/estimator.py

+11
Original file line numberDiff line numberDiff line change
@@ -578,6 +578,17 @@ def __init__(
578578
self.dependencies = dependencies or []
579579
self.uploaded_code: Optional[UploadedCode] = None
580580

581+
# Check that the user properly sets both subnet and secutiry_groupe_ids
582+
if (
583+
subnets is not None
584+
and security_group_ids is None
585+
or security_group_ids is not None
586+
and subnets is None
587+
):
588+
raise RuntimeError(
589+
"When setting up custom VPC, both subnets and security_group_ids must be set"
590+
)
591+
581592
if self.instance_type in ("local", "local_gpu"):
582593
if self.instance_type == "local_gpu" and self.instance_count > 1:
583594
raise RuntimeError("Distributed Training in Local GPU is not supported")

0 commit comments

Comments
 (0)