mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-11 20:34:54 +00:00
Raw tgi
This commit is contained in:
parent
29eb7601a9
commit
0936c79995
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user