fix: use dp_size instead of attn_dp_size for msprobe rank id (#43041)

Co-authored-by: l30044004 <louyujing@huawei.com>
Co-authored-by: Claude Code <noreply@anthropic.com>
This commit is contained in:
Yujing
2026-10-09 09:40:43 +03:00
committed by GitHub
co-authored by l30044004 Claude Code
parent 217980566a
commit e0608d890e
@@ -1750,7 +1750,7 @@ class ModelRunner:
# Try msprob debugger
if self.msprobe_debugger is not None:
rank_id = self.gpu_id if get_parallel().attn_dp_size > 1 else None
rank_id = self.gpu_id if get_parallel().dp_size > 1 else None
self.msprobe_debugger.start(model=self.model, rank_id=rank_id)
# Step span