[PR #10779] llama: fix incorrect initialization of C.struct_common_sampler_cparams.penalty_present #13361

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

Original Pull Request: https://github.com/ollama/ollama/pull/10779

State: closed
Merged: Yes


It should be initialized with SamplingParams.PenaltyPresent instead of SamplingParams.PenaltyFreq.
Bugfix for #10771, and, probably #10767

**Original Pull Request:** https://github.com/ollama/ollama/pull/10779 **State:** closed **Merged:** Yes --- It should be initialized with SamplingParams.PenaltyPresent instead of SamplingParams.PenaltyFreq. Bugfix for #10771, and, probably #10767
GiteaMirror added the pull-request label 2026-04-13 00:24:53 -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#13361