[slurm-users] Re: [EXT] Re: Issue with Enforcing GPU Usage Limits in Slurm

2025-04-16 Thread lyz--- via slurm-users
Hi Chris! I didn't modify the cgroup configuration file; I only upgraded the Slurm version. After that, the limitations worked successfully. It's quite odd. lyz -- slurm-users mailing list -- slurm-users@lists.schedmd.com To unsubscribe send an email to slurm-users-le...@lists.schedmd.com

[slurm-users] Re: [EXT] Re: Issue with Enforcing GPU Usage Limits in Slurm

2025-04-16 Thread Chris Samuel via slurm-users
Hiya! On 16/4/25 12:56 am, lyz--- via slurm-users wrote: I've tried version 23.11.10. It does work. Oh that's wonderful, so glad it helped! It did seem quite odd that it wasn't working for you before then. I wonder if this was a cgroups v1 vs cgroups v2 thing? All the best, Chris -- Chris

[slurm-users] Re: [EXT] Re: Issue with Enforcing GPU Usage Limits in Slurm

2025-04-16 Thread lyz--- via slurm-users
Hi! Christ. Thank you again for your instruction. I've tried version 23.11.10. It does work. When I ran the script using the following command, it successfully restricted the usage to the specified CUDA devices: srun -p gpu --gres=gpu:2 -nodelist=node11 python test.py And when I checked the GPU