How to deal with gpu out of memory problem with runing model on different gpus

I should have search first.
This sounds like helping link