Adding GPU capability to a Docker workpool (equivalent of "--gpus all" flag) #18209
AmagicalFishy
started this conversation in
Show and tell
Replies: 1 comment
-
thanks so much for creating this discussion @AmagicalFishy ! we'll get this added to the docs as a how-to |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Just adding this here in case it helps anyone in the future:
After creating a Docker workpool, edit the Base Job Template JSON (you can do this in the UI via editing the workpool and clicking Advanced). Add to the "job_configuration" dictionary the following key-dict pair:
This is the equivalent of adding
--gpus all
to e.g.docker run
.I suggest something like this be put in the documentation, I suspect it'll be an increasingly popular use-case (big thank you to @kevingrismore for adding this description ❤️ )
Beta Was this translation helpful? Give feedback.
All reactions