Views
No views yet
2026-08-17 : added a quick perplexity comparison for recent (August 2026) Qwen3.5 35B A3B-alike models, spoiler:Kwaipilot/KAT-Coder-V2.5-Dev or OrionLLM/GRM-3.2-Sky.q8_0 quantizations for KV cache if your hardware supoorts it, especially if it has a chance to be more performant on it.)1
2llama-server \
3--model ${GGUF_FILENAME} \
4--flash-attn on \
5--n-gpu-layers-draft all \
6--cache-type-k q8_0 \
7--cache-type-v q8_0 \
8--temperature 1.0 \
9--top-k 20 \
10--top-p 0.95 \
11--min-p 0 \
12--reasoning-preserve \
13--spec-type draft-mtp \
14--spec-draft-n-max 4 \
15--cache-type-k-draft q8_0 \
16--cache-type-v-draft q8_0
17--spec-draft-n-max 4 setting above -- the exact number would obviously depend on your GPU model.spec-draft-n-max := 1,2,4,8,... (unlikely more) while the inference speed grows or stays the same,[37813] 812.35.434.815 I slot launch_slot_: id 0 | task 56272 | processing task, is_child = 0
[37813] 812.37.748.230 I slot print_timing: id 0 | task 56272 | prompt eval time = 310.31 ms / 177 tokens ( 1.75 ms per token, 570.40 tokens per second)
[37813] 812.37.748.234 I slot print_timing: id 0 | task 56272 | eval time = 2002.97 ms / 400 tokens ( 5.01 ms per token, 199.70 tokens per second)
[37813] 812.37.748.234 I slot print_timing: id 0 | task 56272 | total time = 2313.28 ms / 577 tokens
[37813] 812.37.748.235 I slot print_timing: id 0 | task 56272 | graphs reused = 52595
[37813] 812.37.748.238 I slot print_timing: id 0 | task 56272 | draft acceptance = 0.95482 ( 317 accepted / 332 generated), mean len = 4.82
[37813] 812.37.749.091 I slot release: id 0 | task 56272 | stop processing: n_tokens = 29120, truncated = 0
[37813] 812.38.114.222 I slot get_availabl: id 0 | task -1 | selected slot by LCP similarity, sim_best = 0.988 (> 0.100 thold), f_keep = 1.000
[37813] 812.38.115.131 I slot launch_slot_: id 0 | task 56358 | processing task, is_child = 0
[37813] 812.38.767.224 I slot print_timing: id 0 | task 56358 | prompt eval time = 440.40 ms / 341 tokens ( 1.29 ms per token, 774.29 tokens per second)
[37813] 812.38.767.228 I slot print_timing: id 0 | task 56358 | eval time = 211.57 ms / 20 tokens ( 10.58 ms per token, 94.53 tokens per second)
[37813] 812.38.767.228 I slot print_timing: id 0 | task 56358 | total time = 651.97 ms / 361 tokens
[37813] 812.38.767.229 I slot print_timing: id 0 | task 56358 | graphs reused = 52603
[37813] 812.38.767.232 I slot print_timing: id 0 | task 56358 | draft acceptance = 0.33333 ( 12 accepted / 36 generated), mean len = 2.33
--spec-draft-n-max 5 and see if that would improve the benchmarks: basically as long as "mean len" frequently shows values
which are greater than your spec-draft-n-max parameter -- you can still increment it by at least 1 and see if it improves your statistics (and waiting times).--spec-draft-p-min 0.5.--spec-draft-n-max value,
and then seeing if raising up the acceptance min level (and/or the "split" values such as --spec-draft-p-split) will improve things a little more.--reasoning-preserve option might speed up things for you for certain work patterns.--chat-template-kwargs or --reasoning-preserve entries below; however, if you just leave them as they are, it would still work.)1
2llama-server \
3--model Kwaipilot_KAT-Coder-V2.5-Dev-IQ4_XS.bartowski.mtp.q8_k_xl.gguf \
4--no-mmproj \
5--flash-attn on \
6--n-gpu-layers all \
7--n-gpu-layers-draft all \
8--kv-offload \
9--kv-unified \
10--cache-type-k q8_0 \
11--cache-type-v q8_0 \
12--temperature 1.0 \
13--top-k 20 \
14--top-p 0.95 \
15--min-p 0 \
16--reasoning auto \
17--chat-template-kwargs '{"enable_thinking":false}' \
18--reasoning-preserve \
19--spec-type draft-mtp \
20--spec-draft-n-max 4 \
21--cache-type-k-draft q8_0 \
22--cache-type-v-draft q8_0
23-cmoe, and possibly --n-gpu-layers auto--spec-draft-n-max -- somewhere down to 1 or 2,
depending on your hardware (your mileage may vary, see above)--reasoning-preserve option)1
2llama-server \
3--model Kwaipilot_KAT-Coder-V2.5-Dev-IQ4_NL.bartowski.mtp.gguf \
4--no-mmproj \
5--ctx-size 200000 \
6--flash-attn on \
7--n-gpu-layers all \
8--n-gpu-layers-draft all \
9--kv-offload \
10--kv-unified \
11--cache-type-k q8_0 \
12--cache-type-v q8_0 \
13--temperature 1.0 \
14--top-k 20 \
15--top-p 0.95 \
16--min-p 0 \
17--chat-template-kwargs '{"enable_thinking":true}' \
18--reasoning-preserve \
19--spec-type draft-mtp \
20--spec-draft-n-max 4 \
21--cache-type-k-draft q8_0 \
22--cache-type-v-draft q8_0
23--spec-draft-n-max -- somewhere down to 1 or 2,
depending on your hardware (your mileage may vary, see above)--reasoning-preserve option)1
2llama-server \
3--model Kwaipilot_KAT-Coder-V2.5-Dev-Q5_K_S.bartowski.mtp.gguf \
4--no-mmproj \
5--ctx-size 40960 \
6--flash-attn on \
7--n-gpu-layers all \
8--n-gpu-layers-draft all \
9--kv-offload \
10--kv-unified \
11--cache-type-k q8_0 \
12--cache-type-v q8_0 \
13--temperature 1.0 \
14--top-k 20 \
15--top-p 0.95 \
16--min-p 0 \
17--reasoning auto \
18--reasoning-preserve \
19--chat-template-kwargs '{"enable_thinking":true}' \
20--spec-type draft-mtp \
21--spec-draft-n-max 4 \
22--cache-type-k-draft q8_0 \
23--cache-type-v-draft q8_0
24