Usage
Modify your Nextflow process code to include the accelerator type.nvidia-v100 (See the full GitHub repository here).
Caveats
GPU enabled nodes have very strictly constrained compute parameters. As a result, specifying an accelerator will override anycpu/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-t4will override and setcpu: 7andmemory: "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-a10gwill override and setcpu: 64andmemory: "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-v100will override and set resources differently depending on the number of GPUs specified:- Choosing 1 GPU will override and set
cpu: 7andmemory: "48Gi", - Choosing 4 GPUs will override and set
cpu: 30andmemory: "230Gi", and - Choosing 8 GPUs will override and set
cpu: 62andmemory: "400Gi".
- Choosing 1 GPU will override and set