Skip to content

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