Skip to content

Commit

Permalink
Disable flaky test TestQuantLoweringCustomBackendPass (#2465)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #2465

imported-using-ghimport

Test Plan: Imported from OSS

Reviewed By: huydhn

Differential Revision: D54966578

Pulled By: guangy10

fbshipit-source-id: a72067fc6cfccc9e53ef0c158919681ba03fd4d8
  • Loading branch information
guangy10 authored and facebook-github-bot committed Mar 16, 2024
1 parent bad9c6e commit 1a3c56e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions exir/tests/TARGETS
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ python_unittest(
"test_quant_lowering_custom_backend_pass.py",
],
deps = [
"//caffe2:test-lib", # @manual
"//caffe2:torch",
"//executorch/exir:lib",
"//executorch/exir:pass_base",
Expand Down
4 changes: 4 additions & 0 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,9 @@ class TestQuantLoweringCustomBackendPass(unittest.TestCase):
def setUp(self) -> None:
super().setUp()

@unittest.skipIf(
IS_LINUX, "Flaky test on Linux x86, needs debugging. Issue is tracked in #2468"
)
@torch.inference_mode() # TODO Use for capturing.
def test(self) -> None:
mod = TestModel(
Expand Down

0 comments on commit 1a3c56e

Please sign in to comment.