[PR #14776] [MERGED] Revert "runner: add repeat based sampling to ollama runner" #20100

Closed
opened 2026-04-16 07:26:38 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/14776
Author: @jmorganca
Created: 3/11/2026
Status: Merged
Merged: 3/11/2026
Merged by: @jmorganca

Base: mainHead: revert-14537-jmorganca/repeat-sampling


📝 Commits (1)

  • 890eb12 Revert "runner: add token history sampling parameters to ollama runner (#14537)"

📊 Changes

8 files changed (+15 additions, -193 deletions)

View changed files

📝 api/types.go (+1 -1)
📝 docs/modelfile.mdx (+1 -3)
📝 runner/ollamarunner/runner.go (+0 -18)
📝 sample/samplers.go (+3 -39)
📝 sample/samplers_benchmark_test.go (+4 -4)
📝 sample/samplers_test.go (+6 -6)
📝 sample/transforms.go (+0 -42)
📝 sample/transforms_test.go (+0 -80)

📄 Description

Reverts ollama/ollama#14537 as this had potential performance implications


🔄 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/14776 **Author:** [@jmorganca](https://github.com/jmorganca) **Created:** 3/11/2026 **Status:** ✅ Merged **Merged:** 3/11/2026 **Merged by:** [@jmorganca](https://github.com/jmorganca) **Base:** `main` ← **Head:** `revert-14537-jmorganca/repeat-sampling` --- ### 📝 Commits (1) - [`890eb12`](https://github.com/ollama/ollama/commit/890eb1217602103a1f962659788ce7c9516fad88) Revert "runner: add token history sampling parameters to ollama runner (#14537)" ### 📊 Changes **8 files changed** (+15 additions, -193 deletions) <details> <summary>View changed files</summary> 📝 `api/types.go` (+1 -1) 📝 `docs/modelfile.mdx` (+1 -3) 📝 `runner/ollamarunner/runner.go` (+0 -18) 📝 `sample/samplers.go` (+3 -39) 📝 `sample/samplers_benchmark_test.go` (+4 -4) 📝 `sample/samplers_test.go` (+6 -6) 📝 `sample/transforms.go` (+0 -42) 📝 `sample/transforms_test.go` (+0 -80) </details> ### 📄 Description Reverts ollama/ollama#14537 as this had potential performance implications --- <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-16 07:26:38 -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#20100