Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not launch threads for log_mel_spectrogram when singlethreaded #763

Merged
merged 1 commit into from
Apr 14, 2023

Conversation

maxilevi
Copy link
Contributor

Following the behaviour in ggml_graph_compute I would expect that if n_threads == 1 then no threads would be created.

I had to fix this in order to run whisper in webGL environments where there is no threading support.

@ggerganov ggerganov merged commit 794ff30 into ggerganov:master Apr 14, 2023
jacobwu-b pushed a commit to jacobwu-b/Transcriptify-by-whisper.cpp that referenced this pull request Oct 24, 2023
jacobwu-b pushed a commit to jacobwu-b/Transcriptify-by-whisper.cpp that referenced this pull request Oct 24, 2023
landtanin pushed a commit to landtanin/whisper.cpp that referenced this pull request Dec 16, 2023
iThalay pushed a commit to iThalay/whisper.cpp that referenced this pull request Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants