From f3ac513d92b9eb72bb5059fb3bbed818b6be281d Mon Sep 17 00:00:00 2001 From: "minke.yu" Date: Tue, 13 Oct 2026 16:01:18 +0800 Subject: [PATCH] DEBUG-ONLY: limit ARDBG stack logging to ONE_SHOT_PUSH calls (volume control) --- .../distributed/device_communicators/custom_all_reduce_v2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/sglang/srt/distributed/device_communicators/custom_all_reduce_v2.py b/python/sglang/srt/distributed/device_communicators/custom_all_reduce_v2.py index ed531df132..75c2b3f19b 100644 --- a/python/sglang/srt/distributed/device_communicators/custom_all_reduce_v2.py +++ b/python/sglang/srt/distributed/device_communicators/custom_all_reduce_v2.py @@ -396,7 +396,7 @@ class CustomAllReduceV2: use_graph, torch.cuda.is_current_stream_capturing(), ) - if _AR_SEQ_DEBUG >= 2: + if _AR_SEQ_DEBUG >= 2 and getattr(algo, "name", algo) == "ONE_SHOT_PUSH": logger.info( "[ARDBG] stack rank=%s seq=%d\n%s", self._dbg_rank,