mirror of
https://github.com/ml-explore/mlx.git
synced 2025-07-14 04:11:12 +08:00
fix
This commit is contained in:
parent
7a753335d7
commit
9d70412a91
@ -334,7 +334,7 @@ std::vector<array> compile_replace(
|
||||
std::function<std::vector<array>(const std::vector<array>&)> compile(
|
||||
const std::function<std::vector<array>(const std::vector<array>&)>& fun,
|
||||
size_t fun_id) {
|
||||
return [&fun, fun_id](const std::vector<array>& inputs) {
|
||||
return [fun, fun_id](const std::vector<array>& inputs) {
|
||||
// Find a cache entry with the correct inputs
|
||||
auto& entry = compiler_cache().find(fun_id, inputs);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user