Fix data parallel + tensor parallel (#4499)
This commit is contained in:
@@ -1786,7 +1786,7 @@ def run_scheduler_process(
|
||||
prefix = f" DP{dp_rank} TP{tp_rank}"
|
||||
|
||||
# Config the process
|
||||
# kill_itself_when_parent_died() # This is disabled because it does not work for `--dp 2`
|
||||
kill_itself_when_parent_died()
|
||||
setproctitle.setproctitle(f"sglang::scheduler{prefix.replace(' ', '_')}")
|
||||
faulthandler.enable()
|
||||
parent_process = psutil.Process().parent()
|
||||
|
||||
Reference in New Issue
Block a user