github ggml-org/llama.cpp b11472

pre-releaseone hour ago
Details

sampling : use greedy selection for eligible temperature-zero chains (#29797)

  • sampling : use greedy selection for eligible temperature-zero chains

Assisted-by: OpenAI Codex

Co-authored-by: Georgi Gerganov ggerganov@gmail.com

  • sampling: simplify zero-temperature greedy eligibility

Allow the same greedy selection on CPU and grammar/reasoning-budget paths.
Keep distribution sampling for dynamic temperature and requested probabilities.
Cover the common sampler selection and probability behavior in the existing sampler tests.

Assisted-by: OpenAI Codex

  • sampling : use greedy selection after final top-k with k=1

Assisted-by: OpenAI Codex

  • cont : clean-up

Co-authored-by: Georgi Gerganov ggerganov@gmail.com

Website:

Attestations:

macOS/iOS:

Linux:

Android:

Windows:

openEuler:

  • DISABLED
  • openEuler x86 (310p)
  • openEuler x86 (910b, ACL Graph)
  • openEuler aarch64 (310p)
  • openEuler aarch64 (910b, ACL Graph)

UI:

Don't miss a new llama.cpp release

NewReleases is sending notifications on new releases.