-
Notifications
You must be signed in to change notification settings - Fork 53
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
CUDA failed with error out of memory #72
Comments
Do you have a GPU mapped to your container?
I can try to work on checks to fail to CPU in the near term.
…On Mon, Mar 25, 2024 at 12:01 PM zorbaTheRainy ***@***.***> wrote:
Get the error:
INFO:root:Error processing or transcribing /movies/The Hollywood Revue of
1929 (1929)/The.Hollywood.Revue.of.1929.1929.DVDRip.XviD-BBM(iLC).avi: CUDA
failed with error out of memory
compose file includes
- "TRANSCRIBE_DEVICE=gpu"
I request that if the transcription fails with this error, it falls back
to using the cpu.
Otherwise, thanks so much for this program. I started to try Whisper on my
own and was not happy with the results. Thank you so much for doing all the
hard work for me.
—
Reply to this email directly, view it on GitHub
<#72>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APJACQLQYBVYQHYJVAU5WW3Y2BQ6PAVCNFSM6AAAAABFHPFUWSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGIYDMMZWGQYTMMQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Oh yes. This one is just trouble. It is only a GTX 1060 3Gb, So, it isn't the best GPU. It would be nice if you (1) made an ARM64 (cpu) image, and (2) made a gpu image for AMD/ Intel N100 devices. But I am guessing the "fall back to CPU on failure" would be easier. |
I have same card as you and never had any fails with medium model. Dont go higher than that |
I'll post my compose file
and the intro part of the docker log
BTW, if you translate vs transcribe, the docker log does not properly update the percentages. Instead it waits until the whole file is done to output the 1%...2%...3% information. |
There is no graceful way to handle this, as we have to know the architecture before loading the model. Your best bet is using a lower model size or manually handling your OOM issues. You could also try distil-medium.en, as it has a slightly smaller memory footprint. |
OK |
Get the error:
INFO:root:Error processing or transcribing /movies/The Hollywood Revue of 1929 (1929)/The.Hollywood.Revue.of.1929.1929.DVDRip.XviD-BBM(iLC).avi: CUDA failed with error out of memory
compose file includes
- "TRANSCRIBE_DEVICE=gpu"
I request that if the transcription fails with this error, it falls back to using the
cpu
.Otherwise, thanks so much for this program. I started to try Whisper on my own and was not happy with the results. Thank you so much for doing all the hard work for me.
The text was updated successfully, but these errors were encountered: