[PR #9377] [MERGED] sample: remove transforms from greedy sampling #12933

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/9377
Author: @ParthSareen
Created: 2/26/2025
Status: Merged
Merged: 2/27/2025
Merged by: @BruceMacD

Base: mainHead: parth/sampler-fix-greedy


📝 Commits (4)

📊 Changes

2 files changed (+54 additions, -86 deletions)

View changed files

📝 sample/samplers.go (+16 -35)
📝 sample/samplers_test.go (+38 -51)

📄 Description

removed transforms from greedy sample to allow testing with the sampler package


🔄 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/9377 **Author:** [@ParthSareen](https://github.com/ParthSareen) **Created:** 2/26/2025 **Status:** ✅ Merged **Merged:** 2/27/2025 **Merged by:** [@BruceMacD](https://github.com/BruceMacD) **Base:** `main` ← **Head:** `parth/sampler-fix-greedy` --- ### 📝 Commits (4) - [`f0008b4`](https://github.com/ollama/ollama/commit/f0008b4e6575ea681a7d4ef1240a3a3d990f4e04) fix greedy sample - [`b77c487`](https://github.com/ollama/ollama/commit/b77c48710f4e3f8aaffb68664bb3d3ebf5c4855d) remove transforms from greedy struct - [`d42ff88`](https://github.com/ollama/ollama/commit/d42ff885e2cbf59e1a1897be01a9244c4367e91d) pr feedback - [`cf686da`](https://github.com/ollama/ollama/commit/cf686da61be220151b173e69d08217833f76c78c) skip seed on -1 ### 📊 Changes **2 files changed** (+54 additions, -86 deletions) <details> <summary>View changed files</summary> 📝 `sample/samplers.go` (+16 -35) 📝 `sample/samplers_test.go` (+38 -51) </details> ### 📄 Description removed transforms from greedy sample to allow testing with the sampler package --- <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:13: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#12933