mirror of
https://github.com/ml-explore/mlx.git
synced 2025-12-16 01:49:05 +08:00
Fix multistream GPU deadlock (#1969)
* fix multistream GPU deadlock * comments
This commit is contained in:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user