]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
speculative : fix "ngram-map-k4v" name in logging (#24253)
authorddh0 <redacted>
Wed, 10 Jun 2026 07:31:35 +0000 (02:31 -0500)
committerGitHub <redacted>
Wed, 10 Jun 2026 07:31:35 +0000 (09:31 +0200)
commitd2e22ed975e3464ff8108542c840733b488f165f
tree1b38e1f94fe00c9ed6738371152da13d57a32e6b
parent76da2450a4f2cc9ce6c7fc8229e25dc0a4b41e5d
speculative : fix "ngram-map-k4v" name in logging (#24253)

This is a non-functional change.

When using `--spec-type ngram-map-k4v`, the log messages at startup and
runtime say `ngram-map-k`. Added logic in the in the constructor of
`common_speculative_impl_ngram_map_k` to pass the correct
`COMMON_SPECULATIVE_TYPE_NGRAM_MAP_K4V` when `config.key_only` is
`false`.

After this change, the log messages use the correct name.
common/speculative.cpp