]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
common : refactor common_sampler + grammar logic changes (#17937)
authorGeorgi Gerganov <redacted>
Sun, 14 Dec 2025 08:11:13 +0000 (10:11 +0200)
committerGitHub <redacted>
Sun, 14 Dec 2025 08:11:13 +0000 (10:11 +0200)
commit254098a279691615438f1a1bbe87f372199e13ea
tree4652f627e346874368df61d3ec6923045184f712
parent3238b1400cf4f0f174c39579d92ce1a8ddb68110
common : refactor common_sampler + grammar logic changes (#17937)

* common : refactor common_sampler + grammar logic changes

* tests : increase max_tokens to get needed response

* batched : fix uninitialized samplers
27 files changed:
common/arg.cpp
common/common.cpp
common/common.h
common/sampling.cpp
common/sampling.h
common/speculative.cpp
examples/batched/batched.cpp
examples/embedding/embedding.cpp
examples/eval-callback/eval-callback.cpp
examples/lookahead/lookahead.cpp
examples/lookup/lookup-create.cpp
examples/lookup/lookup-stats.cpp
examples/lookup/lookup.cpp
examples/parallel/parallel.cpp
examples/retrieval/retrieval.cpp
examples/save-load-state/save-load-state.cpp
examples/speculative-simple/speculative-simple.cpp
examples/speculative/speculative.cpp
examples/training/finetune.cpp
tools/completion/completion.cpp
tools/cvector-generator/cvector-generator.cpp
tools/imatrix/imatrix.cpp
tools/mtmd/mtmd-cli.cpp
tools/perplexity/perplexity.cpp
tools/server/server-context.cpp
tools/server/tests/unit/test_compat_anthropic.py
tools/tts/tts.cpp