Commit 2b1e3375 authored by Daniele Venzano's avatar Daniele Venzano
Browse files

Workaround bug in nvidia-docker:

parent 13ec2f68
......@@ -208,6 +208,7 @@ def preload_image(image_name):
def update_service_resource_limits(service, cores=None, memory=None):
"""Update a service reservation."""
backend = _get_backend()
if 'gpu' not in service.labels: # see
backend.update_service(service, cores, memory)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment