You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to get pretrained embeddings by encoding some sentence, but I noticed that the memory and GPU memory would not be released after encoding and would be kept until the whole program ended (even if the next parts are not relavant to the pretrained model). So I wonder is there any method to inform the model to release all the memory resources?
The text was updated successfully, but these errors were encountered:
Hi!
I was trying to get pretrained embeddings by encoding some sentence, but I noticed that the memory and GPU memory would not be released after encoding and would be kept until the whole program ended (even if the next parts are not relavant to the pretrained model). So I wonder is there any method to inform the model to release all the memory resources?
The text was updated successfully, but these errors were encountered: