pointer_summarizer
pointer_summarizer copied to clipboard
RuntimeError: CUDA error: out of memory
RuntimeError: CUDA error: out of memory Running out of memory have 2gb graphics card 940mx with cuda 9.2 is it not sufficient to train the model. I tried decreasing the batch size to even 1 but then too its not working. Please help.
2GB is too low. you can do 2 things:
- use pre-trained embedding, extract embedding vector on cpu and don't load embedding into gpu.
- use less number of encoding steps (try with 100) but expect degrade in results. https://github.com/atulkum/pointer_summarizer/blob/master/data_util/config.py#L16