OOM when running the simple code again in jupyter notebook

#16
by becks2000 - opened

The memory does not free up after running the code once. Is there way to free up the memory without restarting the kernel?

You could try adding:
torch.cuda.empty_cache()

If that doesn't work then I'm not sure

encountering the same problem.

Sign up or log in to comment