mirror of
https://github.com/ml-explore/mlx.git
synced 2025-08-13 20:56:45 +08:00
Fix wrong graph key when using concurrent context (#2447)
This commit is contained in:
parent
d32519c8ee
commit
daafee676f
@ -318,6 +318,7 @@ void CommandEncoder::commit() {
|
|||||||
// Reset state
|
// Reset state
|
||||||
node_count_ = 0;
|
node_count_ = 0;
|
||||||
graph_node_count_ = 0;
|
graph_node_count_ = 0;
|
||||||
|
empty_node_count_ = 0;
|
||||||
from_nodes_.clear();
|
from_nodes_.clear();
|
||||||
to_nodes_.clear();
|
to_nodes_.clear();
|
||||||
graph_key_.clear();
|
graph_key_.clear();
|
||||||
|
Loading…
Reference in New Issue
Block a user