Hi,
I am loading one of the transformer models using (from_pretrained).
I am only using this model for inference. After getting results from this model I delete the model by: del model
I only use CPU for this process. I noticed that when the process is done and the model is deleted the memory usage decreases but still 1GB of memory is being used and is not freed.
Is there any step that I am missing after using this model during test?
I appreciate your help regarding this.
Thank you very much