We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a6a567 commit 1e312e5Copy full SHA for 1e312e5
src/sagemaker/utils.py
@@ -1403,7 +1403,9 @@ def volume_size_supported(instance_type: str) -> bool:
1403
try:
1404
1405
# local mode does not support volume size
1406
- if instance_type.startswith("local") or is_pipeline_variable(instance_type):
+ # instance type given as pipeline parameter does not support volume size
1407
+ # do not change the if statement order below.
1408
+ if is_pipeline_variable(instance_type) or instance_type.startswith("local"):
1409
return False
1410
1411
parts: List[str] = instance_type.split(".")
0 commit comments