Skip to content

Commit

Permalink
Adjust tolerance for lu test in preparation for XLA switch from cubla…
Browse files Browse the repository at this point in the history
…s to cublasLt

PiperOrigin-RevId: 474618770
  • Loading branch information
SandSnip3r authored and jax authors committed Sep 15, 2022
1 parent fa86ce4 commit 311f85e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion jax/experimental/jax2tf/tests/jax2tf_limitations.py
Original file line number Diff line number Diff line change
Expand Up @@ -827,7 +827,12 @@ def _make_permutation_matrix(perm):
custom_numeric(
dtypes=[np.float32, np.complex64], devices=("cpu", "gpu"),
tol=1e-5),
custom_numeric(dtypes=[np.float64, np.complex128], tol=1e-13),
custom_numeric(
dtypes=[np.float64, np.complex128],
modes=("eager", "graph"),
tol=1e-13),
custom_numeric(
dtypes=[np.float64, np.complex128], modes=("compiled"), tol=1e-14),
custom_numeric(
custom_assert=custom_assert,
description=("May return different, but also correct, results when "
Expand Down

0 comments on commit 311f85e

Please sign in to comment.