[PR #10581] [MERGED] api: remove unused sampling parameters #75578

Closed
opened 2026-05-05 08:00:06 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/10581
Author: @jmorganca
Created: 5/6/2025
Status: Merged
Merged: 5/8/2025
Merged by: @jmorganca

Base: mainHead: jmorganca/remove-mirostat


📝 Commits (1)

  • 7fd48b5 api: remove unused sampling parameters

📊 Changes

9 files changed (+3 additions, -30 deletions)

View changed files

📝 api/types.go (+0 -6)
📝 docs/api.md (+0 -3)
📝 docs/modelfile.md (+0 -3)
📝 llama/llama.go (+0 -6)
📝 llama/sampling_ext.cpp (+0 -3)
📝 llama/sampling_ext.h (+0 -3)
📝 parser/parser.go (+3 -0)
📝 parser/parser_test.go (+0 -3)
📝 runner/llamarunner/runner.go (+0 -3)

📄 Description

These sampling parameters are largely unused and unsupported in some of the newer models


🔄 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/10581 **Author:** [@jmorganca](https://github.com/jmorganca) **Created:** 5/6/2025 **Status:** ✅ Merged **Merged:** 5/8/2025 **Merged by:** [@jmorganca](https://github.com/jmorganca) **Base:** `main` ← **Head:** `jmorganca/remove-mirostat` --- ### 📝 Commits (1) - [`7fd48b5`](https://github.com/ollama/ollama/commit/7fd48b5fb9ebb1382438cf71a2017e70afcdd9b7) api: remove unused sampling parameters ### 📊 Changes **9 files changed** (+3 additions, -30 deletions) <details> <summary>View changed files</summary> 📝 `api/types.go` (+0 -6) 📝 `docs/api.md` (+0 -3) 📝 `docs/modelfile.md` (+0 -3) 📝 `llama/llama.go` (+0 -6) 📝 `llama/sampling_ext.cpp` (+0 -3) 📝 `llama/sampling_ext.h` (+0 -3) 📝 `parser/parser.go` (+3 -0) 📝 `parser/parser_test.go` (+0 -3) 📝 `runner/llamarunner/runner.go` (+0 -3) </details> ### 📄 Description These sampling parameters are largely unused and unsupported in some of the newer models --- <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-05-05 08:00:07 -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#75578