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

LoRA for Reward Model Training #225

Open
bugsz opened this issue Jul 2, 2024 · 0 comments
Open

LoRA for Reward Model Training #225

bugsz opened this issue Jul 2, 2024 · 0 comments

Comments

@bugsz
Copy link

bugsz commented Jul 2, 2024

Is your feature request related to a problem? Please describe.
Hi! I am trying to finetune a reward model in the way that HelpSteer2 did, but run into OOM issue.

Then I found LoRA is supported in SFT, but not supported in reward model training. Is it possible to also use LoRA in reward model training as well? I think it is possible given that the reward model is built upon base model.

Also, I am using vMem estimation here, which states a full finetune of a LLaMA 2-7B model in float16 type takes roughly 60GB. However, when I tried to use a 2*A6000 with 48GB vMem each, I got OOM error. Does anyone have a accurate estimation of the memory usage under different model size?

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

1 participant