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

Update audio_recorder.py to use a consistent threading library #85

Merged
merged 2 commits into from
Jul 17, 2024

Conversation

danielwoz
Copy link
Contributor

Currently on linux there is a CUDA initialization error caused by a multiple model loadings that the pytorch Multiprocessing library. Standard thread.Thread() works fine. This commit consolidates how threads are created to use one way or the other and defaults to thread.Thread() for Linux.

danielwoz and others added 2 commits July 17, 2024 15:38
Currently on linux there is a CUDA initialization error caused by a multiple model loadings that the pytorch Multiprocessing library. Standard thread.Thread() works fine. This commit consolidates how threads are created to use one way or the other and defaults to thread.Thread() for Linux.
@KoljaB
Copy link
Owner

KoljaB commented Jul 17, 2024

Thank you, very helpful PR. I switched last two occurrances back to threading because thread is better than process there.

@KoljaB KoljaB merged commit e20f602 into KoljaB:master Jul 17, 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