[PR #10566] [MERGED] server: fix panic when runner.Options is nil #59973

Closed
opened 2026-04-29 14:53:56 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/10566
Author: @jmorganca
Created: 5/5/2025
Status: Merged
Merged: 5/5/2025
Merged by: @jmorganca

Base: mainHead: jmorganca/fix-log-panic


📝 Commits (1)

  • 9a9daae server: fix panic when runner.Options is nil

📊 Changes

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

View changed files

📝 server/sched.go (+3 -1)

📄 Description

Seen in a case where a model is unloaded and LogValue panics


🔄 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/10566 **Author:** [@jmorganca](https://github.com/jmorganca) **Created:** 5/5/2025 **Status:** ✅ Merged **Merged:** 5/5/2025 **Merged by:** [@jmorganca](https://github.com/jmorganca) **Base:** `main` ← **Head:** `jmorganca/fix-log-panic` --- ### 📝 Commits (1) - [`9a9daae`](https://github.com/ollama/ollama/commit/9a9daae266aff0347c5a191c6f6bf7916f01562c) server: fix panic when runner.Options is nil ### 📊 Changes **1 file changed** (+3 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `server/sched.go` (+3 -1) </details> ### 📄 Description Seen in a case where a model is unloaded and `LogValue` panics --- <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 14:53:56 -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#59973