@@ -134,7 +134,7 @@ def execute_subgraph_from_prim_loop(
134134):
135135 """
136136 subgraph: GraphModule from sub-block.
137- iter_idx: The index of interation .
137+ iter_idx: The index of interaction .
138138 len_loop_local_arguments: The number of loop local arguments in args.
139139 """
140140
@@ -810,7 +810,7 @@ def convert_call_function_op(self, node: torch._C.Node):
810810
811811 fx_node = self .fx_graph .call_function (target , args , kwargs )
812812
813- # TODO: covnert sourceRange() into stack_trace
813+ # TODO: convert sourceRange() into stack_trace
814814 # fx_node.meta["stack_trace"] = node.sourceRange()
815815
816816 if node .outputsSize () == 1 :
@@ -883,7 +883,7 @@ def convert_aten_Int(self, node: torch._C.Node):
883883 torch .ops .aten ._local_scalar_dense .default , (to_copy_node ,)
884884 )
885885
886- # TODO: covnert sourceRange() into stack_trace
886+ # TODO: convert sourceRange() into stack_trace
887887 # fx_node.meta["stack_trace"] = node.sourceRange()
888888
889889 output_name = node .output ().debugName ()
@@ -942,7 +942,7 @@ def convert_aten_div(self, node: torch._C.Node):
942942 kwargs ,
943943 )
944944
945- # TODO: covnert sourceRange() into stack_trace
945+ # TODO: convert sourceRange() into stack_trace
946946 # fx_node.meta["stack_trace"] = node.sourceRange()
947947
948948 output_name = node .output ().debugName ()
@@ -1006,7 +1006,7 @@ def convert_aten_add(self, node: torch._C.Node):
10061006 ):
10071007 target = torch .ops .aten .add .t
10081008 else :
1009- raise RuntimeError (f"unable to determind the target for { node } " )
1009+ raise RuntimeError (f"unable to determined the target for { node } " )
10101010 else :
10111011 target = get_op_overload (node )
10121012
@@ -1565,7 +1565,7 @@ def lift_get_attr(self):
15651565 #
15661566 # This function should happen in TS2EPConverter instead of
15671567 # TS2FXGraphConverter since it gets attributes from self.ts_model
1568- # which is not accessable in TS2FXGraphConverter. It is similar to where
1568+ # which is not accessible in TS2FXGraphConverter. It is similar to where
15691569 # we collect self.name_to_param and self.name_to_buffer.
15701570 name_to_attribute_fqn : dict [str , str ] = {}
15711571
0 commit comments