Skip to content

Commit

Permalink
Bump test tolerance on FFT test that started failing in CI after an X…
Browse files Browse the repository at this point in the history
…LA change.

PiperOrigin-RevId: 679715691
  • Loading branch information
hawkinsp authored and Google-ML-Automation committed Sep 27, 2024
1 parent 366c823 commit 061f435
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/fft_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def testFftn(self, inverse, real, shape, dtype, axes, s, norm):
# Numpy promotes to complex128 aggressively.
self._CheckAgainstNumpy(np_fn, jnp_fn, args_maker, check_dtypes=False,
tol=1e-4)
self._CompileAndCheck(jnp_fn, args_maker)
self._CompileAndCheck(jnp_fn, args_maker, atol={np.complex64: 2e-6})
# Test gradient for differentiable types.
if (config.enable_x64.value and
dtype in (float_dtypes if real and not inverse else inexact_dtypes)):
Expand Down

0 comments on commit 061f435

Please sign in to comment.