1- # Copyright 2025 Arm Limited and/or its affiliates.
1+ # Copyright 2025-2026 Arm Limited and/or its affiliates.
22#
33# This source code is licensed under the BSD-style license found in the
44# LICENSE file in the root directory of this source tree.
@@ -77,13 +77,6 @@ def test_native_group_norm_tosa_FP(test_data):
7777@common .parametrize (
7878 "test_data" ,
7979 test_data_suite ,
80- xfails = {
81- "randn_1_12_8_6_groups_12" : "MLETORCH-925: Fix numerical issue for aten.native_group_norm" ,
82- "rand_6_8_10_12_groups_1" : "MLETORCH-925: Fix numerical issue for aten.native_group_norm" ,
83- "rand_6_8_10_12_groups_4_no_affine" : "MLETORCH-925: Fix numerical issue for aten.native_group_norm" ,
84- "rand_6_8_10_12_groups_8" : "MLETORCH-925: Fix numerical issue for aten.native_group_norm" ,
85- },
86- strict = False ,
8780)
8881def test_native_group_norm_tosa_INT (test_data ):
8982 aten_op = "torch.ops.aten.sub.Tensor" # 'sub' op arbitrarily chosen to confirm groupnorm was decomposed
@@ -101,16 +94,6 @@ def test_native_group_norm_tosa_INT(test_data):
10194@common .parametrize (
10295 "test_data" ,
10396 test_data_suite ,
104- xfails = {
105- "rand_4_6_8_groups_2_eps_no_affine" : "MLETORCH-925: Fix numerical issue for aten.native_group_norm" ,
106- "rand_4_6_groups_1" : "MLETORCH-925: Fix numerical issue for aten.native_group_norm" ,
107- "rand_4_6_groups_2" : "MLETORCH-925: Fix numerical issue for aten.native_group_norm" ,
108- "randn_1_12_8_6_groups_12" : "MLETORCH-925: Fix numerical issue for aten.native_group_norm" ,
109- "rand_6_8_10_12_groups_1" : "MLETORCH-925: Fix numerical issue for aten.native_group_norm" ,
110- "rand_6_8_10_12_groups_4_no_affine" : "MLETORCH-925: Fix numerical issue for aten.native_group_norm" ,
111- "rand_6_8_10_12_groups_8" : "MLETORCH-925: Fix numerical issue for aten.native_group_norm" ,
112- },
113- strict = False ,
11497)
11598@common .XfailIfNoCorstone300
11699def test_native_group_norm_u55_INT (test_data ):
@@ -127,13 +110,6 @@ def test_native_group_norm_u55_INT(test_data):
127110@common .parametrize (
128111 "test_data" ,
129112 test_data_suite ,
130- xfails = {
131- "randn_1_12_8_6_groups_12" : "MLETORCH-925: Fix numerical issue for aten.native_group_norm" ,
132- "rand_6_8_10_12_groups_1" : "MLETORCH-925: Fix numerical issue for aten.native_group_norm" ,
133- "rand_6_8_10_12_groups_4_no_affine" : "MLETORCH-925: Fix numerical issue for aten.native_group_norm" ,
134- "rand_6_8_10_12_groups_8" : "MLETORCH-925: Fix numerical issue for aten.native_group_norm" ,
135- },
136- strict = False ,
137113)
138114@common .XfailIfNoCorstone320
139115def test_native_group_norm_u85_INT (test_data ):
@@ -150,13 +126,6 @@ def test_native_group_norm_u85_INT(test_data):
150126@common .parametrize (
151127 "test_data" ,
152128 test_data_suite ,
153- xfails = {
154- "randn_1_12_8_6_groups_12" : "MLETORCH-925: Fix numerical issue" ,
155- "rand_6_8_10_12_groups_1" : "MLETORCH-925: Fix numerical issue" ,
156- "rand_6_8_10_12_groups_4_no_affine" : "MLETORCH-925: Fix numerical issue" ,
157- "rand_6_8_10_12_groups_8" : "MLETORCH-925: Fix numerical issue" ,
158- },
159- strict = False ,
160129)
161130@common .SkipIfNoModelConverter
162131def test_native_group_norm_vgf_no_quant (test_data ):
@@ -176,13 +145,6 @@ def test_native_group_norm_vgf_no_quant(test_data):
176145@common .parametrize (
177146 "test_data" ,
178147 test_data_suite ,
179- xfails = {
180- "randn_1_12_8_6_groups_12" : "MLETORCH-925: Fix numerical issue" ,
181- "rand_6_8_10_12_groups_1" : "MLETORCH-925: Fix numerical issue" ,
182- "rand_6_8_10_12_groups_4_no_affine" : "MLETORCH-925: Fix numerical issue" ,
183- "rand_6_8_10_12_groups_8" : "MLETORCH-925: Fix numerical issue" ,
184- },
185- strict = False ,
186148)
187149@common .SkipIfNoModelConverter
188150def test_native_group_norm_vgf_quant (test_data ):
0 commit comments