mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-04-26 12:18:44 +02:00
whisper : fix compute helper return (ggml/750)
This commit is contained in:
parent
9a0b59d990
commit
ed76818700
@ -187,7 +187,7 @@ static bool ggml_graph_compute_helper(
|
|||||||
ggml_backend_metal_set_n_cb(backend, n_threads);
|
ggml_backend_metal_set_n_cb(backend, n_threads);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
return ggml_backend_graph_compute(backend, graph);
|
return ggml_backend_graph_compute(backend, graph) == GGML_STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
// faster matrix multiplications for tensors that do not have dimension 0 divisible by "pad"
|
// faster matrix multiplications for tensors that do not have dimension 0 divisible by "pad"
|
||||||
|
Loading…
Reference in New Issue
Block a user