[PR #3893] [CLOSED] add param count tag to latest push by default #11311

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/3893
Author: @BruceMacD
Created: 4/24/2024
Status: Closed

Base: mainHead: brucemacd/default-param-tag


📝 Commits (1)

  • 55ac725 add param count tag to latest push by default

📊 Changes

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

View changed files

📝 server/images.go (+49 -24)

📄 Description

  • add a tag for the model parameter count by default when a new latest model is pushed
  • allow skipping this default with an environment flag

This change automatically adds an additional parameter count flag when a new latest tag of a model is pushed. This should help users to conform to our expected tagging format. It will also allow us to reliably display parameter counts in the UI.

For cases like Gemma where the documented parameter count does not match the actual parameter count there is a hidden environment variable to by-pass this behaviour.


🔄 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/3893 **Author:** [@BruceMacD](https://github.com/BruceMacD) **Created:** 4/24/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `brucemacd/default-param-tag` --- ### 📝 Commits (1) - [`55ac725`](https://github.com/ollama/ollama/commit/55ac7254a376de4d46111d3ea21a0a66eae8e7e9) add param count tag to latest push by default ### 📊 Changes **1 file changed** (+49 additions, -24 deletions) <details> <summary>View changed files</summary> 📝 `server/images.go` (+49 -24) </details> ### 📄 Description - add a tag for the model parameter count by default when a new latest model is pushed - allow skipping this default with an environment flag This change automatically adds an additional parameter count flag when a new `latest` tag of a model is pushed. This should help users to conform to our expected tagging format. It will also allow us to reliably display parameter counts in the UI. For cases like Gemma where the documented parameter count does not match the actual parameter count there is a hidden environment variable to by-pass this behaviour. --- <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:27:30 -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#11311