]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
llama : move n_vocab from llama_sampler_data to penalty_sampler (#26520)
authorOliver Simons <redacted>
Tue, 4 Aug 2026 06:02:49 +0000 (08:02 +0200)
committerGitHub <redacted>
Tue, 4 Aug 2026 06:02:49 +0000 (09:02 +0300)
commit935cad6497e8d1569b3302c1d12d03472b556401
treee39132406603554e4fbfe59e7eee293e70efafa7
parent22dc605c4ead20e36f447cc67b55ef87e523bd55
llama : move n_vocab from llama_sampler_data to penalty_sampler (#26520)

This matches how it is done for logit_bias and mirostat samplers, see
https://github.com/ggml-org/llama.cpp/pull/25262#discussion_r3703951151
common/sampling.cpp
include/llama.h
src/llama-graph.cpp
src/llama-sampler.cpp
tests/test-backend-sampler.cpp
tests/test-sampling.cpp