[PR #2117] [MERGED] Unlock mutex when failing to load model #57485

Closed
opened 2026-04-29 12:07:21 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/2117
Author: @jmorganca
Created: 1/21/2024
Status: Merged
Merged: 1/21/2024
Merged by: @jmorganca

Base: mainHead: unlock


📝 Commits (1)

  • b18f3ad Unlock mutex when failing to load model

📊 Changes

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

View changed files

📝 llm/dyn_ext_server.go (+1 -0)

📄 Description

Avoids ollama serve hanging with concurrent llm servers not yet supported, waiting for prior server to complete when a model fails to load

I believe this also fixes https://github.com/jmorganca/ollama/issues/1641


🔄 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/2117 **Author:** [@jmorganca](https://github.com/jmorganca) **Created:** 1/21/2024 **Status:** ✅ Merged **Merged:** 1/21/2024 **Merged by:** [@jmorganca](https://github.com/jmorganca) **Base:** `main` ← **Head:** `unlock` --- ### 📝 Commits (1) - [`b18f3ad`](https://github.com/ollama/ollama/commit/b18f3ad2705d970170cec75830b78d31e12333a1) Unlock mutex when failing to load model ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `llm/dyn_ext_server.go` (+1 -0) </details> ### 📄 Description Avoids `ollama serve` hanging with `concurrent llm servers not yet supported, waiting for prior server to complete` when a model fails to load I believe this also fixes https://github.com/jmorganca/ollama/issues/1641 --- <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-29 12:07:21 -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#57485