Skip to content

Commit

Permalink
whisper : fix uninitialized exp_n_audio_ctx
Browse files Browse the repository at this point in the history
  • Loading branch information
finnvoor authored and ggerganov committed Feb 21, 2023
1 parent 0d22916 commit fb4d0d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion whisper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ struct whisper_context {
std::vector<float> energy; // PCM signal energy

// [EXPERIMENTAL] speed-up techniques
int32_t exp_n_audio_ctx; // 0 - use default
int32_t exp_n_audio_ctx = 0; // 0 - use default

void use_buf(struct ggml_context * ctx, int i) {
#if defined(WHISPER_USE_SCRATCH)
Expand Down

0 comments on commit fb4d0d4

Please sign in to comment.