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

Fix persimmon n_rot conversion in convert-persimmon-to-gguf.py #5460

Merged
merged 2 commits into from
Feb 12, 2024
Merged

Fix persimmon n_rot conversion in convert-persimmon-to-gguf.py #5460

merged 2 commits into from
Feb 12, 2024

Conversation

lx200916
Copy link
Contributor

Fix rope_dimension_count param value in convert-persimmon-to-gguf.py according to those in convert-hf-to-gguf.py

@lx200916
Copy link
Contributor Author

Seems like something wrong with CI itself, it says ERROR: Could not install packages due to an OSError: [Errno 28] No space left on device.

Copy link
Owner

@ggerganov ggerganov left a comment

Choose a reason for hiding this comment

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

Btw, is this script (convert-persimmon-to-gguf.py) still needed since convert-hf-to-gguf.py already supports Persimmon?

convert-persimmon-to-gguf.py Outdated Show resolved Hide resolved
@ggerganov ggerganov merged commit dbd8828 into ggerganov:master Feb 12, 2024
21 of 22 checks passed
@lx200916
Copy link
Contributor Author

Btw, is this script (convert-persimmon-to-gguf.py) still needed since convert-hf-to-gguf.py already supports Persimmon?

😂Initially, I tried to use the convert.py with shell commands from the readme to convert the persimmon weights from hf, but an exception was thrown. I suspect that it might be necessary to use convert-persimmon-to-gguf.py along with the official weights, and then this issue occurred. Perhaps we need clearer instructions about these convert.py scripts?

jordankanter pushed a commit to jordankanter/llama.cpp that referenced this pull request Mar 13, 2024
* convert : fix persimmon offical weight conversion to write correct n_rot.

* Update convert-persimmon-to-gguf.py

---------

Co-authored-by: Georgi Gerganov <[email protected]>
hodlen pushed a commit to hodlen/llama.cpp that referenced this pull request Apr 1, 2024
* convert : fix persimmon offical weight conversion to write correct n_rot.

* Update convert-persimmon-to-gguf.py

---------

Co-authored-by: Georgi Gerganov <[email protected]>
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