mirror of
https://github.com/exo-explore/exo.git
synced 2026-09-12 21:38:59 -04:00
fff
This commit is contained in:
1 parent
0e7721ba0e
commit
d545a4ea25
1 file changed
+1
-3
@@ -815,9 +815,7 @@ def mlx_force_oom2(bytes_alloc: int = 1024**5): # the default is 1 petabyte lol
|
||||
|
||||
# allocate a lot
|
||||
z = mx.zeros(shape=(size, size), dtype=mx.float32)
|
||||
t1 = [
|
||||
mx.random.uniform(shape=(size, size), dtype=mx.float32) for _ in range(10)
|
||||
]
|
||||
t1 = [mx.random.uniform(shape=(size, size), dtype=mx.float32) for _ in range(2)]
|
||||
print("t1-run")
|
||||
mx.eval(*t1)
|
||||
print("t1-eval")
|
||||
|
||||
Reference in new issue
Block a user