RuntimeError: CUDA failed with error out of memory after fine-tuing #470
Answered
by
kouohhashi
kouohhashi
asked this question in
Q&A
-
Hi, I fine-tuned large model which was originally OpenAI Whisper model. but afterwards, I start getting "CUDA failed with error out of memory" error at self.model.align. This happens only when I set word_timestamps True. Could someone help me to dig this issue deeper? Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Answered by
kouohhashi
Sep 13, 2023
Replies: 1 comment 1 reply
-
Hi, How much memory does your GPU have? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks, my GPU memory size was 12GB. But I think I find the problem.
In a nutshell, what I did to convert whisper model into faster-whisper model was wrong.
What I dis was
the problem was hugging face's config.json was not equal to faster-whisper's config.json.
Or just I might have copied wrong one.
So I copied config.json from working example and it worked.
Thanks anyway,