Hi Ravi, On 20/11/2023 6:36, Ravi Konila wrote:
In classical HPC this is a counterproductive - you don't want to assign specific resources to jobs, as this would lead to jobs waiting needlessly while resources are available, so I think some background for this request might help understand the need and possible solutions.
That said, it might be possible by assigning different artificial types to each gpu, e.g. in gres.conf Name=gpu type=gpu0 file=/dev/nvidia0 etc... Then submission would be of the form sbatch --gpus=gpu0
The issue would be with submitting in the general case, where you want any gpu. For that you might have to fall back to using gres as in sbatch --gres=gpu:3
This is obviously cumbersome and less convenient, and I'm not
sure this is not an XY problem. Can you elaborate on the use case? It's unclear to me if the students are expected to decide on their own when to submit to 20G and when to 5G, if students with access to 20G should also use the 5G together with the rest of the students, or if all students should have access to both partitions and some other criteria should be used to determine placement.
Best regards, --Dani_L. |
- [slurm-users] Usage of particular GPU out of 4 GPUs while sub... Ravi Konila
- Re: [slurm-users] Usage of particular GPU out of 4 GPUs ... Daniel Letai