Using GPUs on Firebird: Difference between revisions
Imported from Confluence |
No edit summary |
||
| Line 1: | Line 1: | ||
Firebird offers multiple nodes with NVIDIA GPUs. Typically, these must be requested via Slurm before they can be used. There are different methods to request one or more GPUs depending on whether you are submitting a batch script, working interactively on the command line, or creating a virtual desktop session. | Firebird offers multiple nodes with NVIDIA GPUs. Typically, these must be requested via Slurm before they can be used. There are different methods to request one or more GPUs depending on whether you are submitting a batch script, working interactively on the command line, or creating a virtual desktop session. | ||
= List of GPUs = | == List of GPUs == | ||
The following table lists which specific types of GPUs are available, some of their characteristics, and which nodes they are in. Examples of how to use this information to request a specific GPU are below. | The following table lists which specific types of GPUs are available, some of their characteristics, and which nodes they are in. Examples of how to use this information to request a specific GPU are below. | ||
| Line 36: | Line 35: | ||
|} | |} | ||
= Requesting a GPU in a Batch Script or Interactively = | == Requesting a GPU in a Batch Script or Interactively == | ||
The easiest way to request a GPU through Slurm is with the <code>--gpus-per-node</code>directive. | The easiest way to request a GPU through Slurm is with the <code>--gpus-per-node</code>directive. | ||
| Line 77: | Line 75: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
= Requesting a GPU in a Virtual Desktop Session = | == Requesting a GPU in a Virtual Desktop Session == | ||
[[Category:Teaching, Learning, Research]] | |||
As part of the form to request a [[Open OnDemand#Interactive-Desktop|virtual desktop session]], there is a drop-down box to request a specific model of GPU, if desired. | As part of the form to request a [[Open OnDemand#Interactive-Desktop|virtual desktop session]], there is a drop-down box to request a specific model of GPU, if desired. | ||
Revision as of 14:27, 21 May 2026
Firebird offers multiple nodes with NVIDIA GPUs. Typically, these must be requested via Slurm before they can be used. There are different methods to request one or more GPUs depending on whether you are submitting a batch script, working interactively on the command line, or creating a virtual desktop session.
List of GPUs
The following table lists which specific types of GPUs are available, some of their characteristics, and which nodes they are in. Examples of how to use this information to request a specific GPU are below.
| Node | GPU Type and Number | Memory |
|---|---|---|
| gpu01 | rtx2080ti (4) | 11 GB |
| gpu02 | quadro_8000 (3) | 48 GB |
| gpu03 | rtx2080ti (4) | 11 GB |
| gpu04 | l40s (4) | 48 GB |
| gpu05 | h200 (2) | 141 GB |
| gpu06 | rtx6000 (2) | 96 GB |
Requesting a GPU in a Batch Script or Interactively
The easiest way to request a GPU through Slurm is with the --gpus-per-nodedirective.
If you do not have a preference which specific GPU you want:
Within a job submission script:
#SBATCH --gpus-per-node=1
As part of an salloccommand to create an interactive terminal session:
--gpus-per-node=1
If you want to request a specific model of GPU, add the type from the table above, for example:
--gpus-per-node=h200:1
In addition to requesting the GPU, it is necessary to load the CUDA module. Either within a job submission script, or from the command line:
module load cuda
This will load the latest default CUDA version. To see a list of all available CUDA versions, for example:
module keyword cuda
The following modules match your search criteria: "cuda"
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
cuda: cuda/11.8-0, cuda/12.4-0
Requesting a GPU in a Virtual Desktop Session
As part of the form to request a virtual desktop session, there is a drop-down box to request a specific model of GPU, if desired.