Skip to content

Commit 493cc8c

Browse files
authored
Merge branch 'master' into master-training-remote-debug
2 parents 9e70ce1 + 9269053 commit 493cc8c

Some content is hidden

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

54 files changed

+2154
-948
lines changed

CHANGELOG.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,51 @@
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+
12+
## v2.200.0 (2023-12-13)
13+
14+
### Deprecations and Removals
15+
16+
* remove explicit `partitions` key requirement on pysdk side.
17+
18+
### Features
19+
20+
* add non-repeating config logger
21+
* Add SageMaker Geospatial verison 1.x images
22+
* TGI 1.2.0 Image Uri
23+
* support model.register() with triton model
24+
* Enable retrieving function step results for local mode
25+
26+
### Bug Fixes and Other Changes
27+
28+
* TGI 1.3.1
29+
* excessive jumpstart instance type logging
30+
* Support local mode for remote function
31+
* `Session.download_data` can not download nested objects
32+
* Fix writing into non-closed file with git clone command
33+
* mitigation of xgboost container incompatibility with new version
34+
* update image and hardware validation with inf and graviton
35+
* remove two setuptools deprecations
36+
* minor jumpstart dev ex improvements
37+
* save utils fix
38+
* Correct DJL neuronx regions
39+
* delete unused file inference-experience-dev-tester.sh
40+
* Fix Experiment Run integ test w.r.t unexpected boto3 version
41+
* Bump test dependencies versions
42+
* fast follow on js uncompressed support - ModelBuilder
43+
* Modify Region List for Neuron Images (HF neuron/neuronx, PT Neuron)
44+
45+
### Documentation Changes
46+
47+
* Mention for custom Docker Image
48+
349
## v2.199.0 (2023-11-30)
450

551
### Features

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.199.1.dev0
1+
2.200.2.dev0

src/sagemaker/estimator.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -581,6 +581,17 @@ def __init__(
581581
self.dependencies = dependencies or []
582582
self.uploaded_code: Optional[UploadedCode] = None
583583

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

0 commit comments

Comments
 (0)