code-docstring-corpus
code-docstring-corpus copied to clipboard
How much memory does this require while training?
We are running this experiment on Google Colab Pro (16 GB machines) and are receiving out of memory errors using the same vocabulary size (89500). How much memory would you recommend for us to have to run this experiment?
Strange, what framerwork are you using?
We are training with Nematus. When we try to run with the defaults we get
Resource exhausted: OOM when allocating tensor with shape[5980,89500]
When we check our machine specs we get
Gen RAM Free: 26.2 GB | Proc size: 168.6 MB
GPU RAM Free: 16280MB | Used: 0MB | Util 0% | Total 16280MB
Nematus has been reimplemented from scratch in Tensorflow since then and I haven't trained with this dataset with it.
You can try to reduce the vocabulary size e.g. to 32000 or 16000.