diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b5ba41b34..4d69637e4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -60,6 +60,7 @@ jobs: - 'docs/conf.py' - 'experiments/**' - 'lib/**' + - 'modifiers/**' - 'repo/**' - 'systems/**' - 'var/**' diff --git a/modifiers/allocation/modifier.py b/modifiers/allocation/modifier.py index 343d64832..2fce26616 100644 --- a/modifiers/allocation/modifier.py +++ b/modifiers/allocation/modifier.py @@ -488,7 +488,7 @@ def pbs_instructions(self, v): if v.n_gpus: gpus_per_rank = self.gpus_as_gpus_per_rank(v.n_gpus) node_spec.append(f"gpus={gpus_per_rank}") - + if node_spec: batch_opts.append(f"-l {':'.join(node_spec)}") else: