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 the encoding in the convert-hf-to-gguf-update.py file #8040

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

hamdoudhakem
Copy link
Contributor

This PR was made as a follow up of a request made by another contributer to split my last PR into two separate PRs.

In this PR the convert-hf-to-gguf-update.py was updated to use encoding="utf-8" when reading and writing on convert-hf-to-gguf.py because some characters kept breaking the execution of the convert-hf-to-gguf-update.py (mostly hexadecimal characters that weren't recognized under windows default encoding) like the rocket emojis "🚀"

@Galunid Galunid merged commit 17b291a into ggml-org:master Jun 20, 2024
1 check passed
arthw pushed a commit to arthw/llama.cpp that referenced this pull request Jun 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
python python script changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants