Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is 3090 GPU sufficient for inference? #118

Open
ClaireTun opened this issue Sep 12, 2024 · 1 comment
Open

Is 3090 GPU sufficient for inference? #118

ClaireTun opened this issue Sep 12, 2024 · 1 comment

Comments

@ClaireTun
Copy link

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?

@ChonghaoSima
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants