-
Notifications
You must be signed in to change notification settings - Fork 284
Conversation
51704bc
to
776c448
Compare
New: nvidia-container-runtime options support Bump: docker to v4.0.2
a1aa40f
to
bdd4730
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At first glance it looks fine, but I will have to get a second or even third look since this is a lot of code.
One potential issue is a hidden dependency between CPU and GPU environments. If you prepare both and the clean up just one of them, the other would be unusable (because of the VM being disabled) while still having 'enabled' status. However, this might possibly be resolved using the auto-setup wrapper (#4592) by sharing a single usage counter between two environments.
EDIT: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Feels a bit strange for the CPU_config
to be superclass of GPU_config
was thinking they had a shared base.
Will approve on reply, no changes required
from golem.envs.docker.vendor import nvidia | ||
|
||
|
||
# FIXME: update the test after nvgpu logic is moved out of the apps folder |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is there an issue for this fixme?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is none - I can create one. This should be resolved when apps are migrated to the Task API.
@maaktweluit |
Ok, clear :D thanks for the fixes, approving! |
Codecov Report
@@ Coverage Diff @@
## develop #4618 +/- ##
===========================================
+ Coverage 89.15% 90.27% +1.12%
===========================================
Files 224 226 +2
Lines 20208 20344 +136
===========================================
+ Hits 18016 18366 +350
+ Misses 2192 1978 -214 |
New version of
DockerGPUEnvironment
, focusing onnvidia-docker-runtime
support