From 04f4977d657f40a53348d8a59a335d8d5b0ba6a1 Mon Sep 17 00:00:00 2001 From: generatedunixname89002005307016 Date: Tue, 15 Aug 2023 00:18:22 -0700 Subject: [PATCH] suppress errors in `executorch` Differential Revision: D48343382 fbshipit-source-id: dbc4979212b4b2d1d264ce8d72e8c37f1bb4ccae --- exir/tests/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exir/tests/common.py b/exir/tests/common.py index 358f993069..6fc83117ac 100644 --- a/exir/tests/common.py +++ b/exir/tests/common.py @@ -117,7 +117,7 @@ def get_graph_module_with_op(op: Callable, args: Any) -> torch.fx.GraphModule: def register_additional_test_aten_ops() -> None: # TODO: either mark those ops as canonical in native_functions.yaml, # or stop using graphs with those in tests. - canonical = torch.Tag.core # pyre-ignore + canonical = torch.Tag.core torch.ops.aten.max.default.tags.append(canonical) torch.ops.aten.sum.default.tags.append(canonical) torch.ops.aten.searchsorted.Tensor.tags.append(canonical)