Skip to content

Disable flaky test TestQuantLoweringCustomBackendPass #2465

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions exir/tests/test_quant_lowering_custom_backend_pass.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
from torch.fx import subgraph_rewriter
from torch.fx.passes.infra.pass_base import PassResult
from torch.testing import FileCheck
from torch.testing._internal.common_utils import IS_LINUX


# pyre-ignore
Expand Down Expand Up @@ -506,6 +507,7 @@ class TestQuantLoweringCustomBackendPass(unittest.TestCase):
def setUp(self) -> None:
super().setUp()

@unittest.skipIf(IS_LINUX, "Flaky test on Linux x86, needs debugging")
@torch.inference_mode() # TODO Use for capturing.
def test(self) -> None:
mod = TestModel(
Expand Down Expand Up @@ -975,10 +977,7 @@ def test_qat_linear(self) -> None:
backend_config=get_executorch_backend_config(),
)
print("converted:", converted_mod)
captured_mod = exir.capture(
converted_mod,
example_inputs,
).to_edge(
captured_mod = exir.capture(converted_mod, example_inputs,).to_edge(
exir.EdgeCompileConfig(_check_ir_validity=False, _use_edge_ops=True)
)

Expand Down