[PR #7749] [MERGED] fix(runner): Set logits to 0 if false on Batch.Add #12508

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/7749
Author: @gabe-l-hart
Created: 11/19/2024
Status: Merged
Merged: 11/19/2024
Merged by: @jessegross

Base: mainHead: Granite3StoppingBug-7656


📝 Commits (1)

  • 6665b69 fix(runner): Set logits to 0 if false on Batch.Add

📊 Changes

1 file changed (+2 additions, -0 deletions)

View changed files

📝 llama/llama.go (+2 -0)

📄 Description

Closes: https://github.com/ollama/ollama/issues/7656

This was a fun bunch of bug hunting to try to chase down nondeterministic behavior with the Granite 3 models that shows up with the switch to the go-based runner.


🔄 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/7749 **Author:** [@gabe-l-hart](https://github.com/gabe-l-hart) **Created:** 11/19/2024 **Status:** ✅ Merged **Merged:** 11/19/2024 **Merged by:** [@jessegross](https://github.com/jessegross) **Base:** `main` ← **Head:** `Granite3StoppingBug-7656` --- ### 📝 Commits (1) - [`6665b69`](https://github.com/ollama/ollama/commit/6665b69d4f2bd84caaf1579858db76f7969b1f48) fix(runner): Set logits to 0 if false on Batch.Add ### 📊 Changes **1 file changed** (+2 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `llama/llama.go` (+2 -0) </details> ### 📄 Description Closes: https://github.com/ollama/ollama/issues/7656 This was a fun bunch of bug hunting to try to chase down nondeterministic behavior with the Granite 3 models that shows up with the switch to the go-based runner. --- <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:01:30 -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#12508