-
Notifications
You must be signed in to change notification settings - Fork 216
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
"unable to open slave" possible hardware errors or warnings prevent running of project / simple_test.py #121
Comments
is this issue the same as #11 ? |
RealtimeSTT depends on the faster-whisper library, which in turn uses CTranslate2. It's creator Guillaume Klein says here that AMD is not officially supported in CTranslate2. Here is an issue from faster-whisper repo that says it might be possible to enable these backends by compiling CTranslate2 from the source with the desired backend before installing faster-whisper. So - if I got this right - this would mean for MPS acceleration you would first compile CTranslate2 with the necessary backend support (MPS enabled). Then proceed with the installation of RealtimeSTT - which installs faster-whisper, but this should not override the manually compiled version of CTranslate2. I'd also check if portaudio is installed (apt-get install -y portaudio19-dev). Also on some systems the input device does not get detected correctly and has to be set manually using input_device_index parameter. This script lists all devices and can help with finding the correct input device for recording. |
So this is probably some weird interaction with my OS environment being Linux. I'll have to investigate a fix more. So I mainly have to figure out why it doesn't like my mic, or why it's not defaulting to some detected hardware, idk....
|
OK, so maybe I found a fix?
|
Should note I'm on AMD hardware.
Not sure if the project is talking to my hardware correctly.
I get this at the beginning of running simple test.
Which leads to the following
The text was updated successfully, but these errors were encountered: