ggml : improve vec_dot_f16 unrolling in flash_attn_f16

This commit is contained in:
Georgi Gerganov
2023-01-08 11:41:18 +02:00
parent d1ea1220ff
commit 52a3e0c92a
2 changed files with 54 additions and 45 deletions

View File

@ -781,7 +781,7 @@ int always_prompt_transcription(struct whisper_context * ctx, audio_async & audi
std::string prompt;
std::string command;
for (int i = 0; i < words.size(); ++i) {
for (int i = 0; i < (int) words.size(); ++i) {
if (i < k_prompt_length) {
prompt += words[i] + " ";
} else {