-
I try to run this script with 30G of RAM but memory increased over time and get Out of memory
|
Beta Was this translation helpful? Give feedback.
Answered by
titu1994
Jun 14, 2023
Replies: 1 comment 4 replies
-
That script is going to wait until it completed all transcriptions before returning result. If you have set decoding strategy to return hypothesis or tensors then it will consume memory for each sample. Easiest thing to do is split the manifest and call if in a loop |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
mehadi92
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That script is going to wait until it completed all transcriptions before returning result. If you have set decoding strategy to return hypothesis or tensors then it will consume memory for each sample.
Easiest thing to do is split the manifest and call if in a loop