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

gguf.py: add licence and version to gguf writer #6504

Merged

Conversation

mofosyne
Copy link
Collaborator

@mofosyne mofosyne commented Apr 5, 2024

  • Noticed that LLM_KV_GENERAL_LICENSE is present in llama.cpp but the gguf writer did not include add_licence() to make it accessible

  • Added a new key LLM_KV_GENERAL_VERSION so that it is easier to mark a model with a version string to make it easier to track it's version

This is extracted from this PR #4858 to focus on the gguf writer metadata keys. The other PR is for adding support for metadata override during conversion to gguf as well as some adjustment for default file naming.

This comment was marked as off-topic.

@ggerganov ggerganov merged commit a8bd14d into ggerganov:master Apr 5, 2024
62 checks passed
@mofosyne mofosyne deleted the add-license-and-version-to-gguf-writer branch April 5, 2024 23:31
tybalex pushed a commit to rubra-ai/tools.cpp that referenced this pull request Apr 17, 2024
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