Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion testing/npuir/testcommon.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
}

DEFAULT_TOLERANCE = {
"float16": (1e-3, 1e-3),
"float16": (1e-2, 1e-2),
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Increasing the global float16 tolerance to 1e-2 is a significant relaxation that could mask numerical regressions across the entire test suite. float16 typically supports a precision around 1e-3. A better approach to handle CI failures is to override the tolerance in specific test cases that exhibit instability on the NPU, rather than globally reducing the sensitivity of all tests.

"bfloat16": (2e-2, 2e-2),
"float32": (1e-4, 1e-4),
"int8": (0.0, 0.0),
Expand Down
Loading