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

Add qlora to our current codebase #22

Closed
3 tasks done
samsja opened this issue May 30, 2023 · 1 comment
Closed
3 tasks done

Add qlora to our current codebase #22

samsja opened this issue May 30, 2023 · 1 comment
Assignees

Comments

@samsja
Copy link
Contributor

samsja commented May 30, 2023

Context

we want to add qlora (lora + 4 bits int quant) to our codebase.

The goal is to reduce memory usage and the cost of finetuning without degrading quality.

paper
blog post

Steps

  • activate 4bits in Peft. Should be as easy as turning on a flag
  • run the modal on one GPU for one epoch and look at memory consumption compared to 8 bits training
  • run a full training (3 epochs) with the same parameters as 8bits training and compare result to see if we don't degrade quality
@alaeddine-13
Copy link
Contributor

you can get inspired by this PR: tloen/alpaca-lora#487

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

3 participants