Skip to content

Commit

Permalink
reduce gradient tests tolerance
Browse files Browse the repository at this point in the history
  • Loading branch information
CosmoMatt committed Jun 14, 2024
1 parent 9300f08 commit cc307e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_gradients.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ def func(flm):
loss += jnp.mean(jnp.abs(coeffs[i]))
return loss

check_grads(func, (flm,), order=1, modes=("rev"), rtol=5e-3)
check_grads(func, (flm,), order=1, modes=("rev"), rtol=1e-2)

0 comments on commit cc307e1

Please sign in to comment.