If you want to release the GPU memory, use torch.cuda.empty_cache()
.
I found a topic about how to release a tensor here, but I’m not sure it will work…
If you want to release the GPU memory, use torch.cuda.empty_cache()
.
I found a topic about how to release a tensor here, but I’m not sure it will work…