Skip to content

Commit 39c2a4f

Browse files
Arm backend: Bump vela to 5.1.0
Signed-off-by: Oscar Andersson <oscar.andersson@arm.com> Change-Id: I0f5d97e2eb3cbb2d9c2a74eecc6f2f9d26386a09
1 parent c7a0b68 commit 39c2a4f

6 files changed

Lines changed: 8 additions & 28 deletions

File tree

backends/arm/requirements-arm-ethos-u.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55

66
# These dependencies need to match pyproject.toml
77

8-
ethos-u-vela == 5.0.0
8+
ethos-u-vela == 5.1.0
99
pte-adapter-model-explorer == 0.0.2

backends/arm/test/ops/test_index_copy.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,6 @@ def forward(
9393
return x.index_copy(dim, index, y)
9494

9595

96-
xfails_u85 = {
97-
"rand_single_index_not_zero_out_of_place": "MLETORCH-1949: index_copy (SCATTER/INDEX_PUT) produces incorrect results for non-zero indices on U85",
98-
"rand_single_index_not_zero_in_place": "MLETORCH-1949: index_copy (SCATTER/INDEX_PUT) produces incorrect results for non-zero indices on U85",
99-
}
100-
101-
10296
@common.parametrize("test_data", IndexCopyModule.test_data)
10397
def test_index_copy_tosa_FP(test_data):
10498
inputs, inplace = test_data()
@@ -139,7 +133,7 @@ def test_index_copy_u55_INT(test_data):
139133
pipeline.run()
140134

141135

142-
@common.parametrize("test_data", IndexCopyModule.test_data, xfails=xfails_u85)
136+
@common.parametrize("test_data", IndexCopyModule.test_data)
143137
@common.XfailIfNoCorstone320
144138
def test_index_copy_u85_INT(test_data):
145139
inputs, inplace = test_data()

backends/arm/test/ops/test_index_put.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,6 @@ def test_index_put_u55_INT(test_module: input_t):
404404
@common.parametrize(
405405
"test_module",
406406
test_data_suite_fp | test_data_int,
407-
xfails={"none_indices_4": "Incorrect numerical behavior: MLBEDSW-11589"},
408407
)
409408
def test_index_put_u85_INT(test_module: input_t):
410409
"""same_index test case already supported on u85 even though it is not

backends/arm/test/ops/test_layer_norm.py

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -179,13 +179,7 @@ def test_native_layer_norm_tosa_INT_a16w8(test_data):
179179
pipeline.run()
180180

181181

182-
@common.parametrize(
183-
"test_data",
184-
test_data_suite,
185-
xfails={
186-
"randn_last_dim": "MLETORCH-1834 - 16A8W native_layer_norm output diff for certain configurations."
187-
},
188-
)
182+
@common.parametrize("test_data", test_data_suite)
189183
@common.XfailIfNoCorstone300
190184
def test_native_layer_norm_16a8w_u55_INT(test_data):
191185
"""Test layer_norm with int16 I/O quantization for U55."""
@@ -196,18 +190,13 @@ def test_native_layer_norm_16a8w_u55_INT(test_data):
196190
"torch.ops.aten.sub.Tensor",
197191
symmetric_io_quantization=True,
198192
a16w8_quantization=True,
199-
qtol=128,
193+
qtol=400,
200194
epsilon=2**-16,
201195
)
202196
pipeline.run()
203197

204198

205-
u85_xfails_16a8w = {
206-
"randn_last_dim": "MLETORCH-1834 - 16A8W native_layer_norm output diff for certain configurations.",
207-
}
208-
209-
210-
@common.parametrize("test_data", test_data_suite, xfails=u85_xfails_16a8w)
199+
@common.parametrize("test_data", test_data_suite)
211200
@common.XfailIfNoCorstone320
212201
def test_native_layer_norm_16a8w_u85_INT(test_data):
213202
"""Test layer_norm with int16 I/O quantization for U85."""
@@ -218,7 +207,7 @@ def test_native_layer_norm_16a8w_u85_INT(test_data):
218207
"torch.ops.aten.sub.Tensor",
219208
symmetric_io_quantization=True,
220209
a16w8_quantization=True,
221-
qtol=128,
210+
qtol=400,
222211
epsilon=2**-16,
223212
)
224213
pipeline.run()

backends/arm/test/ops/test_unary_combos.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,7 @@ def test_add_tensor_tosa_INT_combos(model_cls):
104104

105105

106106
@common.XfailIfNoCorstone300
107-
@common.parametrize(
108-
"model_cls", MODEL_DATA, xfails={"NegAdd": "Numerical failure. MLBEDSW-11581"}
109-
)
107+
@common.parametrize("model_cls", MODEL_DATA)
110108
def test_add_tensor_u55_INT_combos(model_cls):
111109
m, inputs, exir = _build(model_cls)
112110
p = EthosU55PipelineINT[Tensor1](

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ ethos_u = [
7878
# AoT ethos_u dependencies
7979
# Keep this in sync with AoT deps backends/arm/requirements-arm-ethos-u.txt and
8080
# backends/arm/requirements-arm-tosa.txt.
81-
"ethos-u-vela==5.0.0",
81+
"ethos-u-vela==5.1.0",
8282
"ml_dtypes==0.5.1",
8383
"tosa-tools==2026.2.1",
8484
]

0 commit comments

Comments
 (0)