[PR #10819] sched: fix runner leak during reloading unload #13377

Closed
opened 2026-04-13 00:25:23 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/ollama/ollama/pull/10819

State: closed
Merged: Yes


When the same model is being reloaded rapidly with client connections being canceled before the model finishes loading, the queued unload event could cause a leak of runners by deleting a different runner from the loaded list.

Fixes #10433

**Original Pull Request:** https://github.com/ollama/ollama/pull/10819 **State:** closed **Merged:** Yes --- When the same model is being reloaded rapidly with client connections being canceled before the model finishes loading, the queued unload event could cause a leak of runners by deleting a different runner from the loaded list. Fixes #10433
GiteaMirror added the pull-request label 2026-04-13 00:25:23 -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#13377