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

ASR demo multiple threads #32

Open
BarryKCL opened this issue May 10, 2021 · 1 comment
Open

ASR demo multiple threads #32

BarryKCL opened this issue May 10, 2021 · 1 comment

Comments

@BarryKCL
Copy link

ASR demo is not thread-safe

@lumaku
Copy link

lumaku commented May 10, 2021

This worked for me: Use torch.multiprocessing, delegate jobs through a Queue, initialize one model instance for each process. Make sure you have enough RAM.

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

No branches or pull requests

2 participants