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

[Do not merge yet] Incorporate Toil GPU support #844

Merged
merged 4 commits into from
Jan 5, 2023
Merged

Conversation

glennhickey
Copy link
Collaborator

@adamnovak added the accelerators resource to Toil, which allows setting the number of GPUs in each job. This is vital for getting Cactus with GPU to work on AWS (as it allows dividing cpu and gpu jobs between appropriate instance types).

This PR updates Cactus to use accelerators for jobs that run Segalign. It does so via the new --gpuCount option (and also gpuCount properties in the config). By default, the current functionality is kept: all gpus are used by each segalign job (regardless of what toil thinks) if --gpu (or gpuLastz) are toggled on. But the gpuCount can be used to finetune things if desired.

For this to be usable on AWS, Toil needs to be able to run gpu docker images.

Also, we cannot specify the number of CPU cores that segalign uses. So this will have to be resolved in order to take full advantage of gpu scheduling on large single machine instances (but isn't much of a factor on the cloud where we can stick with one job per instance)

This PR shouldn't be merged until the next Toil release, ideally with that first issue above fixed.

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.

1 participant