mirror of
https://github.com/ml-explore/mlx.git
synced 2025-10-18 15:28:16 +08:00
fix (#1654)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
# Copyright © 2023-2024 Apple Inc.
|
||||
|
||||
import gc
|
||||
import operator
|
||||
import pickle
|
||||
import resource
|
||||
@@ -1942,6 +1943,7 @@ class TestArray(mlx_tests.MLXTestCase):
|
||||
return b
|
||||
|
||||
t()
|
||||
gc.collect()
|
||||
expected = get_mem()
|
||||
for _ in range(100):
|
||||
t()
|
||||
|
Reference in New Issue
Block a user