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

Improve rope #1745

Merged
merged 15 commits into from
Oct 4, 2024
Merged

Improve rope #1745

merged 15 commits into from
Oct 4, 2024

Conversation

rasbt
Copy link
Collaborator

@rasbt rasbt commented Sep 25, 2024

Investigating the RoPE implementation

Fixes #1713
Fixes #1699

@rasbt rasbt changed the title [WIP] Improve rope Improve rope Oct 2, 2024
@rasbt rasbt marked this pull request as ready for review October 2, 2024 20:31
@rasbt rasbt merged commit c03f3f0 into main Oct 4, 2024
8 of 9 checks passed
@rasbt rasbt deleted the fix-rope branch October 4, 2024 12:30
else:
# Some but not all parameters are specified; raise an error
raise ValueError(
"The following adjusted RoPE parameters are missing in rope_adjustments."
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you forgot to add the list of missing parameters in the error message.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point! I am addressing it here: #1781

litgpt/model.py Show resolved Hide resolved
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.

Llama 3.1 RoPE not implemented -- Finetuning will lead to spelling/grammar mistakes [BUG] LLaMA 3.1 RoPE
2 participants