Skip to content

Commit cad998e

Browse files
authored
Merge branch 'master' into fix/remove-unnecessary-get-caller-identity-call
2 parents 4bb2a99 + af837ae commit cad998e

File tree

4 files changed

+17
-2
lines changed

4 files changed

+17
-2
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# Changelog
22

3+
## v2.170.0 (2023-07-05)
4+
5+
### Features
6+
7+
* Enable customizing artifact output path
8+
9+
### Bug Fixes and Other Changes
10+
11+
* Add il-central-1 support for all SM DLCs
12+
* jumpstart async inference config predictor support
13+
* Update CreateEdgePackagingJob resourceKey with type string
14+
315
## v2.169.0 (2023-06-29)
416

517
### Features

VERSION

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

src/sagemaker/utils.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1407,7 +1407,9 @@ def volume_size_supported(instance_type: str) -> bool:
14071407
try:
14081408

14091409
# local mode does not support volume size
1410-
if instance_type.startswith("local"):
1410+
# instance type given as pipeline parameter does not support volume size
1411+
# do not change the if statement order below.
1412+
if is_pipeline_variable(instance_type) or instance_type.startswith("local"):
14111413
return False
14121414

14131415
parts: List[str] = instance_type.split(".")

tests/unit/test_utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1703,6 +1703,7 @@ def test_volume_size_not_supported(self):
17031703
"g5.8xlarge",
17041704
"local",
17051705
"local_gpu",
1706+
ParameterString(name="InstanceType", default_value="ml.m4.xlarge"),
17061707
]
17071708

17081709
for instance in instances_that_dont_support_volume_size:

0 commit comments

Comments
 (0)