Bump the version to v0.1.8 (#93)
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user