[slurm-users] How to apply for multiple GPU cards from different worker nodes?
chris at csamuel.org
Wed Apr 17 03:24:35 UTC 2019
On 4/16/19 1:15 AM, Ran Du wrote:
> And another question is : how to apply for multiple cards could
> not be divided exactly by 8？ For example, to apply for 10 GPU cards, 8
> cards on one node and 2 cards on another node?
There are new features coming in 19.05 for GPUs to better support them.
You could then submit a 5 task job requesting --gpus-per-task=2 to
achieve that (4 tasks on the first node and 2 on the second).
From the release notes:
-- Add GPU scheduling options for salloc, sbatch and srun:
--cpus-per-gpu, -G/--gpus, --gpu-bind, --gpu-freq, --gpus-per-node,
--gpus-per-socket, --gpus-per-task and --mem-per-gpu.
All the best,
Chris Samuel : http://www.csamuel.org/ : Berkeley, CA, USA
More information about the slurm-users