[PR #439] [MERGED] add model IDs #15419

Closed
opened 2026-04-16 04:58:44 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/439
Author: @pdevine
Created: 8/29/2023
Status: Merged
Merged: 8/29/2023
Merged by: @pdevine

Base: mainHead: model-ids


📝 Commits (1)

📊 Changes

4 files changed (+27 additions, -19 deletions)

View changed files

📝 api/types.go (+1 -0)
📝 cmd/cmd.go (+3 -3)
📝 server/images.go (+21 -15)
📝 server/routes.go (+2 -1)

📄 Description

This change shows a portion (first 12 hex chars) of the sha256 sum of the manifest when running ollama ls. This makes it really easy at a glance to tell if two models are the same, and will make it easier in the future to match models inside of the ollama library.

It looks something like:

NAME                                    ID              SIZE    MODIFIED
codellama:34b-instruct                  901abb8f0f4b    19 GB   3 days ago
codellama:latest                        adf065e2ff94    3.8 GB  3 days ago
codeup:13b                              400f83199325    7.4 GB  2 weeks ago
llama-mario:latest                      d5793f033f5c    7.3 GB  4 weeks ago
llama2:13b                              156106c1e540    7.3 GB  4 weeks ago
llama2:latest                           5c1a4ea68dd0    3.8 GB  9 hours ago
llama2-uncensored:7b-chat-q6_K          26cf13ee4cfe    5.5 GB  8 days ago
llama2-uncensored:latest                5823fb1154c5    3.8 GB  4 weeks ago
nous-hermes:latest                      bfba379045c1    7.3 GB  6 weeks ago

🔄 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/439 **Author:** [@pdevine](https://github.com/pdevine) **Created:** 8/29/2023 **Status:** ✅ Merged **Merged:** 8/29/2023 **Merged by:** [@pdevine](https://github.com/pdevine) **Base:** `main` ← **Head:** `model-ids` --- ### 📝 Commits (1) - [`a44b7a7`](https://github.com/ollama/ollama/commit/a44b7a7fc64263721a66393311175d1490e01df3) add model IDs ### 📊 Changes **4 files changed** (+27 additions, -19 deletions) <details> <summary>View changed files</summary> 📝 `api/types.go` (+1 -0) 📝 `cmd/cmd.go` (+3 -3) 📝 `server/images.go` (+21 -15) 📝 `server/routes.go` (+2 -1) </details> ### 📄 Description This change shows a portion (first 12 hex chars) of the sha256 sum of the manifest when running `ollama ls`. This makes it really easy at a glance to tell if two models are the same, and will make it easier in the future to match models inside of the ollama library. It looks something like: ``` NAME ID SIZE MODIFIED codellama:34b-instruct 901abb8f0f4b 19 GB 3 days ago codellama:latest adf065e2ff94 3.8 GB 3 days ago codeup:13b 400f83199325 7.4 GB 2 weeks ago llama-mario:latest d5793f033f5c 7.3 GB 4 weeks ago llama2:13b 156106c1e540 7.3 GB 4 weeks ago llama2:latest 5c1a4ea68dd0 3.8 GB 9 hours ago llama2-uncensored:7b-chat-q6_K 26cf13ee4cfe 5.5 GB 8 days ago llama2-uncensored:latest 5823fb1154c5 3.8 GB 4 weeks ago nous-hermes:latest bfba379045c1 7.3 GB 6 weeks ago ``` --- <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-16 04:58:44 -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#15419