From 89d91a7c00f71b3934a9cd4d99ce15460dec2d98 Mon Sep 17 00:00:00 2001 From: Awni Hannun Date: Tue, 29 Apr 2025 12:41:07 -0700 Subject: [PATCH] higher tol --- python/tests/test_quantized.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/tests/test_quantized.py b/python/tests/test_quantized.py index 8b820975c..60ab421c6 100644 --- a/python/tests/test_quantized.py +++ b/python/tests/test_quantized.py @@ -572,7 +572,7 @@ class TestQuantized(mlx_tests.MLXTestCase): out_down = mm(params, x, wq) params[p][idx] += eps num_ds = (out_up - out_down) / (2 * eps) - self.assertAlmostEqual(dparams[p][idx], num_ds, delta=1e-2) + self.assertAlmostEqual(dparams[p][idx], num_ds, delta=2e-2) if __name__ == "__main__":