Using GPUs with Slurm: Difference between revisions

Jump to navigation Jump to search
no edit summary
m (Consistency with OMP_NUM_THREADS)
No edit summary
Line 9: Line 9:


<!--T:58-->
<!--T:58-->
The square-bracket notation means that you must specify the number of GPUs, and you may optionally specify the GPU type.  Choose a type from the "Available hardware" table below.  Here are two examples:
The square-bracket notation means that you must specify the number of GPUs, and you may optionally specify the GPU type.  Choose a type from the <i>Available hardware</i> table below.  Here are two examples:
   --gpus-per-node=2
   --gpus-per-node=2
   --gpus-per-node=v100:1
   --gpus-per-node=v100:1
Line 22: Line 22:


<!--T:61-->
<!--T:61-->
There are a variety of other directives that you can use to request GPU resources: --gpus, --gpus-per-socket, --gpus-per-task, --mem-per-gpu, and --ntasks-per-gpu.  Please see the Slurm documentation for [https://slurm.schedmd.com/sbatch.html sbatch] for more about these.  Our staff did not test all the combinations of these; if don't get the result you expect, [[Technical support|contact technical support]].
There are a variety of other directives that you can use to request GPU resources: --gpus, --gpus-per-socket, --gpus-per-task, --mem-per-gpu, and --ntasks-per-gpu.  Please see the Slurm documentation for [https://slurm.schedmd.com/sbatch.html sbatch] for more about these.  Our staff did not test all the combinations of these; if you don't get the result you expect, [[Technical support|contact technical support]].


<!--T:15-->
<!--T:15-->
rsnt_translations
56,420

edits

Navigation menu