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

An error occurred in merging lora weights with initial weights #809

Open
6 tasks done
Alex-DeepL opened this issue Jan 7, 2025 · 4 comments
Open
6 tasks done

An error occurred in merging lora weights with initial weights #809

Alex-DeepL opened this issue Jan 7, 2025 · 4 comments
Labels
bug Something isn't working

Comments

@Alex-DeepL
Copy link

Self Checks

  • This template is only for bug reports. For questions, please visit Discussions.
  • I have thoroughly reviewed the project documentation (installation, training, inference) but couldn't find information to solve my problem. English 中文 日本語 Portuguese (Brazil)
  • I have searched for existing issues, including closed ones. Search issues
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template and fill in all required fields.

Cloud or Self Hosted

Cloud

Environment Details

python=3.10

Steps to Reproduce

1736241414495
image

✔️ Expected Behavior

No response

❌ Actual Behavior

No response

@Alex-DeepL Alex-DeepL added the bug Something isn't working label Jan 7, 2025
@Whale-Dolphin
Copy link
Collaborator

Can you provide your merge command? I think this may because of the error of your lora model.

@Alex-DeepL
Copy link
Author

python tools/llama/merge_lora.py --lora-config r_8_alpha_16 --base-weight /home/root123/workspace/lwl/fish-speech/tools/checkpoints/fish-speech-1.5/ --lora-weight /home/root123/workspace/lwl/fish-speech/results/checkpoints/step_000000600.ckpt --output /home/root123/workspace/lwl/fish-speech/tools/checkpoints/result/fish-speech-1.5-yth-lora/

@Alex-DeepL
Copy link
Author

this is my command

@Alex-DeepL
Copy link
Author

I just used the latest code to fine-tune it, and no errors occurred, but an error like "Loaded weights with error: _IncompatibleKeys(missing_keys="'embeddings. ora_A','embeddings. ora_B','codebook_embeddings. ora_A','codebook_embeddings. ora_B'," occurred when loading the model at the beginning of training, but the model was trained normally.
When I successfully merged Lora weights with the original model to reason, an error occurred if I used the--compile parameter when generating semantic tokens from text in the second part ImportError: /home/root123/.triton/cache/41ce1f58e0a8aa9865e66b90d58b3307bb64c5a006830e49543444 faf56202 fc/cuda_utils.so: undefined symbol: cuModuleGetFunction Set TORCH_LOGS="+dynamo" and TORCHDYNAMO_VERBOSE=1 for more information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants