[PR #1022] [MERGED] instead of static number of parameters for each model family, get the real number from the tensors #9175

Closed
opened 2025-11-12 15:00:45 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/1022
Author: @mxyng
Created: 11/6/2023
Status: Merged
Merged: 11/9/2023
Merged by: @jmorganca

Base: mainHead: mxyng/real-parameters


📝 Commits (5)

📊 Changes

2 files changed (+72 additions, -18 deletions)

View changed files

format/format.go (+25 -0)
📝 llm/gguf.go (+47 -18)

📄 Description

No description provided


🔄 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/1022 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 11/6/2023 **Status:** ✅ Merged **Merged:** 11/9/2023 **Merged by:** [@jmorganca](https://github.com/jmorganca) **Base:** `main` ← **Head:** `mxyng/real-parameters` --- ### 📝 Commits (5) - [`335aeab`](https://github.com/ollama/ollama/commit/335aeab1d9a4529cfbd911ef27963eff1d3ac40b) parse tensor info - [`67d541b`](https://github.com/ollama/ollama/commit/67d541b6823c4a8cb277ca51d17b2bb267c6b217) refactor decoder - [`8202f4b`](https://github.com/ollama/ollama/commit/8202f4b6ce6f81b59d7bd1807091fd3c18ecbc40) return actual parameter count - [`4152cbd`](https://github.com/ollama/ollama/commit/4152cbd3022215adbce960511fb96cc169b14eaf) explicit rounding - [`91bfb41`](https://github.com/ollama/ollama/commit/91bfb413972e6c345e839d8f79652646d5ab218c) s/Human/HumanNumber/ ### 📊 Changes **2 files changed** (+72 additions, -18 deletions) <details> <summary>View changed files</summary> ➕ `format/format.go` (+25 -0) 📝 `llm/gguf.go` (+47 -18) </details> ### 📄 Description _No description provided_ --- <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 2025-11-12 15:00:45 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama-ollama#9175