[PR #11818] [MERGED] New Memory Management Base #75919

Closed
opened 2026-05-05 08:20:35 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/11818
Author: @jessegross
Created: 8/8/2025
Status: Merged
Merged: 8/8/2025
Merged by: @jessegross

Base: mainHead: jessegross/memory-base


📝 Commits (3)

  • e8d2684 ggml: Use GGML's typedef'ed pointer types
  • 1d0069a ggml: Support closing backends
  • 23891b4 ggml: No-alloc mode

📊 Changes

8 files changed (+211 additions, -45 deletions)

View changed files

llama/patches/0026-ggml-No-alloc-mode.patch (+99 -0)
📝 ml/backend.go (+3 -0)
📝 ml/backend/ggml/ggml.go (+75 -44)
📝 ml/backend/ggml/ggml/include/ggml-backend.h (+1 -0)
📝 ml/backend/ggml/ggml/src/ggml-backend-impl.h (+2 -0)
📝 ml/backend/ggml/ggml/src/ggml-backend.cpp (+18 -1)
📝 runner/ollamarunner/cache.go (+4 -0)
📝 runner/ollamarunner/runner.go (+9 -0)

📄 Description

This is the first several commits from PR #11090, providing the basic infrastructure. Since they are relatively straightforward, merging them now can reduce merge conflicts.


🔄 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/11818 **Author:** [@jessegross](https://github.com/jessegross) **Created:** 8/8/2025 **Status:** ✅ Merged **Merged:** 8/8/2025 **Merged by:** [@jessegross](https://github.com/jessegross) **Base:** `main` ← **Head:** `jessegross/memory-base` --- ### 📝 Commits (3) - [`e8d2684`](https://github.com/ollama/ollama/commit/e8d268478b487900e9b17e99c694fd3965de9267) ggml: Use GGML's typedef'ed pointer types - [`1d0069a`](https://github.com/ollama/ollama/commit/1d0069abf4b35a5142e91f75d2ff504c851406e5) ggml: Support closing backends - [`23891b4`](https://github.com/ollama/ollama/commit/23891b4b2e4931d83f7cc3fa821f43079a77187c) ggml: No-alloc mode ### 📊 Changes **8 files changed** (+211 additions, -45 deletions) <details> <summary>View changed files</summary> ➕ `llama/patches/0026-ggml-No-alloc-mode.patch` (+99 -0) 📝 `ml/backend.go` (+3 -0) 📝 `ml/backend/ggml/ggml.go` (+75 -44) 📝 `ml/backend/ggml/ggml/include/ggml-backend.h` (+1 -0) 📝 `ml/backend/ggml/ggml/src/ggml-backend-impl.h` (+2 -0) 📝 `ml/backend/ggml/ggml/src/ggml-backend.cpp` (+18 -1) 📝 `runner/ollamarunner/cache.go` (+4 -0) 📝 `runner/ollamarunner/runner.go` (+9 -0) </details> ### 📄 Description This is the first several commits from PR #11090, providing the basic infrastructure. Since they are relatively straightforward, merging them now can reduce merge conflicts. --- <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-05-05 08:20:35 -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#75919