[router] add base_gpu_id server args & merged radix tree python reference (#2115)
This commit is contained in:
@@ -1380,6 +1380,10 @@ def run_scheduler_process(
|
||||
dp_rank: Optional[int],
|
||||
pipe_writer,
|
||||
):
|
||||
# [For Router] if env var "DP_RANK" exist, set dp_rank to the value of the env var
|
||||
if dp_rank is None:
|
||||
dp_rank = int(os.getenv("DP_RANK", -1))
|
||||
|
||||
if dp_rank is None:
|
||||
configure_logger(server_args, prefix=f" TP{tp_rank}")
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user