[slurm-users] GPU / cgroup challenges

Kevin Manalo kmanalo at jhu.edu
Tue May 1 17:42:12 MDT 2018


Chris,

Thanks for the correction there, that /dev/nvidia* isn’t needed in [cgroup_allowed_devices_file.conf] for constraining GPU devices.

-Kevin

From: slurm-users <slurm-users-bounces at lists.schedmd.com> on behalf of "R. Paul Wiegand" <rpwiegand at gmail.com>
Reply-To: "paul at tesseract.org" <paul at tesseract.org>, Slurm User Community List <slurm-users at lists.schedmd.com>
Date: Tuesday, May 1, 2018 at 7:34 PM
To: Slurm User Community List <slurm-users at lists.schedmd.com>
Subject: Re: [slurm-users] GPU / cgroup challenges

Slurm 17.11.0 on CentOS 7.1

On Tue, May 1, 2018, 19:26 Christopher Samuel <chris at csamuel.org<mailto:chris at csamuel.org>> wrote:
On 02/05/18 09:23, R. Paul Wiegand wrote:

> I thought including the /dev/nvidia* would whitelist those devices
> ... which seems to be the opposite of what I want, no?  Or do I
> misunderstand?

No, I think you're right there, we don't have them listed and cgroups
constrains it correctly (nvidia-smi says no devices when you don't
request any GPUs).

Which version of Slurm are you on?

cheers,
Chris
--
  Chris Samuel  :  http://www.csamuel.org/  :  Melbourne, VIC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20180501/85d89843/attachment.html>


More information about the slurm-users mailing list