Skip to content

Commit d5db89f

Browse files
authored
Merge branch 'master' into stacicho-modelbuilder-links
2 parents 3f1c6a5 + 12d5040 commit d5db89f

Some content is hidden

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

64 files changed

+2745
-968
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
@@ -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)