Skip to content

Fill missing linear1 areas with zeros #57

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

Closed
wants to merge 1 commit into from

Conversation

yorickvP
Copy link
Contributor

@yorickvP yorickvP commented Nov 29, 2024

@lucataco posted an example of a lora that's missing transformer.single_transformer_blocks.0.proj_mlp.lora_A.weight.

To support this, we can fill the missing entries with zeroes in the linear1 block. It's a little bit finicky because any of them might be missing and we need to match the rank.

(I tested the conversion, but not the lora application)

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

Successfully merging this pull request may close these issues.

1 participant