This commit is contained in:
Nicolas Patry 2024-10-02 18:07:13 +02:00
parent 29eb7601a9
commit 0936c79995
No known key found for this signature in database
GPG Key ID: E939E8CC91A1C674

View File

@ -527,21 +527,21 @@ def launcher(event_loop):
# devices: {devices}
# """
# )
env.pop("LOG_LEVEL")
env.pop("ROCR_VISIBLE_DEVICES")
# env.pop("LOG_LEVEL")
# env.pop("ROCR_VISIBLE_DEVICES")
container = client.containers.run(
DOCKER_IMAGE,
command=args,
# command=args,
# name=container_name,
environment=env,
auto_remove=False,
detach=True,
device_requests=device_requests,
devices=devices,
volumes=volumes,
ports={"80/tcp": port},
healthcheck={"timeout": int(10 * 1e9)},
shm_size="1G",
# environment=env,
# auto_remove=False,
# detach=True,
# device_requests=device_requests,
# devices=devices,
# volumes=volumes,
# ports={"80/tcp": port},
# healthcheck={"timeout": int(10 * 1e9)},
# shm_size="1G",
)
import time