Skip to content

Commit 00563d1

Browse files
committed
fix
1 parent ebd938a commit 00563d1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/sagemaker/fw_utils.py

+2
Original file line numberDiff line numberDiff line change
@@ -789,6 +789,8 @@ def _validate_smdataparallel_args(
789789
if not smdataparallel_enabled:
790790
return
791791

792+
err_msg = ""
793+
792794
if not image_uri:
793795
# ignore framework_version & py_version if image_uri is set
794796
# in case image_uri is not set, then both are mandatory

0 commit comments

Comments
 (0)