Skip to content

Commit 208252a

Browse files
committed
bugfix in launcher logic
1 parent 0975d0c commit 208252a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

psiflow/execution.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -246,10 +246,7 @@ def parse_config(yaml_dict: dict):
246246
provider_dict = _dict.pop(provider_keys[0])
247247

248248
# if provider requests multiple nodes, switch to (containerized) SrunLauncher
249-
if (
250-
provider_dict.pop("nodes_per_block", 1) > 1
251-
and "container" in yaml_dict
252-
):
249+
if provider_dict.pop("nodes_per_block", 1) > 1:
253250
assert (
254251
provider_keys[0] == "SlurmProvider"
255252
), "multi-node blocks only supported for SLURM"

0 commit comments

Comments
 (0)