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

Support GPU requests #263

Closed
treydock opened this issue Apr 19, 2021 · 1 comment · Fixed by #266
Closed

Support GPU requests #263

treydock opened this issue Apr 19, 2021 · 1 comment · Fixed by #266

Comments

@treydock
Copy link
Contributor

It would be useful to have ability to directly request GPUs via the various scheduler adapters.

SLURM:

--gpus-per-node=N

Torque:

-l nodes=X:ppn=Y:gpus=N

Kubernetes: https://kubernetes.io/docs/tasks/manage-gpus/scheduling-gpus/

resources:
  limits:
    nvidia.com/gpu: 1
  requests:
    nvidia.com/gpu: 1
@ericfranz
Copy link
Contributor

And then presumably OodCore::Job::Script would accept as an argument in its initializer: gpus_per_node: <Integer or nil> so the default value is nil (not set).

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 a pull request may close this issue.

2 participants