koboldcpp/examples/speculative-simple
2026-06-04 19:30:59 +03:00
..
CMakeLists.txt libs : rename libcommon -> libllama-common (#21936) 2026-04-17 11:11:46 +03:00
README.md examples : update args speculative-simple README.md [no ci] (#22938) 2026-05-11 14:00:57 +03:00
speculative-simple.cpp server : disable on-device spec checkpoints (#24108) 2026-06-04 19:30:59 +03:00

llama.cpp/examples/speculative-simple

Demonstration of basic greedy speculative decoding

./bin/llama-speculative-simple \
    -m  ../models/qwen2.5-32b-coder-instruct/ggml-model-q8_0.gguf \
    -md ../models/qwen2.5-1.5b-coder-instruct/ggml-model-q4_0.gguf \
    -f test.txt -c 0 -ngl 99 --color on \
    --sampling-seq k --top-k 1 -fa on --temp 0.0 \
    -ngld 99 --spec-draft-n-max 16 --spec-draft-n-draft-min 5 --draft-p-min 0.9