Skip to content

Commit

Permalink
Pre-silence Pyre Errors for upcoming upgrade] [batch:79/596] [shard:2/N]
Browse files Browse the repository at this point in the history
Reviewed By: MaggieMoss

Differential Revision: D65226972

fbshipit-source-id: 465de68fb978a4abb40ce073cfc04d29e9733f1e
  • Loading branch information
generatedunixname89002005287564 authored and facebook-github-bot committed Oct 31, 2024
1 parent 5f5dc26 commit 899f3cb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tb_plugin/torch_tb_profiler/profiler/event_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,8 @@ def _parse_node(self,
' (runtime external_id, device external_id): (%s, %s)' %
(corrid, rt_node.external_id, device_node.external_id))
else:
# pyre-fixme[6]: For 1st argument expected `int` but got
# `Optional[int]`.
corrid_to_device[corrid].append(device_node)
self.device_node_list.append(device_node)
elif event.type == EventTypes.RUNTIME:
Expand Down

0 comments on commit 899f3cb

Please sign in to comment.