My CUDA program crashed during execution, before memory was flushed. As a result, device memory remained occupied.
I\'m running on a GTX 580, for which nvidia-
nvidia-
for the ones using python:
import torch, gc gc.collect() torch.cuda.empty_cache()