[PR #14290] [MERGED] bugfix: better mlx model scheduling #14605

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/14290
Author: @pdevine
Created: 2/17/2026
Status: Merged
Merged: 2/17/2026
Merged by: @pdevine

Base: mainHead: pdevine/scheduler-redux


📝 Commits (2)

  • 38c4c24 bugfix: simple scheduling changes for mlxrunner
  • bc11246 fix failing unit test

📊 Changes

3 files changed (+143 additions, -32 deletions)

View changed files

📝 server/routes_generate_test.go (+22 -17)
📝 server/sched.go (+56 -15)
📝 server/sched_test.go (+65 -0)

📄 Description

This change properly loads in different mlx (safetensors) based models so that subsequent model loads don't improperly do inference on the already loaded model.


🔄 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/14290 **Author:** [@pdevine](https://github.com/pdevine) **Created:** 2/17/2026 **Status:** ✅ Merged **Merged:** 2/17/2026 **Merged by:** [@pdevine](https://github.com/pdevine) **Base:** `main` ← **Head:** `pdevine/scheduler-redux` --- ### 📝 Commits (2) - [`38c4c24`](https://github.com/ollama/ollama/commit/38c4c24e0a437775dbc7d0331c61fa5f085d5535) bugfix: simple scheduling changes for mlxrunner - [`bc11246`](https://github.com/ollama/ollama/commit/bc11246ab99d929a9dc1631a6a12ee0f858d37df) fix failing unit test ### 📊 Changes **3 files changed** (+143 additions, -32 deletions) <details> <summary>View changed files</summary> 📝 `server/routes_generate_test.go` (+22 -17) 📝 `server/sched.go` (+56 -15) 📝 `server/sched_test.go` (+65 -0) </details> ### 📄 Description This change properly loads in different mlx (safetensors) based models so that subsequent model loads don't improperly do inference on the already loaded model. --- <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:59:00 -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#14605