这是indexloc提供的服务,不要输入任何密码
Skip to content

Horovod Timeline - How to get the duration of operations? #3512

Answered by maxhgerlach
Snoeprol asked this question in Q&A
Discussion options

You must be logged in to vote

"ph" (phase) can be, among others, "B" (begin) and "E" (end). "ts" is the associated timestamp (μsec, I believe). Multiple duration events can be nested.

{"ph": "B", "name": "NEGOTIATE_ALLREDUCE", "ts": 562372176, "pid": 2955},
{"ph": "X", "name": "3", "ts": 562372179, "pid": 2955, "dur": 0},
{"ph": "X", "name": "0", "ts": 562377251, "pid": 2955, "dur": 0},
{"ph": "X", "name": "2", "ts": 562377304, "pid": 2955, "dur": 0},
{"ph": "X", "name": "1", "ts": 562378267, "pid": 2955, "dur": 0},
{"ph": "E", "ts": 562378269, "pid": 2955},

Here you have the beginning and ending time stamps of the "NEGOTIATE_ALLREDUCE" stage. The "X" events are markers when the four ranks signaled to be ready IIRC.

T…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Snoeprol
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants