We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8683e0 commit 4ecf75dCopy full SHA for 4ecf75d
src/dstack/_internal/core/compatibility/runs.py
@@ -201,6 +201,8 @@ def get_job_spec_excludes(job_specs: list[JobSpec]) -> IncludeExcludeDictType:
201
spec_excludes["probes"] = True
202
if all(s.repo_dir in [None, LEGACY_REPO_DIR] for s in job_specs):
203
spec_excludes["repo_dir"] = True
204
+ if all(s.requirements.multinode is None for s in job_specs):
205
+ spec_excludes["requirements"] = {"multinode": True}
206
207
return spec_excludes
208
0 commit comments