[PR #9536] [MERGED] fix kv loading on snowflake-arctic-embed #12990

Closed
opened 2026-04-13 00:14:45 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/9536
Author: @jmorganca
Created: 3/6/2025
Status: Merged
Merged: 3/7/2025
Merged by: @jmorganca

Base: mainHead: jmorganca/fix-kv-loading


📝 Commits (1)

  • 21c7510 fix kv loading on snowflake-arctic-embed

📊 Changes

4 files changed (+71 additions, -3 deletions)

View changed files

📝 llama/llama.cpp/src/llama-vocab.cpp (+1 -1)
llama/patches/0019-fix-string-arr-kv-loading.patch (+64 -0)
📝 ml/backend/ggml/ggml/include/gguf.h (+1 -0)
📝 ml/backend/ggml/ggml/src/gguf.cpp (+5 -2)

📄 Description

A recent refactor of gguf.cpp causes errors when trying to access underlying char* data in a GGUF_TYPE_STRING kv metadata pair

Fixes https://github.com/ollama/ollama/issues/9511


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/9536 **Author:** [@jmorganca](https://github.com/jmorganca) **Created:** 3/6/2025 **Status:** ✅ Merged **Merged:** 3/7/2025 **Merged by:** [@jmorganca](https://github.com/jmorganca) **Base:** `main` ← **Head:** `jmorganca/fix-kv-loading` --- ### 📝 Commits (1) - [`21c7510`](https://github.com/ollama/ollama/commit/21c75108e763b6667096324fa5dec652ac510197) fix kv loading on snowflake-arctic-embed ### 📊 Changes **4 files changed** (+71 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `llama/llama.cpp/src/llama-vocab.cpp` (+1 -1) ➕ `llama/patches/0019-fix-string-arr-kv-loading.patch` (+64 -0) 📝 `ml/backend/ggml/ggml/include/gguf.h` (+1 -0) 📝 `ml/backend/ggml/ggml/src/gguf.cpp` (+5 -2) </details> ### 📄 Description A recent refactor of gguf.cpp causes errors when trying to access underlying `char*` data in a `GGUF_TYPE_STRING` kv metadata pair Fixes https://github.com/ollama/ollama/issues/9511 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-13 00:14:45 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#12990