Emyr James via slurm-users slurm-users@lists.schedmd.com writes:
I have this set in slurm.conf
AccountingStorageTRES=gres/gpu
I believe you need to list all types of GPUs (including MIGs) that you have configured on the nodes, in addition to the general "gres/gpu". For instance, on one of our clusters, we have
AccountingStorageTRES=gres/gpu,gres/gpu:a100,gres/gpu:rtx30,gres/gpu:1g.20gb,gres/gpu:a40
Then AllocTRES from sacct will show things like
billing=19,cpu=6,gres/gpu:a100=1,gres/gpu=1,mem=12G,node=1
depending on what the job specifies.