Skip to content

Commit

Permalink
suppress errors in executorch
Browse files Browse the repository at this point in the history
Differential Revision: D48343382

fbshipit-source-id: dbc4979212b4b2d1d264ce8d72e8c37f1bb4ccae
  • Loading branch information
generatedunixname89002005307016 authored and facebook-github-bot committed Aug 15, 2023
1 parent 76e2e12 commit 04f4977
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exir/tests/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 04f4977

Please sign in to comment.