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
26 changes: 3 additions & 23 deletions backends/arm/test/ops/test_split.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 Arm Limited and/or its affiliates.
# Copyright 2024-2025 Arm Limited and/or its affiliates.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
Expand Down Expand Up @@ -101,7 +101,6 @@ def _test_split_ethosu_BI_pipeline(
)
.quantize()
.export()
.check(["torch.ops.aten.split.Tensor"])
.to_edge()
.partition()
.check_count({"torch.ops.higher_order.executorch_call_delegate": 1})
Expand Down Expand Up @@ -129,33 +128,14 @@ def test_split_two_out_tosa_MI(self, test_data: test_data_t):
def test_split_tosa_BI(self, test_data: test_data_t):
self._test_split_tosa_BI_pipeline(self.Split(), test_data)

@parameterized.expand(
[Split.test_data[0], Split.test_data[1], Split.test_data[2], Split.test_data[4]]
)
@parameterized.expand(Split.test_data)
def test_split_u55_BI(self, test_data: test_data_t):
self._test_split_ethosu_BI_pipeline(
common.get_u55_compile_spec(), self.Split(), test_data
)

# TODO MLETORCH-350
@parameterized.expand([Split.test_data[3], Split.test_data[5]])
@unittest.expectedFailure
def test_split_u55_BI_skip(self, test_data: test_data_t):
self._test_split_ethosu_BI_pipeline(
common.get_u55_compile_spec(), self.Split(), test_data
)

@parameterized.expand(
[Split.test_data[0], Split.test_data[1], Split.test_data[2], Split.test_data[4]]
)
@parameterized.expand(Split.test_data)
def test_split_u85_BI(self, test_data: test_data_t):
self._test_split_ethosu_BI_pipeline(
common.get_u85_compile_spec(), self.Split(), test_data
)

@parameterized.expand([Split.test_data[3], Split.test_data[5]])
@unittest.expectedFailure
def test_split_u85_BI_skip(self, test_data: test_data_t):
self._test_split_ethosu_BI_pipeline(
common.get_u85_compile_spec(), self.Split(), test_data
)
Loading