File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1079,7 +1079,7 @@ def validate_torch_distributed_distribution(
1079
1079
# in case image_uri is not set, then both are mandatory
1080
1080
if (
1081
1081
framework_version not in TORCH_DISTRIBUTED_SUPPORTED_FRAMEWORK_VERSIONS
1082
- or framework_version not in TORCH_DISTRIBUTED_TRAINIUM_SUPPORTED_FRAMEWORK_VERSIONS
1082
+ and framework_version not in TORCH_DISTRIBUTED_TRAINIUM_SUPPORTED_FRAMEWORK_VERSIONS
1083
1083
):
1084
1084
err_msg += (
1085
1085
f"Provided framework_version { framework_version } is not supported by"
@@ -1090,7 +1090,7 @@ def validate_torch_distributed_distribution(
1090
1090
if "py3" not in py_version :
1091
1091
err_msg += (
1092
1092
f"Provided py_version { py_version } is not supported by torch_distributed.\n "
1093
- "Please specify py_version>=py3"
1093
+ "Please specify py_version>=py3\n "
1094
1094
)
1095
1095
1096
1096
# Check instance compatibility
You can’t perform that action at this time.
0 commit comments