[PR #752] [MERGED] prevent waiting on exited command #41561

Closed
opened 2026-04-24 21:25:27 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/752
Author: @BruceMacD
Created: 10/10/2023
Status: Merged
Merged: 10/11/2023
Merged by: @BruceMacD

Base: mainHead: brucemacd/close-loaded-llm


📝 Commits (3)

📊 Changes

1 file changed (+37 additions, -27 deletions)

View changed files

📝 llm/llama.go (+37 -27)

📄 Description

this fixes the issue in main from #724 that causes the server to wait on a subprocess which has already exited


🔄 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/752 **Author:** [@BruceMacD](https://github.com/BruceMacD) **Created:** 10/10/2023 **Status:** ✅ Merged **Merged:** 10/11/2023 **Merged by:** [@BruceMacD](https://github.com/BruceMacD) **Base:** `main` ← **Head:** `brucemacd/close-loaded-llm` --- ### 📝 Commits (3) - [`1c0f7cb`](https://github.com/ollama/ollama/commit/1c0f7cbdae52b7297aafd22ef551921de51abfa3) prevent waiting on exited command - [`cdfe621`](https://github.com/ollama/ollama/commit/cdfe62122f4da071b7bb162b5a86bf7c4cc24164) close llama runner once - [`c7d4f90`](https://github.com/ollama/ollama/commit/c7d4f90f176f37ad849c29121d3edc3fd55bfe5b) Update llama.go ### 📊 Changes **1 file changed** (+37 additions, -27 deletions) <details> <summary>View changed files</summary> 📝 `llm/llama.go` (+37 -27) </details> ### 📄 Description this fixes the issue in main from #724 that causes the server to wait on a subprocess which has already exited --- <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-24 21:25:27 -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#41561