mirror of
https://github.com/ml-explore/mlx.git
synced 2025-06-24 17:31:16 +08:00
Increase test tolerance for fast.layer_norm (#880)
This commit is contained in:
parent
9663c22fe9
commit
fcda3a0e66
@ -181,7 +181,7 @@ class TestFast(mlx_tests.MLXTestCase):
|
|||||||
return x
|
return x
|
||||||
|
|
||||||
# Per dtype absolute tolerance
|
# Per dtype absolute tolerance
|
||||||
tolerances = {mx.float32: 2e-6, mx.float16: 2e-3, mx.bfloat16: 2e-2}
|
tolerances = {mx.float32: 3e-6, mx.float16: 3e-3, mx.bfloat16: 3e-2}
|
||||||
|
|
||||||
dtypes = [mx.float32, mx.float16, mx.bfloat16]
|
dtypes = [mx.float32, mx.float16, mx.bfloat16]
|
||||||
epss = [1e-3, 1e-5]
|
epss = [1e-3, 1e-5]
|
||||||
|
Loading…
Reference in New Issue
Block a user