FinGPT icon indicating copy to clipboard operation
FinGPT copied to clipboard

slow inference with peft model

Open wwh0411 opened this issue 1 year ago • 3 comments

I use the code from fingpt benckmark to evaluate my peft model on datasets:fpb/fiqa/tfns respectively. However the inference speed is very slow, and increasing batch size doesn't help with this issue. It seems that when i increase the batch size, the inference speed per iteration increases consequently. Could u please help with this issue?

wwh0411 avatar Oct 25 '23 07:10 wwh0411

Which GPU device are you using?

BruceYanghy avatar Oct 25 '23 07:10 BruceYanghy

I‘m testing the model on 2 RTX 3090s

wwh0411 avatar Oct 27 '23 01:10 wwh0411

Could you try google colab with A100 or TPU. Did you make any progress or still having any issue now?

Weiyao-Li avatar Mar 07 '24 20:03 Weiyao-Li