texar
texar copied to clipboard
Is there anyway to empty cache/memory after loading get-2 into our model?
I wonder if there is any strategy to empty cache after loading (Restoring) gpt2 parameters into our model? I am getting OOM error for batch_size and I wonder how if there is anyway to get around that when using massive pre-trained models?