-
Notifications
You must be signed in to change notification settings - Fork 6
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
Doesn't work in Electron.js's Node #51
Comments
hello, can you provide the code and options you used? |
I have the same issue, I just used example code in electron. const pcm = read_wav(audioPath);
// Initialize Whisper with model and advanced configuration
this.currentWhisper = new Whisper(modelPath, {
offload: 10,
gpu: true, // Enable GPU acceleration if available
});
// Start transcription with detailed configuration
const task = await this.currentWhisper.transcribe(pcm, {
language: "auto",
}); My computer is Macbook pro m2 pro. |
After I modified the code in whisper.cpp, I set dtw_token_timestamps false. it turns out ggml_gallocr_alloc_graph: reallocating buffers automatically
ggml_gallocr_needs_realloc: node node_27 is not valid
ggml_gallocr_alloc_graph: reallocating buffers automatically this will terminate my electron app. But when I task.on('transcribe'), It won't be terminated. |
Hi,
I'm trying to use this in Electron but it fails when transcribing with a vague error, I Googled it but didn't find anything
I have tried different models and toggling GPU option but no luck so far.
Full log:
The text was updated successfully, but these errors were encountered: