Hello,
When I shut down the pytorch program by kill, I encountered the problem with the GPU(I opened two programs at the same time and then turned off).
When i use kill to close the program，GPU is still occupied.Then I found that there were two PIDs that could not kill.
What’s wrong ? thank you ?

TIM截图20170816224626.png1097×776 10.3 KB

and my code is:

net.cuda()
net = torch.nn.DataParallel(net, device_ids=range(torch.cuda.device_count()))
cudnn.benchmark = True