Bump the version to v0.1.8 (#93)

This commit is contained in:
Lianmin Zheng
2024-01-24 03:33:34 -08:00
committed by GitHub
parent 489796c7ea
commit c70b3cfa9e
4 changed files with 19 additions and 8 deletions

View File

@@ -380,12 +380,13 @@ def launch_server(server_args, pipe_finish_writer):
success = False
for i in range(60):
time.sleep(1)
try:
res = requests.get(url + "/get_model_info", timeout=5)
success = True
break
except requests.exceptions.RequestException as e:
time.sleep(1)
pass
if success:
pipe_finish_writer.send("init ok")
@@ -406,7 +407,7 @@ class Runtime:
model_mode: List[str] = (),
schedule_heuristic: str = "lpm",
random_seed: int = 42,
log_level: str = "warning",
log_level: str = "error",
):
host = "127.0.0.1"
port = alloc_usable_network_port(1)[0]