Skip to content

Fix rope scaling defaults #767

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

Merged
merged 5 commits into from
Sep 29, 2023
Merged

Fix rope scaling defaults #767

merged 5 commits into from
Sep 29, 2023

Conversation

Josh-XT
Copy link
Contributor

@Josh-XT Josh-XT commented Sep 29, 2023

Fix rope scaling defaults

  • Defaults were previously 1 for rope_freq_base and 10000 for rope_freq_base, these are now both 0 for defaults.

ggml-org/llama.cpp#3401

Edit: Removed the backwards compatibility so that there is never any unintended behavior with those settings later.

@Josh-XT
Copy link
Contributor Author

Josh-XT commented Sep 29, 2023

Fixes #765

@Josh-XT Josh-XT changed the title Fix rope scaling defaults with backwards compatibility Fix rope scaling defaults Sep 29, 2023
@abetlen
Copy link
Owner

abetlen commented Sep 29, 2023

@Josh-XT thanks for catching this, lgtm!

@abetlen abetlen merged commit a945404 into abetlen:main Sep 29, 2023
@Josh-XT
Copy link
Contributor Author

Josh-XT commented Sep 29, 2023

@Josh-XT thanks for catching this, lgtm!

No problem! Glad to finally contribute here.

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.

2 participants