[PR #10675] [MERGED] convert: quantize from safetensors needs kv #75614

Closed
opened 2026-05-05 08:02:36 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/10675
Author: @BruceMacD
Created: 5/12/2025
Status: Merged
Merged: 5/12/2025
Merged by: @BruceMacD

Base: mainHead: brucemacd/load-kv-convert


📝 Commits (1)

  • 5b2ba23 convert: quantize from safetensors needs kv

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 server/create.go (+1 -1)

📄 Description

When creating a quantized model from safetensors we need the array KV values to be loaded.Changing this value to -1 loads the KV values on the returned layer to be used and saved during quantization.


🔄 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/10675 **Author:** [@BruceMacD](https://github.com/BruceMacD) **Created:** 5/12/2025 **Status:** ✅ Merged **Merged:** 5/12/2025 **Merged by:** [@BruceMacD](https://github.com/BruceMacD) **Base:** `main` ← **Head:** `brucemacd/load-kv-convert` --- ### 📝 Commits (1) - [`5b2ba23`](https://github.com/ollama/ollama/commit/5b2ba23b44da040f2badad5a43fe97b59c8d08a0) convert: quantize from safetensors needs kv ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `server/create.go` (+1 -1) </details> ### 📄 Description When creating a quantized model from safetensors we need the array KV values to be loaded.Changing this value to -1 loads the KV values on the returned layer to be used and saved during quantization. --- <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-05-05 08:02:36 -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#75614