]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
vocab : call reserve() for building plamo-2-translate suffix (#17343)
authorHaiyue Wang <redacted>
Tue, 18 Nov 2025 17:58:22 +0000 (01:58 +0800)
committerGitHub <redacted>
Tue, 18 Nov 2025 17:58:22 +0000 (18:58 +0100)
commita045492088dd105231cc5f8bfaae2d527ce47344
tree45151793b6fc53796beefc2f4a149a4216fc0c9f
parent1920345c3bcec451421bb6abc4981678cc721154
vocab : call reserve() for building plamo-2-translate suffix (#17343)

Test 'Q4_K_M' quantization on https://huggingface.co/pfnet/plamo-2-translate

The 'suffix_to_score' size is 193510, it needs 19 memory allocation with final
capacity 262144 to hold the value, if not preserve the memory.

Signed-off-by: Haiyue Wang <redacted>
src/llama-vocab.cpp