Skip to content

Commit

Permalink
Clean up errors and remove unused ignores] [batch:93/695] [shard:4/N]
Browse files Browse the repository at this point in the history
Reviewed By: MaggieMoss

Differential Revision: D66312533

fbshipit-source-id: 3f6b8c82429d40f1c6eeb2310582a53641d97863
  • Loading branch information
generatedunixname89002005287564 authored and facebook-github-bot committed Nov 21, 2024
1 parent d9673d2 commit 66b32a0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tb_plugin/torch_tb_profiler/profiler/event_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,9 +328,6 @@ def _parse_step(self, event: DurationEvent, comm_nodes: Dict[int, CommunicationN
def _find_device_steps(self, runtime_node_list: List[RuntimeNode]):
"""return steps associated with device nodes.
"""
# pyre-fixme[9]: runtime_node_list has type `List[RuntimeNode]`; used as
# `List[Variable[SupportsRichComparisonT (bound to
# Union[SupportsDunderGT[typing.Any], SupportsDunderLT[typing.Any]])]]`.
runtime_node_list = sorted(runtime_node_list, key=lambda x: x.start_time)

# Use similar code with two-way merge to get all runtimes inside each host-side step span,
Expand Down

0 comments on commit 66b32a0

Please sign in to comment.