Skip to content

Use --gpus in all examples of requesting GPUs#287

Merged
bclaremar merged 1 commit into
mainfrom
gpus_not_gres_gpu
Jun 17, 2026
Merged

Use --gpus in all examples of requesting GPUs#287
bclaremar merged 1 commit into
mainfrom
gpus_not_gres_gpu

Conversation

@paran1

@paran1 paran1 commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Some of our pages used --gres=gpu while others used --gpus. Change so --gpus is used everywhere.

Using --gpus=[type:]<number> results in the same request as --gres=gpu:[type:]<number>, so there is not functional change. But picking one makes our documentation more consistent, and --gpus is easier to remember for most users and they don't care that Slurm implements its GPU support as a generic resource (gres).

Some of the changes are in examples for Snowy. These should be removed now that Snowy is decomissioned. But for this commit it was easier to change this everywhere.

Some of our pages used --gres=gpu while others used --gpus. Change so
--gpus is used everywhere.

--gpus=[type:]<number>
is equivalent to
--gres=gpu:[type:]<number>

Some of the changes are in exaples for Snowy that should be removed as
Snowy is decomissioned. But it was easier to change this everywhere.

Also add "gpus" to spellcheck wordlist.
@paran1 paran1 force-pushed the gpus_not_gres_gpu branch from 9794145 to 6597db3 Compare June 17, 2026 17:25
@paran1 paran1 requested a review from bclaremar June 17, 2026 17:36
@bclaremar bclaremar merged commit 375db32 into main Jun 17, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants