# How to call a specific GPU

**URL:** <http://hpc-community.unige.ch/t/how-to-call-a-specific-gpu/3735>\
**Category:** HPC issues\
**Created:** [November 20, 2024, 10:06am UTC](http://hpc-community.unige.ch/t/how-to-call-a-specific-gpu/3735 "2024-11-20T10:06:26Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Denis.Mongin](http://hpc-community.unige.ch/letter_avatar_proxy/v4/letter/d/ba9def/32.png) [@Denis.Mongin](http://hpc-community.unige.ch/u/Denis.Mongin)\
**Post date:** [November 21, 2024, 10:25am UTC](http://hpc-community.unige.ch/t/how-to-call-a-specific-gpu/3735/3 "2024-11-21T10:25:06Z")

</div>

Dear @Yann.Sagon , you are right, I had two RTX 3090.

Yet is there a way to call a specific GPU ?  
And were can I get a glance of GPU utilisation, to adapt my sbatch call ?

The reason:

I actually want to launch job where my interest is the total Vram, that I can share between N GPU. I am trying to get the most disponibility on baobab, to be able to launch multiple jobs, for example ~100 jobs with lets say 30G of Vram.  
3x10G would work, but if the RTX 3080 are not available, then I jobs use 3x25, or 3x48 (on node 48), which is a pity and way to much for my job (I would rather use 1x48 for the jobs, and thus get more jobs done for same dispo of Gpus).  
Thus my desire to call a specific GPU: In my example, per job, I would call 3x10 RTX 3080 if those are available, or 2x25G RTX A5500 or RTX 3090 if these are the GPU available, or 1x48 RTX A6000 if those are available.

But

```auto
#SBATCH --constraint=COMPUTE_MODEL_RTX_3080_10G

```

Does not work, although you seemed to propose this here:

> [@How to ask for a specific GPU?](https://hpc-community.unige.ch/t/how-to-ask-for-a-specific-gpu/2116):
>
> Hello, Now that there are RTX 3080 and 3090, when I ask for an ampere card I can get these GPUs. It is really annoying, is it possible to ask only for A100 gpus ? There is probably a solution but I don’t know SLURM. I would try to use --nodelist=gpu[020,022,027,028] but I don’t want to affect negatively the cluster then I prefer to ask first. Thank you, Ludovic

---

_[View the full topic](http://hpc-community.unige.ch/t/how-to-call-a-specific-gpu/3735)._
