[PR #13335] [MERGED] fs/ggml: write int32 and int64 values to gguf files #14169

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/13335
Author: @jmorganca
Created: 12/5/2025
Status: Merged
Merged: 12/8/2025
Merged by: @jmorganca

Base: mainHead: jmorganca/write-int32


📝 Commits (2)

  • 4c4c7df fs/ggml: write int32 and int64 values to gguf files
  • 89d2bb3 add []int64 support

📊 Changes

2 files changed (+19 additions, -3 deletions)

View changed files

📝 fs/ggml/gguf.go (+8 -0)
📝 fs/ggml/gguf_test.go (+11 -3)

📄 Description

Importing and quantizing newer GGUF files fails as they have sampling params that have int32 values.


🔄 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/13335 **Author:** [@jmorganca](https://github.com/jmorganca) **Created:** 12/5/2025 **Status:** ✅ Merged **Merged:** 12/8/2025 **Merged by:** [@jmorganca](https://github.com/jmorganca) **Base:** `main` ← **Head:** `jmorganca/write-int32` --- ### 📝 Commits (2) - [`4c4c7df`](https://github.com/ollama/ollama/commit/4c4c7dfc555b63a03dc016f40ce764656aa796b3) fs/ggml: write int32 and int64 values to gguf files - [`89d2bb3`](https://github.com/ollama/ollama/commit/89d2bb3ad58ae8309d965c59907b35e8c3b6bb85) add []int64 support ### 📊 Changes **2 files changed** (+19 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `fs/ggml/gguf.go` (+8 -0) 📝 `fs/ggml/gguf_test.go` (+11 -3) </details> ### 📄 Description Importing and quantizing newer GGUF files fails as they have sampling params that have `int32` values. --- <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:47:14 -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#14169