[PR #9913] [CLOSED] sample: use json unmarshal for sampling params #75386

Closed
opened 2026-05-05 07:48:52 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/9913
Author: @ParthSareen
Created: 3/20/2025
Status: Closed

Base: mainHead: parth/sample-unmarshal-json-for-params


📝 Commits (1)

  • 0de5bbd sample: use json unmarshal for sampling params

📊 Changes

4 files changed (+73 additions, -41 deletions)

View changed files

📝 runner/ollamarunner/runner.go (+1 -8)
📝 sample/samplers.go (+50 -23)
📝 sample/samplers_benchmark_test.go (+4 -4)
📝 sample/samplers_test.go (+18 -6)

📄 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/9913 **Author:** [@ParthSareen](https://github.com/ParthSareen) **Created:** 3/20/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `parth/sample-unmarshal-json-for-params` --- ### 📝 Commits (1) - [`0de5bbd`](https://github.com/ollama/ollama/commit/0de5bbd0fe89c93a50760d755ebb16a76ca9d505) sample: use json unmarshal for sampling params ### 📊 Changes **4 files changed** (+73 additions, -41 deletions) <details> <summary>View changed files</summary> 📝 `runner/ollamarunner/runner.go` (+1 -8) 📝 `sample/samplers.go` (+50 -23) 📝 `sample/samplers_benchmark_test.go` (+4 -4) 📝 `sample/samplers_test.go` (+18 -6) </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-05-05 07:48:52 -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#75386