Skip to content

Block when using multiprocess #465

Answered by snakers4
panxin801 asked this question in Q&A
Discussion options

You must be logged in to vote

If the VAD object is created in the main process, it may experience locks, because it is a python reference to a C++ object.

Ideally, the correct way is to init VAD in each process from scratch or to use some form of messenging architecture or some thread or multiprocessing executors.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@panxin801
Comment options

Answer selected by snakers4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
help wanted Extra attention is needed
2 participants
Converted from issue

This discussion was converted from issue #464 on June 21, 2024 12:59.