[PR #3464] [MERGED] Fix numgpu opt miscomparison #11163

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/3464
Author: @dhiltgen
Created: 4/2/2024
Status: Merged
Merged: 4/3/2024
Merged by: @dhiltgen

Base: mainHead: subprocess


📝 Commits (1)

  • 6589eb8 Revert options as a ref in the server

📊 Changes

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

View changed files

📝 llm/server.go (+2 -2)
📝 server/routes.go (+5 -5)

📄 Description

opts are now a pointer which means we incorrectly reloaded the model when the actual layers loaded didn't match the input request


🔄 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/3464 **Author:** [@dhiltgen](https://github.com/dhiltgen) **Created:** 4/2/2024 **Status:** ✅ Merged **Merged:** 4/3/2024 **Merged by:** [@dhiltgen](https://github.com/dhiltgen) **Base:** `main` ← **Head:** `subprocess` --- ### 📝 Commits (1) - [`6589eb8`](https://github.com/ollama/ollama/commit/6589eb8a8ce3c1b060af078f9154415b1493ace4) Revert options as a ref in the server ### 📊 Changes **2 files changed** (+7 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `llm/server.go` (+2 -2) 📝 `server/routes.go` (+5 -5) </details> ### 📄 Description opts are now a pointer which means we incorrectly reloaded the model when the actual layers loaded didn't match the input request --- <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:23: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#11163