mirror of
https://github.com/ml-explore/mlx.git
synced 2025-08-08 09:56:48 +08:00
fix (#1654)
This commit is contained in:
parent
3bb5b4a302
commit
bc2a29f033
@ -1,6 +1,3 @@
|
||||
default_language_version:
|
||||
python: python3.10
|
||||
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/mirrors-clang-format
|
||||
rev: v19.1.4
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user