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

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)