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 VeRA support #864

Open
PeanutButterRat opened this issue Nov 29, 2024 · 0 comments
Open

Add VeRA support #864

PeanutButterRat opened this issue Nov 29, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@PeanutButterRat
Copy link
Contributor

Is your feature request related to a problem? Please describe:
LoRA is designed to reduce the memory requirements to finetune LLMs and already exists in Fairseq2 to some capacity. VeRA reduces the memory overhead of vanilla LoRA even further by training a single vector that is treated as a diagonal matrix that is multiplied by two other matrices initialized using a normal distribution.

Describe the solution you would like:
There should be a separate class to wrap models with VeRA like there is currently with LoRA and a premade recipe would also be nice to have.

Describe the alternatives you have considered:
None

Additional Context:
None

@PeanutButterRat PeanutButterRat added the enhancement New feature or request label Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant