From 392bca56a6b41f9b12ae64e266c6d1fdee6459cc Mon Sep 17 00:00:00 2001 From: Awni Hannun Date: Thu, 27 Feb 2025 12:38:34 -0800 Subject: [PATCH] fix perf regression, remove unecessary abort --- mlx/array.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/mlx/array.cpp b/mlx/array.cpp index d8d12e0db..3aa7d9656 100644 --- a/mlx/array.cpp +++ b/mlx/array.cpp @@ -122,6 +122,7 @@ void array::wait() { detach_event(); } set_status(Status::available); + detach_event(); } }