Spaces:
Running
Running
whisper : fix compute helper return (ggml/750)
Browse files- whisper.cpp +1 -1
whisper.cpp
CHANGED
|
@@ -187,7 +187,7 @@ static bool ggml_graph_compute_helper(
|
|
| 187 |
ggml_backend_metal_set_n_cb(backend, n_threads);
|
| 188 |
}
|
| 189 |
#endif
|
| 190 |
-
return ggml_backend_graph_compute(backend, graph);
|
| 191 |
}
|
| 192 |
|
| 193 |
// faster matrix multiplications for tensors that do not have dimension 0 divisible by "pad"
|
|
|
|
| 187 |
ggml_backend_metal_set_n_cb(backend, n_threads);
|
| 188 |
}
|
| 189 |
#endif
|
| 190 |
+
return ggml_backend_graph_compute(backend, graph) == GGML_STATUS_SUCCESS;
|
| 191 |
}
|
| 192 |
|
| 193 |
// faster matrix multiplications for tensors that do not have dimension 0 divisible by "pad"
|