DeepSpeech icon indicating copy to clipboard operation
DeepSpeech copied to clipboard

Batch size for graphic card with 8 GB of RAM

Open striki70 opened this issue 9 years ago • 2 comments

Which is the maximum length of the batches that we can assign having NVIDIA GeForce 1080 with 8 GB of RAM? Currently I'm doing training with the length of 12. Can this be increased for further epochs?

striki70 avatar May 18 '17 15:05 striki70

I don't know. But we use curriculum learning so the shortest wavs are in the initial batches the longest are in the final batches. However, batch size is dependent only on the largest wavs. So one normally has to wait until the last batch to determine if batch size is correct. However, one can temporarily sort by largest wav first by changing the sort order here[1] then the OOM signaling the batch is too large occurs right away with no wait allowing you to easily set the batch size for your hardware via a binary search, say.

kdavis-mozilla avatar May 18 '17 15:05 kdavis-mozilla

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar Jan 03 '19 14:01 lock[bot]