Skip to content

Commit aa6504f

Browse files
Set strict=True in compare_mlx_and_py
1 parent 838a85d commit aa6504f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/link/mlx/test_basic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def compare_mlx_and_py(
5454
5555
"""
5656
if assert_fn is None:
57-
assert_fn = partial(np.testing.assert_allclose, rtol=1e-4)
57+
assert_fn = partial(np.testing.assert_allclose, rtol=1e-4, strict=True)
5858

5959
if any(inp.owner is not None for inp in graph_inputs):
6060
raise ValueError("Inputs must be root variables")

0 commit comments

Comments
 (0)