]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
speculative : fix n_outputs_max and remove draft-simple auto-enable (#23988)
authorGeorgi Gerganov <redacted>
Mon, 1 Jun 2026 19:26:58 +0000 (22:26 +0300)
committerGitHub <redacted>
Mon, 1 Jun 2026 19:26:58 +0000 (22:26 +0300)
commit5dcb71166686799f0d873eab7386234302d05ecf
tree76ebfdfcb0831d662bfe9a3c26838c5a5ad992d9
parent5aa3a64596a1dc67a5aeb55dbd3d743f4d84126c
speculative : fix n_outputs_max and remove draft-simple auto-enable (#23988)

* speculative : add common_speculative_n_max helper function

Extract the speculative max-draft-size logic from server_n_outputs_max
into a reusable common_speculative_n_max() function in common/speculative.

Assisted-by: llama.cpp:local pi
* cont : draft context always has n_parallel outputs

* llama : log n_outputs_max

* speculative : remove draft-simple auto-enable

* ci : enable server tests on PRs
.github/workflows/server.yml
common/arg.cpp
common/speculative.cpp
common/speculative.h
src/llama-context.cpp
tools/server/server-context.cpp