Skip to content

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

Merged
ggerganov merged 1 commit intoggml-org:masterfrom
mofosyne:add-license-and-version-to-gguf-writer
Apr 5, 2024
Merged

gguf.py: add licence and version to gguf writer#6504
ggerganov merged 1 commit intoggml-org:masterfrom
mofosyne:add-license-and-version-to-gguf-writer

Conversation

@mofosyne
Copy link
Copy Markdown
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.

@github-actions

This comment was marked as off-topic.

@ggerganov ggerganov merged commit a8bd14d into ggml-org:master Apr 5, 2024
@mofosyne mofosyne deleted the add-license-and-version-to-gguf-writer branch April 5, 2024 23:31
Seunghhon pushed a commit to Seunghhon/llama.cpp that referenced this pull request Apr 26, 2026
phuongncn pushed a commit to phuongncn/llama.cpp-gx10-dgx-sparks-deepseekv4 that referenced this pull request Apr 28, 2026
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