whisper : fix compute helper return (ggml/750)

pull/1943/head
Georgi Gerganov 2024-03-05 16:05:23 +02:00
parent 9a0b59d990
commit ed76818700
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735
1 changed files with 1 additions and 1 deletions

View File

@ -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"