DEBUG-ONLY: limit ARDBG stack logging to ONE_SHOT_PUSH calls (volume control)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user