We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
record_shapes=True
1 parent ac83f9c commit 89541fcCopy full SHA for 89541fc
torchtitan/profiling.py
@@ -68,6 +68,7 @@ def trace_handler(prof):
68
],
69
schedule=torch.profiler.schedule(wait=wait, warmup=warmup, active=active),
70
on_trace_ready=trace_handler,
71
+ record_shapes=True,
72
) as torch_profiler:
73
torch_profiler.step_num = global_step
74
yield torch_profiler
0 commit comments