mirror of
https://github.com/ml-explore/mlx.git
synced 2025-10-19 08:38:09 +08:00
cuda fix flaky test (#2646)
This commit is contained in:
@@ -746,6 +746,7 @@ class TestAutograd(mlx_tests.MLXTestCase):
|
||||
mx.checkpoint,
|
||||
]:
|
||||
mx.synchronize()
|
||||
gc.collect()
|
||||
mem_pre = mx.get_active_memory()
|
||||
|
||||
def outer():
|
||||
|
Reference in New Issue
Block a user