What version of Slurm are you running and what's the contents of your gres.conf 
file?

Sean

________________________________
From: lyz--- via slurm-users <[email protected]>
Sent: Tuesday, April 15, 2025 11:16:40 PM
To: [email protected] <[email protected]>
Subject: [slurm-users] Re: [EXT] Re: Issue with Enforcing GPU Usage Limits in 
Slurm

External email: Please exercise caution

Hi, Sean.
I followed your instructions and added ConstrainDevices=yes to the 
/etc/slurm/cgroup.conf file on the server node, and then restarted the relevant 
services on both the server and the client.
However, I still can't enforce the restriction in the Python program.

It seems like the restriction applies to the physical GPU hardware, but it 
doesn't take effect for CUDA.

--
slurm-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

-- 
slurm-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to