Closed etudemin closed 4 years ago
Hi @etudemin
I think there are few reasons for this:
torch.cuda.empty_cache()
and torch.cuda.reset_max_memory_allocated()
.torch.cuda.max_memory_allocated()
to record the maximum memory usage.Cheers, Jiayu
Hi @JiayuYANG
Thank you very much for the kind replies. I will try that, thanks again!
Sincerely, etudemin
Hi @JiayuYANG ,
Thanks for your great work!
When running the evaluation.sh with default setting, I found that the GPU memory usage usually ranges from 9900~11000 MB, and it is higher than 8795 MB (which is shown in Table 2 in the paper).
Are there possible reasons to cause higher GPU memory usage? Thank you very much.