Skip to content

Commit a94cfea

Browse files
authored
Arm backend: Update epsilon to correct default of 2**-12 (#16096)
### Summary Epsilon was set too high in the test pipeline. Fix this to be the correct default of: 2**-12 Signed-off-by: Saoirse Stewart <[email protected]>
1 parent 9193566 commit a94cfea

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

backends/arm/test/tester/test_pipeline.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ def __init__(
376376
qtol: int = 1,
377377
dynamic_shapes: Optional[Tuple[Any]] = None,
378378
tosa_extensions: Optional[List[str]] = None,
379-
epsilon: float = 2**12,
379+
epsilon: float = 2**-12,
380380
):
381381
if tosa_extensions is None:
382382
tosa_extensions = []
@@ -570,7 +570,7 @@ def __init__(
570570
atol: float = 1e-03,
571571
rtol: float = 1e-03,
572572
qtol: int = 1,
573-
epsilon: float = 2**12,
573+
epsilon: float = 2**-12,
574574
):
575575
compile_spec = common.get_u55_compile_spec(
576576
custom_path=custom_path,
@@ -671,7 +671,7 @@ def __init__(
671671
atol: float = 1e-03,
672672
rtol: float = 1e-03,
673673
qtol: int = 1,
674-
epsilon: float = 2**12,
674+
epsilon: float = 2**-12,
675675
):
676676
compile_spec = common.get_u85_compile_spec(
677677
custom_path=custom_path,

0 commit comments

Comments
 (0)