[PR #3149] [MERGED] fix: clip memory leak #11083

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/3149
Author: @mxyng
Created: 3/14/2024
Status: Merged
Merged: 3/14/2024
Merged by: @mxyng

Base: mainHead: mxyng/fix-memory-leak


📝 Commits (1)

📊 Changes

1 file changed (+45 additions, -0 deletions)

View changed files

llm/patches/05-fix-clip-free.diff (+45 -0)

📄 Description

this change patches llama.cpp and fixes two bugs

  1. llama_server_context never calls clip_free
  2. clip_free does not fully free its context

🔄 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/3149 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 3/14/2024 **Status:** ✅ Merged **Merged:** 3/14/2024 **Merged by:** [@mxyng](https://github.com/mxyng) **Base:** `main` ← **Head:** `mxyng/fix-memory-leak` --- ### 📝 Commits (1) - [`291c663`](https://github.com/ollama/ollama/commit/291c663865fe9765aa4c541e617948a54d400590) fix: clip memory leak ### 📊 Changes **1 file changed** (+45 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `llm/patches/05-fix-clip-free.diff` (+45 -0) </details> ### 📄 Description this change patches llama.cpp and fixes two bugs 1. llama_server_context never calls clip_free 2. clip_free does not fully free its context --- <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:20:32 -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#11083