DriveLM icon indicating copy to clipboard operation
DriveLM copied to clipboard

Is 3090 GPU sufficient for inference?

Open ClaireTun opened this issue 1 year ago • 1 comments

Hello, I can finetune the model with bs=1 for training. But in the inference stage, I set the bs=1 and it is out of memory, which is quite confusing. Is there any parameters that I forget to set?

ClaireTun avatar Sep 12 '24 06:09 ClaireTun

A possible reason might be when inference, some of the question length are way longer than others, which will require more gpu memory. I would suggest finding which cases cause such error.

ChonghaoSima avatar Sep 13 '24 02:09 ChonghaoSima