[PR #9912] [MERGED] ollamarunner: Provide mechanism for backends to loading progress #13091

Closed
opened 2026-04-13 00:17:51 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/9912
Author: @jessegross
Created: 3/20/2025
Status: Merged
Merged: 3/21/2025
Merged by: @jessegross

Base: mainHead: jessegross/progress


📝 Commits (1)

  • 5895d39 ollamarunner: Provide mechanism for backends to report loading progress

📊 Changes

2 files changed (+7 additions, -0 deletions)

View changed files

📝 ml/backend.go (+4 -0)
📝 runner/ollamarunner/runner.go (+3 -0)

📄 Description

This enables the runner to report progress back to the Ollama server, both for showing status to the user and also to prevent the server from killing the runner if it thinks things have stalled.

Most of the infrastructure was already there, this extends it to be available to the backends.


🔄 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/9912 **Author:** [@jessegross](https://github.com/jessegross) **Created:** 3/20/2025 **Status:** ✅ Merged **Merged:** 3/21/2025 **Merged by:** [@jessegross](https://github.com/jessegross) **Base:** `main` ← **Head:** `jessegross/progress` --- ### 📝 Commits (1) - [`5895d39`](https://github.com/ollama/ollama/commit/5895d39bd5a7d8f90687fe916fbfa897aedfcf06) ollamarunner: Provide mechanism for backends to report loading progress ### 📊 Changes **2 files changed** (+7 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `ml/backend.go` (+4 -0) 📝 `runner/ollamarunner/runner.go` (+3 -0) </details> ### 📄 Description This enables the runner to report progress back to the Ollama server, both for showing status to the user and also to prevent the server from killing the runner if it thinks things have stalled. Most of the infrastructure was already there, this extends it to be available to the backends. --- <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-13 00:17:51 -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#13091