deepakn97 / relationPrediction

ACL 2019: Learning Attention-based Embeddings for Relation Prediction in Knowledge Graphs
521 stars 124 forks source link

RuntimeError: CUDA out of memory. Tried to allocate 3.81 GiB (GPU 0; 11.17 GiB total capacity; 3.94 GiB already allocated; 2.65 GiB free; 33.35 MiB cached) #13

Closed BittersweetJ closed 4 years ago

BittersweetJ commented 4 years ago

Thank you very much for your work in this paper. I also tried to run your code, but there has been a problem of insufficient GPU capacity. I want to ask how much GPU capacity your code requires?I look forward to receiving your reply as soon as possible. Thank you

chauhanjatin10 commented 4 years ago

Hi @BittersweetJ , thanks for showing interest in our work. Our code can require upto 12 GB memory during the decoder phase. You can adjust it by decreasing the batch size, however the model performance may change accordingly.