Skip to content

Comments

Replace multiprocessing.dummy.Pool() with concurrent.futures.ThreadPoolExecutor() so whisper_s2t instance can run separately with multiprocessing.Process()#74

Open
kirillsaidov wants to merge 5 commits intoshashikg:mainfrom
kirillsaidov:main

Conversation

@kirillsaidov
Copy link

I tried loading whisper model and running transcription in a separate multiprocessing.Process(), but failed. The process just froze unresponsive when loading audio to memory with multiprocessing.dummy.Pool(). Replaced with a safer concurrent.futures.ThreadPoolExecutor() and it works now!

…hreadPoolExecutor().

I tried loading whisper model and running transcription in a separate multiprocessing.Process(), but failed.
The process just froze unresponsive when loading audio to memory with multiprocessing.dummy.Pool(). Replaced with
concurrent.futures.ThreadPoolExecutor() and it works now!
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.

1 participant