Skip to content

common: Refactoring sampler parameters (#20429)#22233

Merged
pwilkin merged 1 commit intoggml-org:masterfrom
ezturner:task/reasoning-budget-cleanup
Apr 22, 2026
Merged

common: Refactoring sampler parameters (#20429)#22233
pwilkin merged 1 commit intoggml-org:masterfrom
ezturner:task/reasoning-budget-cleanup

Conversation

@ezturner
Copy link
Copy Markdown
Contributor

Overview

This change refactors the reasoning_budget_message parameter from the common params into the sampling parameters specifically. It also removes the reasoning_budget common parameter and standardizes on the existing reasoning_budget_tokens parameter in the sampling configuration.

Additional information

Issue: #20429
Original PR: #20297

Requirements

  • I have read and agree with the contributing guidelines
  • AI usage disclosure: All code is human written and AI was not used.

This change refactors the reasoning_budget_message parameter from the
common params into the sampling parameters specifically. It also removes
the reasoning_budget common parameter and standardizes on the existing
reasoning_budget_tokens parameter in the sampling configuration.

Issue: ggml-org#20429
Original PR: ggml-org#20297
@ezturner ezturner requested review from a team and ngxson as code owners April 22, 2026 00:28
@ezturner
Copy link
Copy Markdown
Contributor Author

Note that reasoning_budget was an int and reasoning_budget_tokens is int32_t

Copy link
Copy Markdown
Member

@pwilkin pwilkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh yeah, forgot about it. Thanks for this :)

@pwilkin pwilkin merged commit 750579f into ggml-org:master Apr 22, 2026
47 of 49 checks passed
@ezturner ezturner deleted the task/reasoning-budget-cleanup branch April 22, 2026 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants