Skip to content
Merged
Changes from all commits
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
15 changes: 5 additions & 10 deletions backends/arm/test/passes/test_fuse_constant_ops_pass.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
# LICENSE file in the root directory of this source tree.

import operator
import unittest
from typing import Tuple

import torch
Expand All @@ -13,10 +12,7 @@
FuseConstantArgsPass,
)
from executorch.backends.arm.test import common
from executorch.backends.arm.test.tester.test_pipeline import (
PassPipeline,
TosaPipelineBI,
)
from executorch.backends.arm.test.tester.test_pipeline import PassPipeline

input_t = Tuple[torch.Tensor] # Input x

Expand Down Expand Up @@ -111,15 +107,14 @@ def test_fuse_const_ops_tosa_MI(module: torch.nn.Module):
pipeline.run()


@unittest.skip("Test failing on internal CI")
@common.parametrize("module", modules)
def test_fuse_const_ops_tosa_BI(module: torch.nn.Module):
pipeline = TosaPipelineBI[input_t](
pipeline = PassPipeline[input_t](
module,
(torch.rand(10, 10),),
[],
[],
quantize=True,
use_to_edge_transform_and_lower=True,
ops_before_pass=module.ops_before_pass,
ops_after_pass=module.ops_after_pass,
passes_with_exported_program=[ComputeConstantOpsAOT, FuseConstantArgsPass],
)
pipeline.run()
Loading