Skip to content

Commit f22d1a3

Browse files
authored
Fix executorch pyre errors after D66937105
Differential Revision: D66967275 Pull Request resolved: #7247
1 parent b1dde3f commit f22d1a3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

backends/cadence/aot/remove_ops.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,8 @@ def call_operator(
110110

111111
# Otherwise, we replace args[0] with cat_inputs.
112112
new_args = list(args)
113-
new_args[0] = cat_inputs
113+
# pyre error introduced after D66937105
114+
new_args[0] = cat_inputs # pyre-ignore[6]
114115
return super().call_operator(op, tuple(new_args), kwargs, meta)
115116

116117

exir/passes/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,6 @@ def make_alloc_node(
302302
"Memory allocator node needs FakeTensor val or TensorMetadata to proceed"
303303
)
304304

305-
# pyre-fixme[6]
306305
alloc = graph_module.graph.call_function(memory.alloc, (alloc_spec,))
307306
alloc.meta["val"] = val
308307
alloc.meta["tensor_meta"] = tensor_meta

0 commit comments

Comments
 (0)