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

Ignore accelerator type for AWS Batch #4043

Merged
merged 3 commits into from
Jun 26, 2023

Conversation

bentsherman
Copy link
Member

Nextflow is applying the accelerator type to the AWS Batch job definition. However, according to the AWS documentation, the type must be "GPU", and does not support specific GPU types. It looks like the only way to control the GPU type is indirectly through the allowed instance types in a compute environment.

This PR ignores the accelerator type for AWS Batch and adds a warning if the type is specified, so that it's clear that it isn't supported.

Signed-off-by: Ben Sherman <[email protected]>
Copy link
Member

@pditommaso pditommaso left a comment

Choose a reason for hiding this comment

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

Good catch, it may be useful to mention in the nextflow docs (?)

@bentsherman bentsherman requested a review from pditommaso June 22, 2023 15:09
Signed-off-by: Paolo Di Tommaso <[email protected]>
@pditommaso pditommaso merged commit 263ecca into master Jun 26, 2023
@pditommaso pditommaso deleted the fix-aws-batch-accelerator-type branch June 26, 2023 13:11
abhi18av pushed a commit to abhi18av/nextflow that referenced this pull request Oct 28, 2023


Signed-off-by: Ben Sherman <[email protected]>
Signed-off-by: Paolo Di Tommaso <[email protected]>
Co-authored-by: Paolo Di Tommaso <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants