@@ -141,10 +141,6 @@ def _to_edge(expo_prog, config: EdgeCompileConfig) -> "ExirExportedProgram":
141
141
expo_prog .graph_module ,
142
142
expo_prog .graph_module .graph ,
143
143
ExportGraphSignature ([], [], [], [], {}, {}, {}, None ),
144
- # pyre-fixme[6]: For 1st argument expected `TreeSpec` but got
145
- # `Optional[TreeSpec]`.
146
- # pyre-fixme[6]: For 2nd argument expected `TreeSpec` but got
147
- # `Optional[TreeSpec]`.
148
144
CallSpec (meta .in_spec , meta .out_spec ),
149
145
{},
150
146
{},
@@ -413,10 +409,6 @@ def edge_gm_deserializer(pickled_states: bytes) -> "ExirExportedProgram":
413
409
annotated_gm .module ,
414
410
annotated_gm .graph ,
415
411
ExportGraphSignature ([], [], [], [], {}, {}, {}, None ),
416
- # pyre-fixme[6]: For 1st argument expected `TreeSpec` but got
417
- # `Optional[TreeSpec]`.
418
- # pyre-fixme[6]: For 2nd argument expected `TreeSpec` but got
419
- # `Optional[TreeSpec]`.
420
412
CallSpec (meta .in_spec , meta .out_spec ),
421
413
{},
422
414
{},
@@ -604,10 +596,6 @@ def convert_to_fake(x):
604
596
module ,
605
597
module .graph ,
606
598
ExportGraphSignature ([], [], [], [], {}, {}, {}, None ),
607
- # pyre-fixme[6]: For 1st argument expected `TreeSpec` but got
608
- # `Optional[TreeSpec]`.
609
- # pyre-fixme[6]: For 2nd argument expected `TreeSpec` but got
610
- # `Optional[TreeSpec]`.
611
599
CallSpec (meta .in_spec , meta .out_spec ),
612
600
{},
613
601
{},
@@ -953,10 +941,6 @@ def export_graph_module_to_executorch(
953
941
res .graph_module ,
954
942
res .graph_module .graph ,
955
943
ExportGraphSignature ([], [], [], [], {}, {}, {}, None ),
956
- # pyre-fixme[6]: For 1st argument expected `TreeSpec` but got
957
- # `Optional[TreeSpec]`.
958
- # pyre-fixme[6]: For 2nd argument expected `TreeSpec` but got
959
- # `Optional[TreeSpec]`.
960
944
CallSpec (meta .in_spec , meta .out_spec ),
961
945
{},
962
946
{},
0 commit comments