Fix multistream GPU deadlock (#1969)

* fix multistream GPU deadlock

* comments
This commit is contained in:
Awni Hannun
2025-03-20 07:19:47 -07:00
committed by GitHub
parent 95e335db7b
commit 3c164fca8c
6 changed files with 31 additions and 17 deletions

View File

@@ -21,7 +21,7 @@
namespace mlx::core {
static constexpr int MAX_ACTIVE_TASKS = 100;
static constexpr int MAX_ACTIVE_TASKS = 10;
/* This class is only meant to be used in eval
* for synchronizing with the main thread. */