[PR #5467] [MERGED] Fix corner cases on tmp cleaner on mac #74083

Closed
opened 2026-05-05 06:03:16 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/5467
Author: @dhiltgen
Created: 7/3/2024
Status: Merged
Merged: 7/3/2024
Merged by: @dhiltgen

Base: mainHead: bogus_cpu_mac_error


📝 Commits (1)

  • 0e982bc Fix corner cases on tmp cleaner on mac

📊 Changes

2 files changed (+37 additions, -22 deletions)

View changed files

📝 llm/payload.go (+23 -21)
📝 llm/server.go (+14 -1)

📄 Description

When ollama is running a long time, tmp cleaners can remove the runners. This tightens up a few corner cases on arm macs where we failed with "server cpu not listed in available servers map[]"


🔄 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/5467 **Author:** [@dhiltgen](https://github.com/dhiltgen) **Created:** 7/3/2024 **Status:** ✅ Merged **Merged:** 7/3/2024 **Merged by:** [@dhiltgen](https://github.com/dhiltgen) **Base:** `main` ← **Head:** `bogus_cpu_mac_error` --- ### 📝 Commits (1) - [`0e982bc`](https://github.com/ollama/ollama/commit/0e982bc1f47cfc7c36f49f925419f9039304925e) Fix corner cases on tmp cleaner on mac ### 📊 Changes **2 files changed** (+37 additions, -22 deletions) <details> <summary>View changed files</summary> 📝 `llm/payload.go` (+23 -21) 📝 `llm/server.go` (+14 -1) </details> ### 📄 Description When ollama is running a long time, tmp cleaners can remove the runners. This tightens up a few corner cases on arm macs where we failed with "server cpu not listed in available servers map[]" --- <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 06:03:16 -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#74083