Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In Google Batch, install GPU drivers for GPU VMs #5406

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

siddharthab
Copy link
Contributor

Also clean up some old logic for container options when using GPUs.
These are now automatically handled by Google Cloud.

Fixes #5372.

Signed-off-by: Siddhartha Bagaria [email protected]

Also clean up some old logic for container options when using GPUs.
These are now automatically handled by Google Cloud.

Fixes nextflow-io#5372.

Signed-off-by: Siddhartha Bagaria <[email protected]>
Copy link

netlify bot commented Oct 17, 2024

Deploy Preview for nextflow-docs-staging canceled.

Name Link
🔨 Latest commit 2860b09
🔍 Latest deploy log https://app.netlify.com/sites/nextflow-docs-staging/deploys/671059bff3f674000888290b

@siddharthab siddharthab marked this pull request as ready for review October 17, 2024 00:28
Comment on lines -327 to -337
if( task.config.getAccelerator() ) {
final accelerator = AllocationPolicy.Accelerator.newBuilder()
.setCount( task.config.getAccelerator().getRequest() )

if( task.config.getAccelerator().getType() )
accelerator.setType( task.config.getAccelerator().getType() )

instancePolicy.addAccelerators(accelerator)
instancePolicyOrTemplate.setInstallGpuDrivers(true)
}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure this should be removed. Is this API still available on Google Batch ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not removed, I just moved it to be after machineType logic. That way, setting accelerators can override the installGpuDrivers field set through machineType.

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.

Support accelerator optimized VMs in Google Cloud
2 participants