print(torch.cuda.memory_summary(), end='')
xiaoxiannvlgy opened this issue · 1 comments
xiaoxiannvlgy commented
weiaicunzai commented
Which Pytorch version are you using ?I am using google Colab to train my model which is currently Pytorch 1.6. If you do not want to upgrade your Pytorch, simply comment that line.
You could check the details here: torch.cuda.memory_summary