Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions et_replay/execution_trace.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,8 +357,8 @@ def __init__(self, json):
input_tensors = self.nodes[id].get_input_tensors()
output_tensors = self.nodes[id].get_output_tensors()

# track the various process and threads we have
if x["name"] == "__ROOT_THREAD__":
# track annonation to get thread ids of root nodes
if x["name"] == "[pytorch|profiler|execution_trace|thread]":
tid = self.nodes[id].tid
self.proc_group[pid][tid] = id

Expand Down