Conversation
Codecov Report
@@ Coverage Diff @@
## master #1714 +/- ##
==========================================
+ Coverage 56.21% 56.38% +0.17%
==========================================
Files 307 308 +1
Lines 21225 21241 +16
==========================================
+ Hits 11931 11977 +46
+ Misses 8427 8390 -37
- Partials 867 874 +7 |
632b386 to
9621d3f
Compare
|
Ping @thaJeztah @vdemeester @cpuguy83 @silvin-lubecki I revendored and it's ready for review. |
|
Looks good to me! |
|
This can be rebased now (moby vendor bump was merged) |
308c073 to
3d2b393
Compare
|
Ping @thaJeztah @silvin-lubecki @vdemeester updated |
thaJeztah
left a comment
There was a problem hiding this comment.
Some nits, notes, and suggestions
Some follow-ups needed to add Bash-completion and reference docs (I know we want to get this in before the release, so I'd be ok with doing that in a follow-up)
opts/gpus.go
Outdated
|
|
||
| // Type returns the type of this option | ||
| func (o *GpuOpts) Type() string { | ||
| return "gpuRequest" |
There was a problem hiding this comment.
perhaps gpu-options this is what's shown in --help output; also looks like we don't use camelBack there
There was a problem hiding this comment.
I'm putting gpu-request
|
@thaJeztah @silvin-lubecki thank you for the review, i updated the PR accordingly. |
|
@thaJeztah updated |
vdemeester
left a comment
There was a problem hiding this comment.
SGTM, but @tiborvass can I HAZ tests on gpus.go ? 👼
|
@vdemeester added a couple. The most important one is |
Signed-off-by: Tibor Vass <[email protected]>
Am I right? If yes, this new option is a shame. EDIT: |
|
Hello @mviereck ! The We have plans to make it more like other plugins ( |
|
@RenaudWasTaken Thank you for your friendly response!
I am not experienced in Go, so I cannot contribute code directly, sorry. |
Signed-off-by: Tibor Vass [email protected]
Closes #1200
Dependent on moby/moby#38828
Most common usecase:
docker run --gpus allOtherwise can be further specified:
docker run --gpus 2,driver=nvidia,capabilities=compute