Fix nvidia ?

This commit is contained in:
Nicolas Patry 2024-10-09 12:20:03 +02:00
parent 46ccffd246
commit 822131f6dc
No known key found for this signature in database
GPG Key ID: 64AF4752B2967863

View File

@ -506,7 +506,7 @@ def launcher(event_loop):
if DOCKER_VOLUME:
volumes = [f"{DOCKER_VOLUME}:/data"]
if DOCKER_DEVICES is not None:
if DOCKER_DEVICES:
if DOCKER_DEVICES.lower() == "none":
devices = []
else: