[PR #4938] [MERGED] fix parsing big endian gguf #11621

Closed
opened 2026-04-12 23:33:51 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/4938
Author: @mxyng
Created: 6/8/2024
Status: Merged
Merged: 6/10/2024
Merged by: @mxyng

Base: mainHead: mxyng/fix-byte-order


📝 Commits (1)

  • 620d5c5 fix parsing big endian gguf

📊 Changes

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

View changed files

📝 llm/ggml.go (+5 -8)
📝 llm/gguf.go (+14 -1)

📄 Description

most gguf files will be little endian but a big endian file should not panic


🔄 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/4938 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 6/8/2024 **Status:** ✅ Merged **Merged:** 6/10/2024 **Merged by:** [@mxyng](https://github.com/mxyng) **Base:** `main` ← **Head:** `mxyng/fix-byte-order` --- ### 📝 Commits (1) - [`620d5c5`](https://github.com/ollama/ollama/commit/620d5c569e965ac93ac5c58bca5d3d8938cb98bc) fix parsing big endian gguf ### 📊 Changes **2 files changed** (+19 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `llm/ggml.go` (+5 -8) 📝 `llm/gguf.go` (+14 -1) </details> ### 📄 Description most gguf files will be little endian but a big endian file should not panic --- <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-12 23:33:51 -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#11621