pytorch/torch/csrc/profiler/python
Shivam Raikundalia 8486d3df69 [Profiler] Hide ProfilerStep Alignment behind Experimental Config (#137668)
Summary: Aligning ProfilerStep# annotation can be useful for visual purposes but it affects downstream tools like HTA to misreport how long each step took. For this reason, lets give users the option to turn on this alignment manually but also turn it off by default

Test Plan:
Alignment off:

https://www.internalfb.com/intern/perfdoctor/trace_view?filepath=tree/traces/dynocli/devvm2185.cco0.facebook.com/rank-0.Oct_09_16_11_48.2543945.pt.trace.json.gz&bucket=gpu_traces

Alignment on:

https://www.internalfb.com/intern/perfdoctor/trace_view?filepath=tree/traces/dynocli/devvm2185.cco0.facebook.com/rank-0.Oct_09_16_08_27.2518391.pt.trace.json.gz&bucket=gpu_traces

Differential Revision: D64146115

Pull Request resolved: https://github.com/pytorch/pytorch/pull/137668
Approved by: https://github.com/aaronenyeshi
2024-10-11 22:57:05 +00:00
..
combined_traceback.cpp
combined_traceback.h
init.cpp [Profiler] Hide ProfilerStep Alignment behind Experimental Config (#137668) 2024-10-11 22:57:05 +00:00
init.h Concat namespaces of torch/csrc/profiler code and other fixes (#128606) 2024-06-13 16:46:34 +00:00
pybind.h Concat namespaces of torch/csrc/profiler code and other fixes (#128606) 2024-06-13 16:46:34 +00:00