revert sort + flaky test

This commit is contained in:
Awni Hannun
2025-05-16 13:40:51 -07:00
parent 3b169acf50
commit ff1c6fc148
2 changed files with 30 additions and 12 deletions

View File

@@ -634,6 +634,7 @@ class TestVmap(mlx_tests.MLXTestCase):
self.assertEqual(fy.shape, (4, 5, 6, 7))
def test_leaks(self):
mx.synchronize()
if mx.metal.is_available():
mem_pre = mx.get_active_memory()
else: