Skip to content

Commit 8972b3b

Browse files
committed
Fix multi-node job run checking error.
1 parent 4f59ff8 commit 8972b3b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ads/jobs/builders/infrastructure/dsc_job.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1751,6 +1751,7 @@ def is_multi_node_job(runtime):
17511751
return (
17521752
MULTI_NODE_JOB_SUPPORT
17531753
and isinstance(runtime, MultiNodeRuntime)
1754+
and runtime.replica
17541755
and runtime.replica > 1
17551756
)
17561757

0 commit comments

Comments
 (0)