Clearing GPU Memory - PyTorch

Try to restart the Jupyter kernel.

Or, we can free this memory without needing to restart the kernel. See the following thread for more info.

2 Likes