mirror of
https://github.com/ml-explore/mlx.git
synced 2025-12-14 09:07:12 +08:00
Add stats and limit to common allocator and enable tests (#1988)
* add stats to common allocator and enable tests * linux memory and default * fix
This commit is contained in:
@@ -1803,7 +1803,6 @@ class TestArray(mlx_tests.MLXTestCase):
|
||||
b = pickle.loads(pickle.dumps(a))
|
||||
self.assertTrue(mx.array_equal(mx.array(a), mx.array(b)))
|
||||
|
||||
@unittest.skipIf(not mx.metal.is_available(), "Metal is not available")
|
||||
def test_multi_output_leak(self):
|
||||
def fun():
|
||||
a = mx.zeros((2**20))
|
||||
|
||||
Reference in New Issue
Block a user