[PR #15631] [MERGED] mlx: apply repeat penalties in sampler #25732

Closed
opened 2026-04-19 18:25:10 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/15631
Author: @dhiltgen
Created: 4/16/2026
Status: Merged
Merged: 4/18/2026
Merged by: @dhiltgen

Base: mainHead: gemma4-repeat-penalties


📝 Commits (1)

  • 615e7a1 mlx: apply repeat penalties in sampler

📊 Changes

7 files changed (+163 additions, -84 deletions)

View changed files

📝 x/mlxrunner/client.go (+18 -14)
📝 x/mlxrunner/mlx/ops.go (+6 -0)
📝 x/mlxrunner/pipeline.go (+14 -15)
📝 x/mlxrunner/runner.go (+9 -7)
📝 x/mlxrunner/sample/sample.go (+67 -41)
📝 x/mlxrunner/sample/sample_test.go (+47 -7)
📝 x/mlxrunner/server.go (+2 -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/15631 **Author:** [@dhiltgen](https://github.com/dhiltgen) **Created:** 4/16/2026 **Status:** ✅ Merged **Merged:** 4/18/2026 **Merged by:** [@dhiltgen](https://github.com/dhiltgen) **Base:** `main` ← **Head:** `gemma4-repeat-penalties` --- ### 📝 Commits (1) - [`615e7a1`](https://github.com/ollama/ollama/commit/615e7a1090147ba91af8b15c11808aeacaa3cb60) mlx: apply repeat penalties in sampler ### 📊 Changes **7 files changed** (+163 additions, -84 deletions) <details> <summary>View changed files</summary> 📝 `x/mlxrunner/client.go` (+18 -14) 📝 `x/mlxrunner/mlx/ops.go` (+6 -0) 📝 `x/mlxrunner/pipeline.go` (+14 -15) 📝 `x/mlxrunner/runner.go` (+9 -7) 📝 `x/mlxrunner/sample/sample.go` (+67 -41) 📝 `x/mlxrunner/sample/sample_test.go` (+47 -7) 📝 `x/mlxrunner/server.go` (+2 -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-19 18:25:10 -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#25732