Skip to content

Commit 04f4977

Browse files
generatedunixname89002005307016facebook-github-bot
generatedunixname89002005307016
authored andcommitted
suppress errors in executorch
Differential Revision: D48343382 fbshipit-source-id: dbc4979212b4b2d1d264ce8d72e8c37f1bb4ccae
1 parent 76e2e12 commit 04f4977

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exir/tests/common.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def get_graph_module_with_op(op: Callable, args: Any) -> torch.fx.GraphModule:
117117
def register_additional_test_aten_ops() -> None:
118118
# TODO: either mark those ops as canonical in native_functions.yaml,
119119
# or stop using graphs with those in tests.
120-
canonical = torch.Tag.core # pyre-ignore
120+
canonical = torch.Tag.core
121121
torch.ops.aten.max.default.tags.append(canonical)
122122
torch.ops.aten.sum.default.tags.append(canonical)
123123
torch.ops.aten.searchsorted.Tensor.tags.append(canonical)

0 commit comments

Comments
 (0)