services.slurm: allow overscribe on nodes

This commit is contained in:
陈浩南 2024-02-27 20:21:22 +08:00
parent 82fb082006
commit 2eb933599d

View File

@ -50,7 +50,6 @@ inputs:
"Sockets=1"
"CoresPerSocket=${builtins.toString slurm.cpu.cores}"
"ThreadsPerCore=${builtins.toString slurm.cpu.threads}"
# "Gres=${gpuString}"
"Gres=${gpuString}"
"State=UNKNOWN"
]);
@ -65,6 +64,7 @@ inputs:
in
''
SelectType=select/cons_tres
SelectTypeParameters=CR_Core
GresTypes=gpu
TaskProlog=${inputs.pkgs.writeShellScript "set_env" taskProlog}