[diffusion] fix: Fix profiler trace missing Python stack in diffusion pipeline (#14499)

This commit is contained in:
Xiaoyu Zhang
2025-12-05 12:12:35 +00:00
committed by GitHub
parent 2ce121a1c3
commit 5347732219
@@ -599,9 +599,7 @@ class DenoisingStage(PipelineStage):
active=batch.num_profiled_timesteps, active=batch.num_profiled_timesteps,
repeat=5, repeat=5,
), ),
on_trace_ready=lambda _: torch.profiler.tensorboard_trace_handler( on_trace_ready=None,
f"./logs"
),
record_shapes=True, record_shapes=True,
with_stack=True, with_stack=True,
) )