1.It seems like that if a  pytorch process is stopped just by crtl+c,not killed,it will stay in memory all the time.
2.Using nvidia-smi, I find there are no pytorch program using GPU, the pytorch process still exist.