nextflow-io / nextflow

A DSL for data-driven computational pipelines
http://nextflow.io
Apache License 2.0
2.78k stars 634 forks source link

Support accelerator optimized VMs in Google Cloud #5372

Open siddharthab opened 1 month ago

siddharthab commented 1 month ago

New feature

Usage scenario

Google Cloud Batch has accelerator optimized VMs, that need to be configured a little differently. They don't need to specify the accelerator type and count, but would still need the installGpuDrivers set to true. See Google documentation.

Suggest implementation

For this line, we also need to check if the task's machine type is g2-*, a2-* or a3-* even if accelerator type and count were not set. I think this should be enough. Happy to send a PR.

bentsherman commented 1 month ago

PRs are welcome, even if you can only get part of the way