Rename DP_RANK to SGLANG_DP_RANK (#2218)
This commit is contained in:
1 parent
fed4c6946a
commit
2a02185c5f
2 files changed
+5
-5
No files matched your search
@@ -38,8 +38,8 @@ def setup_logger():
|
||||
def run_server(server_args, dp_rank):
|
||||
os.setpgrp() # Create new process group
|
||||
|
||||
# Set DP_RANK environment variable
|
||||
os.environ["DP_RANK"] = str(dp_rank)
|
||||
# Set SGLANG_DP_RANK environment variable
|
||||
os.environ["SGLANG_DP_RANK"] = str(dp_rank)
|
||||
|
||||
launch_server(server_args)
|
||||
|
||||
|
||||
Reference in new issue
Block a user