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

clip test is flaky #352

Closed
ev-br opened this issue Mar 20, 2025 · 0 comments
Closed

clip test is flaky #352

ev-br opened this issue Mar 20, 2025 · 0 comments

Comments

@ev-br
Copy link
Member

ev-br commented Mar 20, 2025

Intermittently observed in CI:

FAILED array_api_tests/test_operators_and_elementwise_functions.py::test_clip - AssertionError: out[()]=-16777216.0 but should be -16777217.0 [clip()]
  x[()]=0.0, min[()]=None, max[()]=-16777217.0
assert -16777216.0 == -16777217.0
Falsifying example: test_clip(
    x=array(0., dtype=float32),
    data=data(...),
)
Draw 1 (min.shape, max.shape): ((), ())
Draw 2 (min): None
Draw 3 (max): -16777217.0
Draw 4 (kwargs): {'max': -16777217.0}
Explanation:
    These lines were always and only run by failing examples:
        /home/runner/work/array-api-compat/array-api-compat/array-api-tests/array_api_tests/test_operators_and_elementwise_functions.py:1099

You can reproduce this example by temporarily adding @reproduce_failure('6.129.4', b'AXicc+Rg0GBAAEcghCBHJkdGjYMFDAwCYAlGBgBChQNl') as a decorator on your test case
@ev-br ev-br transferred this issue from data-apis/array-api-compat Mar 20, 2025
@ev-br ev-br closed this as completed Mar 20, 2025
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

No branches or pull requests

1 participant