mirror of
https://github.com/ml-explore/mlx.git
synced 2025-09-24 14:58:17 +08:00
fix synch race (#1719)
This commit is contained in:
@@ -268,7 +268,7 @@ void eval(std::vector<array> outputs) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
eval_impl(std::move(outputs), false).wait();
|
eval_impl(std::move(outputs), false).event().wait();
|
||||||
}
|
}
|
||||||
|
|
||||||
std::pair<std::vector<array>, std::vector<array>> vjp(
|
std::pair<std::vector<array>, std::vector<array>> vjp(
|
||||||
|
Reference in New Issue
Block a user