This commit is contained in:
Nicolas Patry 2024-10-02 16:29:42 +02:00
parent 38c39b00e2
commit 8dd2006cd8
No known key found for this signature in database
GPG Key ID: E939E8CC91A1C674

View File

@ -517,6 +517,8 @@ def launcher(event_loop):
docker.types.DeviceRequest(count=gpu_count, capabilities=[["gpu"]])
]
print("Starting docker")
container = client.containers.run(
DOCKER_IMAGE,
command=args,
@ -532,6 +534,10 @@ def launcher(event_loop):
shm_size="1G",
)
import time
time.sleep(600)
yield ContainerLauncherHandle(client, container.name, port)
if not use_flash_attention: