Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ml-explore/mlx
/ fun
Method
fun
python/tests/test_array.py:1967–1971 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1965
1966
def
test_multi_output_leak(self):
1967
def
fun():
1968
a = mx.zeros((2**20))
1969
mx.eval(a)
1970
b, c = mx.divmod(a, a)
1971
del b, c
1972
1973
fun()
1974
mx.synchronize()
Callers
nothing calls this directly
Calls
2
array
Method · 0.60
eval
Method · 0.45
Tested by
no test coverage detected