Skip to content

Using full GPUs#

If you need full GPUs (no MIG slicing) use the main gpu partition. This is the fallback for jobs requiring the whole device.

Examples#

Interactive example:

salloc -p gpu -n 1 --cpus-per-task=8 --mem=32G --gres=gpu:a100:1

Batch script example:

#!/bin/bash
#SBATCH -p gpu
#SBATCH -n 1
#SBATCH --cpus-per-task=8
#SBATCH --mem=32G
#SBATCH --gres=gpu:a100:1
#SBATCH --time=02:00:00

module purge
module load CUDA/12.4.0

nvidia-smi
# run your GPU job here