Skip to content

Commit 1f01bda

Browse files
committed
lint
1 parent 19fdd3a commit 1f01bda

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/fairchem/core/launchers/slurm_launch.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -279,9 +279,7 @@ def slurm_launch(cfg: DictConfig, log_dir: str) -> list:
279279
timeout_min=scheduler_cfg.slurm.timeout_hr * 60,
280280
slurm_partition=scheduler_cfg.slurm.partition,
281281
gpus_per_node=(
282-
0
283-
if cfg.job.device_type == DeviceType.CPU
284-
else scheduler_cfg.ranks_per_node
282+
0 if cfg.job.device_type == DeviceType.CPU else scheduler_cfg.ranks_per_node
285283
),
286284
cpus_per_task=scheduler_cfg.slurm.cpus_per_task,
287285
tasks_per_node=scheduler_cfg.ranks_per_node,

0 commit comments

Comments
 (0)