The explanation of the profile result of sglang.profiler #12489
-
|
Thanks for @sufeng-buaa , and their answer is summarized in bold below. Is there a quick help about the profiling result of following (by
(Did not find anything helpful connecting the profiler here and the Perfetto doc, any related materials would be helpful as well.)
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
yes, it is expected.
Do you mean the timelines at the top? The very top one shows the overall time range covered by the collected data. The timelines below it represent the time range of the current zoomed-in view.
I don't quite understand what you mean by 'their time events are not consistent'. Could you please explain it in more detail or show a screenshot? |
Beta Was this translation helpful? Give feedback.







yes, it is expected.
Do you mean the timelines at the top? The very top one shows the overall time range covered by the collected data. The timelines below it represent the time range of the current zoomed-in view.
sglang::scheduler 10614contains CPU profiling information; it is a process, 10614 is the pid(tgid) of this process. and each line represents a thread's flame graph entry from this process.sglang::scheduler 0contains GPU profiling information. each line tells you what operator ran on which stream.spans 80756seems to just be a marker showing when the PyTorch profiler was ena…