Closed as duplicate of#339
Description
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
Metadata
Metadata
Assignees
Labels
No labels