whisper : print log when using distilled models

This commit is contained in:
Georgi Gerganov 2023-11-05 19:43:04 +02:00
parent b8c93c5f3b
commit 673c55c683
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735

View File

@ -4579,6 +4579,7 @@ int whisper_full_with_state(
// distilled models require the "no_timestamps" token
// TODO: add input parameter (#1229)
if (is_distil) {
log("%s: using distilled model - forcing no_timestamps\n", __func__);
prompt_init.push_back(whisper_token_not(ctx));
}
}