Whisper segfaulting when running inside Docker container on M1 Mac #1798
Unanswered
zachrattner
asked this question in
Q&A
Replies: 2 comments 4 replies
-
|
@zachrattner did you ever find a solution? |
Beta Was this translation helpful? Give feedback.
4 replies
-
|
Following up on this, for anyone else with random segfaults. Check your system RAM, if you cannot load the model into memory a segfault can occur. I have had this experience, try using a smaller model. This extends into GPU usage (which I note in this example was not the case, CPU is clearly being used with FP16 not supported). Although the fact you could run it with Rosetta maybe indicates this was not an issue in your case. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to run Whisper in a Docker container on my M1 MacBook Air. When I run it, it gives a segfault. Any ideas how to debug?
The Dockerfile is pretty simple. Relevant excerpt:
Whisper is installed as recommended in the repo readme:
I have a WAV file that says "Hello world" that I am testing the transcription with in each environment.
Build command:
Beta Was this translation helpful? Give feedback.
All reactions