[PR #372] [MERGED] model and file type as strings #41372

Closed
opened 2026-04-24 21:15:54 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/372
Author: @mxyng
Created: 8/17/2023
Status: Merged
Merged: 8/17/2023
Merged by: @mxyng

Base: mainHead: mxyng/string-types


📝 Commits (1)

  • a894cc7 model and file type as strings

📊 Changes

4 files changed (+133 additions, -48 deletions)

View changed files

📝 llm/ggml.go (+28 -25)
📝 llm/llama.go (+93 -11)
📝 llm/llm.go (+6 -6)
📝 server/images.go (+6 -6)

📄 Description

instead of representing model and file type as their native int values in manifest config, represent them as user-friendly strings


🔄 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/372 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 8/17/2023 **Status:** ✅ Merged **Merged:** 8/17/2023 **Merged by:** [@mxyng](https://github.com/mxyng) **Base:** `main` ← **Head:** `mxyng/string-types` --- ### 📝 Commits (1) - [`a894cc7`](https://github.com/ollama/ollama/commit/a894cc792de0f2270bd504dcbc3ff61e3bbc4445) model and file type as strings ### 📊 Changes **4 files changed** (+133 additions, -48 deletions) <details> <summary>View changed files</summary> 📝 `llm/ggml.go` (+28 -25) 📝 `llm/llama.go` (+93 -11) 📝 `llm/llm.go` (+6 -6) 📝 `server/images.go` (+6 -6) </details> ### 📄 Description instead of representing model and file type as their native int values in manifest config, represent them as user-friendly strings --- <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-24 21:15:55 -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#41372