Skip to content

Commit c55d16a

Browse files
author
Shibo Xing
committed
doc: add docstring for _validate_instance_deprecation
1 parent 01d4401 commit c55d16a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/sagemaker/image_uris.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,7 @@ def _config_for_framework_and_scope(framework, image_scope, accelerator_type=Non
367367

368368

369369
def _validate_instance_deprecation(framework, instance_type, version):
370+
"""check if instance type is deprecated for a certain framework with a certain version"""
370371
if (
371372
framework == "pytorch"
372373
and _get_instance_type_family(instance_type) == "p2"

0 commit comments

Comments
 (0)