mirror of
https://github.com/ml-explore/mlx.git
synced 2025-06-25 18:11:15 +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;
|
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(
|
||||||
|
Loading…
Reference in New Issue
Block a user