[CI/UT][PD Disaggreate] Initialize PD Disaggreate UT (#889)
Initialize PD Disaggreate UT --------- Signed-off-by: MengqingCao <cmq0113@163.com>
This commit is contained in:
@@ -13,7 +13,7 @@ import time
|
||||
from multiprocessing import Event, Process
|
||||
|
||||
kv_connector_extra_config = {
|
||||
"prompt_device_ips": ["1.2.3.1", "1.2.3.2"],
|
||||
"prefill_device_ips": ["1.2.3.1", "1.2.3.2"],
|
||||
"decode_device_ips": ["1.2.3.9", "1.2.3.10"],
|
||||
"llmdatadist_comm_port": 26000,
|
||||
}
|
||||
|
||||
@@ -181,6 +181,13 @@ async def handle_request():
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
t = start_service_discovery("0.0.0.0", 30001)
|
||||
app.run(host="0.0.0.0", port=10001)
|
||||
import argparse
|
||||
parser = argparse.ArgumentParser(
|
||||
description="args of disaggregated-prefill proxy")
|
||||
parser.add_argument("--http-port", type=int, default=10001)
|
||||
parser.add_argument("--register-port", type=int, default=10002)
|
||||
args = parser.parse_args()
|
||||
|
||||
t = start_service_discovery("0.0.0.0", args.register_port)
|
||||
app.run(host="0.0.0.0", port=args.http_port)
|
||||
t.join()
|
||||
|
||||
Reference in New Issue
Block a user