Skip to content

Commit 70bffae

Browse files
authored
Arm backend: Use default run_on_fvp=True unless explicitly set to False
Differential Revision: D83260806 Pull Request resolved: #14504
1 parent 4a644b7 commit 70bffae

File tree

94 files changed

+111
-251
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+111
-251
lines changed

backends/arm/test/misc/test_conv_relu_residual_add.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ def test_tosa_u55_INT(per_channel_quantization):
8585
model_inputs,
8686
[],
8787
[],
88-
run_on_fvp=True,
8988
use_to_edge_transform_and_lower=True,
9089
per_channel_quantization=per_channel_quantization,
9190
qtol=0,
@@ -102,7 +101,6 @@ def test_tosa_u85_INT(per_channel_quantization):
102101
model_inputs,
103102
[],
104103
[],
105-
run_on_fvp=True,
106104
use_to_edge_transform_and_lower=True,
107105
per_channel_quantization=per_channel_quantization,
108106
qtol=0,

backends/arm/test/misc/test_debug_feats.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,9 +262,10 @@ def forward(self, x):
262262

263263

264264
@common.parametrize("test_data", Add.inputs)
265+
@common.XfailIfNoCorstone300
265266
def test_fail_dump_tosa_ops(caplog, test_data: input_t1):
266267
pipeline = EthosU55PipelineINT[input_t1](
267-
Add(), test_data, [], [], use_to_edge_transform_and_lower=True, run_on_fvp=False
268+
Add(), test_data, [], [], use_to_edge_transform_and_lower=True
268269
)
269270
pipeline.dump_operator_distribution("to_edge_transform_and_lower")
270271
pipeline.run()

backends/arm/test/models/test_conformer.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ def test_conformer_u55_INT():
9292
aten_ops=TestConformer.aten_ops,
9393
exir_ops=[],
9494
use_to_edge_transform_and_lower=True,
95-
run_on_fvp=True,
9695
)
9796
pipeline.change_args(
9897
"run_method_and_compare_outputs",
@@ -114,7 +113,6 @@ def test_conformer_u85_INT():
114113
aten_ops=TestConformer.aten_ops,
115114
exir_ops=[],
116115
use_to_edge_transform_and_lower=True,
117-
run_on_fvp=True,
118116
)
119117
pipeline.change_args(
120118
"run_method_and_compare_outputs",

backends/arm/test/models/test_dl3_arm.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ def test_dl3_u55_INT():
6666
TestDl3.model_example_inputs,
6767
aten_ops=[],
6868
exir_ops=[],
69-
run_on_fvp=True,
7069
)
7170
pipeline.change_args(
7271
"run_method_and_compare_outputs", rtol=1.0, atol=1.0
@@ -82,7 +81,6 @@ def test_dl3_u85_INT():
8281
TestDl3.model_example_inputs,
8382
aten_ops=[],
8483
exir_ops=[],
85-
run_on_fvp=True,
8684
)
8785
pipeline.change_args(
8886
"run_method_and_compare_outputs", rtol=1.0, atol=1.0

backends/arm/test/models/test_inception_v3_arm.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ def test_ic3_u55_BI():
6666
model_inputs,
6767
aten_ops=[],
6868
exir_ops=[],
69-
run_on_fvp=True,
7069
use_to_edge_transform_and_lower=True,
7170
atol=0.6,
7271
qtol=1,
@@ -83,7 +82,6 @@ def test_ic3_u85_BI():
8382
model_inputs,
8483
aten_ops=[],
8584
exir_ops=[],
86-
run_on_fvp=True,
8785
use_to_edge_transform_and_lower=True,
8886
atol=0.6,
8987
qtol=1,

backends/arm/test/models/test_lstm_arm.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ def test_lstm_u55_INT():
7777
aten_ops=[],
7878
exir_ops=[],
7979
use_to_edge_transform_and_lower=True,
80-
run_on_fvp=True,
8180
)
8281
pipeline.change_args(
8382
"run_method_and_compare_outputs", get_test_inputs(), atol=3e-1, qtol=1.0
@@ -93,7 +92,6 @@ def test_lstm_u85_INT():
9392
aten_ops=[],
9493
exir_ops=[],
9594
use_to_edge_transform_and_lower=True,
96-
run_on_fvp=True,
9795
)
9896
pipeline.change_args(
9997
"run_method_and_compare_outputs", get_test_inputs(), atol=3e-1, qtol=1.0

backends/arm/test/models/test_mobilenet_v2_arm.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ def test_mv2_u55_INT(per_channel_quantization):
8787
model_inputs,
8888
aten_ops=[],
8989
exir_ops=[],
90-
run_on_fvp=True,
9190
use_to_edge_transform_and_lower=True,
9291
per_channel_quantization=per_channel_quantization,
9392
atol=0.25,
@@ -105,7 +104,6 @@ def test_mv2_u85_INT(per_channel_quantization):
105104
model_inputs,
106105
aten_ops=[],
107106
exir_ops=[],
108-
run_on_fvp=True,
109107
use_to_edge_transform_and_lower=True,
110108
per_channel_quantization=per_channel_quantization,
111109
atol=0.25,

backends/arm/test/models/test_mobilenet_v3_arm.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ def test_mv3_u55_INT():
6161
model_inputs,
6262
aten_ops=[],
6363
exir_ops=[],
64-
run_on_fvp=True,
6564
use_to_edge_transform_and_lower=True,
6665
atol=0.5,
6766
qtol=1,
@@ -77,7 +76,6 @@ def test_mv3_u85_INT():
7776
model_inputs,
7877
aten_ops=[],
7978
exir_ops=[],
80-
run_on_fvp=True,
8179
use_to_edge_transform_and_lower=True,
8280
atol=0.5,
8381
qtol=1,

backends/arm/test/models/test_resnet18.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ def test_resnet_u55_INT(per_channel_quantization):
6969
model_inputs,
7070
aten_ops=[],
7171
exir_ops=[],
72-
run_on_fvp=True,
7372
use_to_edge_transform_and_lower=True,
7473
per_channel_quantization=per_channel_quantization,
7574
atol=0.5,
@@ -90,7 +89,6 @@ def test_resnet_u85_INT(per_channel_quantization):
9089
model_inputs,
9190
aten_ops=[],
9291
exir_ops=[],
93-
run_on_fvp=True,
9492
use_to_edge_transform_and_lower=True,
9593
per_channel_quantization=per_channel_quantization,
9694
atol=0.5,

backends/arm/test/models/test_w2l_arm.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ def test_w2l_u55_INT():
9191
aten_ops=[],
9292
exir_ops=[],
9393
use_to_edge_transform_and_lower=True,
94-
run_on_fvp=True,
9594
)
9695
pipeline.run()
9796

@@ -106,7 +105,6 @@ def test_w2l_u85_INT():
106105
aten_ops=[],
107106
exir_ops=[],
108107
use_to_edge_transform_and_lower=True,
109-
run_on_fvp=True,
110108
)
111109
pipeline.run()
112110

0 commit comments

Comments
 (0)