From ed76818700629c3d12fcea579600c0f55818a30f Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Tue, 5 Mar 2024 16:05:23 +0200 Subject: [PATCH] whisper : fix compute helper return (ggml/750) --- whisper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/whisper.cpp b/whisper.cpp index 8359cad1..3459dd6e 100644 --- a/whisper.cpp +++ b/whisper.cpp @@ -187,7 +187,7 @@ static bool ggml_graph_compute_helper( ggml_backend_metal_set_n_cb(backend, n_threads); } #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"