mirror of
https://github.com/ml-explore/mlx.git
synced 2025-06-25 01:41:17 +08:00
fix synch race (#1719)
This commit is contained in:
parent
070bd433ab
commit
5548fcc96d
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user