Skip to content

Commit 54c226b

Browse files
committed
Adressing CI failures
Change-Id: I7acb72e31ff005d614fba761b4c80ce8646b4646
1 parent b705860 commit 54c226b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

backends/arm/test/ops/test_conv_combos.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
from executorch.backends.arm.test.test_models import TosaProfile
1414
from executorch.backends.arm.test.tester.arm_tester import ArmBackendSelector, ArmTester
1515

16+
logger = logging.getLogger(__name__)
17+
logger.setLevel(logging.INFO)
18+
1619
"""
1720
This file contain unit tests where conv are combined with other ops.
1821
"""
@@ -145,7 +148,7 @@ def _test_conv_combo_tosa_MI_pipeline(
145148
if common.TOSA_REF_MODEL_INSTALLED:
146149
tester.run_method().compare_outputs()
147150
else:
148-
common.logger.warning(
151+
logger.warning(
149152
"TOSA ref model tool not installed, skip numerical correctness tests"
150153
)
151154

@@ -175,7 +178,7 @@ def _test_conv_combo_tosa_BI_pipeline(
175178
if common.TOSA_REF_MODEL_INSTALLED:
176179
tester.run_method().compare_outputs(atol=atol, rtol=rtol, qtol=1)
177180
else:
178-
common.logger.warning(
181+
logger.warning(
179182
"TOSA ref model tool not installed, skip numerical correctness tests"
180183
)
181184

0 commit comments

Comments
 (0)