Memory release
In the current GPU world, Deep learning models either in Computer vision or Natural language processing require lot more GPUs to run/infer on the Data.
It is most of times, important to control/limit the GPU usage. here is the sample snippet that we can use to kill the process running in GPU: