[PR #3920] [MERGED] Reload model if num_gpu changes #11319

Closed
opened 2026-04-12 23:27:42 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/3920
Author: @jmorganca
Created: 4/25/2024
Status: Merged
Merged: 4/25/2024
Merged by: @jmorganca

Base: mainHead: jmorganca/numgpu


📝 Commits (3)

📊 Changes

2 files changed (+15 additions, -6 deletions)

View changed files

📝 server/sched.go (+12 -6)
📝 server/sched_test.go (+3 -0)

📄 Description

No description provided


🔄 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/3920 **Author:** [@jmorganca](https://github.com/jmorganca) **Created:** 4/25/2024 **Status:** ✅ Merged **Merged:** 4/25/2024 **Merged by:** [@jmorganca](https://github.com/jmorganca) **Base:** `main` ← **Head:** `jmorganca/numgpu` --- ### 📝 Commits (3) - [`949f4b5`](https://github.com/ollama/ollama/commit/949f4b582f53b8669b0e258eb1a2915196d2418a) reload model if `num_gpu` changes - [`e2aeda4`](https://github.com/ollama/ollama/commit/e2aeda4e0d4c5b2d0898bc73b4f569a9813276d5) dont reload on -1 - [`9634042`](https://github.com/ollama/ollama/commit/963404255e608fbea6cc461f00087051037a541d) fix tests ### 📊 Changes **2 files changed** (+15 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `server/sched.go` (+12 -6) 📝 `server/sched_test.go` (+3 -0) </details> ### 📄 Description _No description provided_ --- <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-12 23:27:42 -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#11319