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

Fixed rslora scaling in lora_manager #1669

Closed
wants to merge 2 commits into from

Conversation

TheCodeWrangler
Copy link
Contributor

@TheCodeWrangler TheCodeWrangler commented May 24, 2024

Addressing issue mentioned in
#1668

When weights were trained using rslora scaling they should be scaled differently. Code initially was always normalizing by rank regardless of "use_rslora" flag in huggingface adapter_config.json file.

Scaling has also been updated in examples/hf_lora_convert.py

@byshiue
Copy link
Collaborator

byshiue commented May 27, 2024

Could you share a model trained by rslora?

@byshiue byshiue self-requested a review May 28, 2024 01:06
@byshiue byshiue self-assigned this May 28, 2024
@byshiue byshiue added the triaged Issue has been triaged by maintainers label May 28, 2024
@nv-guomingz
Copy link
Collaborator

Hi @TheCodeWrangler , thanks for your contributing. We've merged your contribution into code base and will add you into contributor list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Merged triaged Issue has been triaged by maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants