mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-06 00:57:33 +08:00
[Fix] fix multi api server log dir (#3967)
* [BugFix] fix max streaming tokens invalid * fix scheduler bug * fix scheduler bug * Update multi_api_server.py
This commit is contained in:
@@ -51,7 +51,7 @@ def start_servers(server_count, server_args, ports, metrics_ports, controller_po
|
|||||||
controller_port = int(controller_ports[i])
|
controller_port = int(controller_ports[i])
|
||||||
|
|
||||||
env = os.environ.copy()
|
env = os.environ.copy()
|
||||||
env["FD_LOG_DIR"] = f"log_{i}"
|
env["FD_LOG_DIR"] = env.get("FD_LOG_DIR", "log") + f"/log_{i}"
|
||||||
cmd = [
|
cmd = [
|
||||||
sys.executable,
|
sys.executable,
|
||||||
"-m",
|
"-m",
|
||||||
|
Reference in New Issue
Block a user