Skip to content

Commit b3a8c4e

Browse files
committed
fix
1 parent 006f04e commit b3a8c4e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/sagemaker/fw_utils.py

Lines changed: 2 additions & 0 deletions
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)