Skip to content
Merged
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
2 changes: 1 addition & 1 deletion src/trace_link/trace_linker.py
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ def get_start_timestamp_for_gpu_op(self, kineto_gpu_op: KinetoOperator) -> int:
return cpu_launcher_op.timestamp + cpu_launcher_op.inclusive_dur
if kineto_gpu_op.external_id in self.kineto_id_arrow_op_map:
return self.kineto_id_arrow_op_map[kineto_gpu_op.external_id].timestamp
raise RuntimeError(f"No valid timestamp found for GPU operator: {kineto_gpu_op.name}")
raise RuntimeError(f"No valid timestamp found for GPU operator: {kineto_gpu_op}")

def find_closest_op(
self, kineto_gpu_op: KinetoOperator, kineto_ops: List[KinetoOperator], ts: int
Expand Down