Skip to content

Commit 6f9aac4

Browse files
authored
Revert "whisper : fix extra memory usage (ggml-org#2534)"
This reverts commit 31aea56.
1 parent 31aea56 commit 6f9aac4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/whisper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3164,7 +3164,7 @@ static bool log_mel_spectrogram(
31643164
std::vector<std::thread> workers(n_threads - 1);
31653165
for (int iw = 0; iw < n_threads - 1; ++iw) {
31663166
workers[iw] = std::thread(
3167-
log_mel_spectrogram_worker_thread, iw + 1, hann, std::cref(samples_padded),
3167+
log_mel_spectrogram_worker_thread, iw + 1, hann, samples_padded,
31683168
n_samples + stage_2_pad, frame_size, frame_step, n_threads,
31693169
std::cref(filters), std::ref(mel));
31703170
}

0 commit comments

Comments
 (0)