mirror of
https://github.com/ml-explore/mlx.git
synced 2025-09-18 01:50:16 +08:00
fix synch race (#1719)
This commit is contained in:
@@ -268,7 +268,7 @@ void eval(std::vector<array> outputs) {
|
||||
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(
|
||||
|
Reference in New Issue
Block a user