mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2024-12-18 20:27:53 +00:00
whisper : backend registry init before model load
This commit is contained in:
parent
c65d0fd3c8
commit
0377596b77
@ -3667,6 +3667,9 @@ struct whisper_context * whisper_init_with_params_no_state(struct whisper_model_
|
||||
WHISPER_LOG_INFO("%s: gpu_device = %d\n", __func__, params.gpu_device);
|
||||
WHISPER_LOG_INFO("%s: dtw = %d\n", __func__, params.dtw_token_timestamps);
|
||||
|
||||
// TODO: temporary call to force backend registry initialization
|
||||
WHISPER_LOG_INFO("%s: backends = %zu\n", __func__, ggml_backend_reg_count());
|
||||
|
||||
whisper_context * ctx = new whisper_context;
|
||||
ctx->params = params;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user