Question about length of document and summary
Thanks sharing the awesome implementation.
When I try to increase the length of document and summary from 400,100 to 800,200. It has an error 'Resource exhausted: OOM when allocating tensor'. The memory of gpu is 12GB. How can I deal with it?
Thanks a lot.
i was able to train a model with 1000/200 max enc/dec steps on a GPU with 24GB RAM (though NOT using CNN/DM data). you can try reduce the embedding & hidden dimensions, and/or a smaller batch size that fits your GPU.
Thanks for your reply. I don't have a good knowledge of tensorflow. And I want to know how does the model run out of the memory of gpu. In fact ,when i set the value of batch_size as '1', the 4000/1000 enc/dec steps also hava an error. Additionally, Thanks for your help very much. And i want to use tensorboard to view memory usage. Should I modify the code for the purpose.