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

How to merge lora model #3

Open
xjwhy opened this issue Feb 1, 2024 · 0 comments
Open

How to merge lora model #3

xjwhy opened this issue Feb 1, 2024 · 0 comments

Comments

@xjwhy
Copy link

xjwhy commented Feb 1, 2024

Thanks for the work, I reproduced the training, but merging lora modules got an error.

if q_len % group_size > 0:
raise ValueError("q_len %d should be divisible by group size %d."%(q_len, group_size))

I find modeling_llama.py in LongQLoRA-Llama2-7b-8k you released is different from the configuration in training. So which base model needs to be selected to merge.
Thanks

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

1 participant