Skip to content

Commit 5620410

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

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

backends/arm/test/ops/test_conv_combos.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
# This source code is licensed under the BSD-style license found in the
55
# LICENSE file in the root directory of this source tree.
66

7+
import logging
78
import unittest
89

910
from typing import Tuple
@@ -13,6 +14,9 @@
1314
from executorch.backends.arm.test.test_models import TosaProfile
1415
from executorch.backends.arm.test.tester.arm_tester import ArmBackendSelector, ArmTester
1516

17+
logger = logging.getLogger(__name__)
18+
logger.setLevel(logging.INFO)
19+
1620
"""
1721
This file contain unit tests where conv are combined with other ops.
1822
"""
@@ -145,7 +149,7 @@ def _test_conv_combo_tosa_MI_pipeline(
145149
if common.TOSA_REF_MODEL_INSTALLED:
146150
tester.run_method().compare_outputs()
147151
else:
148-
common.logger.warning(
152+
logger.warning(
149153
"TOSA ref model tool not installed, skip numerical correctness tests"
150154
)
151155

@@ -175,7 +179,7 @@ def _test_conv_combo_tosa_BI_pipeline(
175179
if common.TOSA_REF_MODEL_INSTALLED:
176180
tester.run_method().compare_outputs(atol=atol, rtol=rtol, qtol=1)
177181
else:
178-
common.logger.warning(
182+
logger.warning(
179183
"TOSA ref model tool not installed, skip numerical correctness tests"
180184
)
181185

0 commit comments

Comments
 (0)