Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Unity][UnitTest] Increase atol to resolve flaky CI failure #16340

Conversation

Lunderberg
Copy link
Contributor

The tests/python/relax/test_frontend_onnx.py::test_attention unit test currently has sporadic failures (5/200 executions), which can cause failures for unrelated changes
(e.g. PR#16304, CI link).

This commit specifies a tolerance to use for comparisons, to avoid these spurious CI failures.

The `tests/python/relax/test_frontend_onnx.py::test_attention` unit
test currently has sporadic failures (5/200 executions), which can
cause failures for unrelated changes
(e.g. [PR#16304](apache#16304), [CI
link](https://ci.tlcpack.ai/blue/organizations/jenkins/tvm-unity/detail/PR-16304/3/pipeline)).

This commit specifies a tolerance to use for comparisons, to avoid
these spurious CI failures.
@masahi masahi merged commit 6f2fe45 into apache:unity Jan 3, 2024
15 checks passed
@Lunderberg Lunderberg deleted the unity_increase_atol_to_fix_flaky_attention_test branch January 3, 2024 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants