[PR #2102] [MERGED] fix: remove overwritten model layers #57478

Closed
opened 2026-04-29 12:06:45 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/2102
Author: @mxyng
Created: 1/19/2024
Status: Merged
Merged: 1/22/2024
Merged by: @mxyng

Base: mainHead: mxyng/fix-create-override


📝 Commits (1)

  • c08dfaa fix: remove overwritten model layers

📊 Changes

1 file changed (+7 additions, -2 deletions)

View changed files

📝 server/images.go (+7 -2)

📄 Description

if create overrides a manifest, first add the older manifest's layers to the delete map so they can be cleaned up

resolves #2097


🔄 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/2102 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 1/19/2024 **Status:** ✅ Merged **Merged:** 1/22/2024 **Merged by:** [@mxyng](https://github.com/mxyng) **Base:** `main` ← **Head:** `mxyng/fix-create-override` --- ### 📝 Commits (1) - [`c08dfaa`](https://github.com/ollama/ollama/commit/c08dfaa23d90d5df044f44f1ba89fc1e0b727757) fix: remove overwritten model layers ### 📊 Changes **1 file changed** (+7 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `server/images.go` (+7 -2) </details> ### 📄 Description if create overrides a manifest, first add the older manifest's layers to the delete map so they can be cleaned up resolves #2097 --- <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-29 12:06:45 -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#57478