Nextflow
Using GPU Accelerators
Latch supports using Nextflow accelerators to allow processes to leverage GPU compute.
Caveats
GPU enabled nodes have very strictly constrained compute parameters. As a result, specifying an accelerator will override any cpu/memory
settings, with overridden values changing depending on the chosen accelerator.
Supported Accelerators
Latch supports the following accelerator types:
nvidia-t4
: This allows a process to use an Nvidia T4 GPU for compute. A process specifyingtype: 'nvidia-t4'
can use only 1 GPU. Choosingnvidia-t4
will override and setcpu: 7
andmemory: "30Gi"
.nvidia-a10g
: This allows a process to use an Nvidia A10G GPU for compute. A process specifyingtype: 'nvidia-a10g'
can use only 1 GPU. Choosingnvidia-a10g
will override and setcpu: 64
andmemory: "256Gi"
.nvidia-v100
: This allows a process to use an Nvidia V100 GPU for compute. A process specifyingtype: 'nvidia-v100'
can choose between 1, 4, or 8 GPUs. Choosingnvidia-v100
will override and set resources differently depending on the number of GPUs specified:- Choosing 1 GPU will override and set
cpu: 7
andmemory: "48Gi"
, - Choosing 4 GPUs will override and set
cpu: 30
andmemory: "230Gi"
, and - Choosing 8 GPUs will override and set
cpu: 62
andmemory: "400Gi"
.
- Choosing 1 GPU will override and set
Was this page helpful?