[PR #3857] [MERGED] Add back memory escape valve #11298

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/3857
Author: @dhiltgen
Created: 4/24/2024
Status: Merged
Merged: 4/24/2024
Merged by: @dhiltgen

Base: mainHead: mem_escape_valve


📝 Commits (1)

  • 5445aaa Add back memory escape valve

📊 Changes

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

View changed files

📝 llm/memory.go (+13 -0)

📄 Description

If we get our predictions wrong, this can be used to set a lower memory limit as a workaround. Recent multi-gpu refactoring accidentally removed it, so this adds it back.


🔄 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/3857 **Author:** [@dhiltgen](https://github.com/dhiltgen) **Created:** 4/24/2024 **Status:** ✅ Merged **Merged:** 4/24/2024 **Merged by:** [@dhiltgen](https://github.com/dhiltgen) **Base:** `main` ← **Head:** `mem_escape_valve` --- ### 📝 Commits (1) - [`5445aaa`](https://github.com/ollama/ollama/commit/5445aaa94e6f4c5626222177ed53ebd07225dd9a) Add back memory escape valve ### 📊 Changes **1 file changed** (+13 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `llm/memory.go` (+13 -0) </details> ### 📄 Description If we get our predictions wrong, this can be used to set a lower memory limit as a workaround. Recent multi-gpu refactoring accidentally removed it, so this adds it back. --- <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:09 -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#11298