mirror of
https://github.com/ml-explore/mlx.git
synced 2025-08-08 18:16:41 +08:00
fix (#1654)
This commit is contained in:
parent
3bb5b4a302
commit
bc2a29f033
@ -1,6 +1,3 @@
|
|||||||
default_language_version:
|
|
||||||
python: python3.10
|
|
||||||
|
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/pre-commit/mirrors-clang-format
|
- repo: https://github.com/pre-commit/mirrors-clang-format
|
||||||
rev: v19.1.4
|
rev: v19.1.4
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
# Copyright © 2023-2024 Apple Inc.
|
# Copyright © 2023-2024 Apple Inc.
|
||||||
|
|
||||||
|
import gc
|
||||||
import operator
|
import operator
|
||||||
import pickle
|
import pickle
|
||||||
import resource
|
import resource
|
||||||
@ -1942,6 +1943,7 @@ class TestArray(mlx_tests.MLXTestCase):
|
|||||||
return b
|
return b
|
||||||
|
|
||||||
t()
|
t()
|
||||||
|
gc.collect()
|
||||||
expected = get_mem()
|
expected = get_mem()
|
||||||
for _ in range(100):
|
for _ in range(100):
|
||||||
t()
|
t()
|
||||||
|
Loading…
Reference in New Issue
Block a user