mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-02-09 20:21:08 +00:00
bench : fix uninitialized vars
This commit is contained in:
parent
af947cb72e
commit
c46167f8c5
@ -76,6 +76,7 @@ int whisper_bench_full(const whisper_params & params) {
|
||||
}
|
||||
|
||||
whisper_token tokens[512];
|
||||
memset(tokens, 0, sizeof(tokens));
|
||||
|
||||
// prompt heat
|
||||
if (int ret = whisper_decode(ctx, tokens, 256, 0, params.n_threads) != 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user