whisper : reset conv scheduler when CoreML is used (#3350)

ggml-ci
This commit is contained in:
Georgi Gerganov 2025-07-30 21:54:58 +03:00 committed by GitHub
parent 28b39c624e
commit f7502dca87
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -2432,6 +2432,8 @@ static bool whisper_encode_internal(
return false;
}
} else {
ggml_backend_sched_reset(sched);
#if defined(WHISPER_USE_COREML)
whisper_coreml_encode(wstate.ctx_coreml, mel->ne[0], mel->ne[1], (float *) mel->data, (float *) wstate.embd_enc->data);
#elif defined(WHISPER_USE_OPENVINO)