Absolutely no any speed increase: what wrong with my settings?

#18
by K-Tul-Khu - opened

rtx 3060 12G+96G RAM, llama.cpp b9213
--kv-unified ^
--no-cache-idle-slots ^
--cache-ram 4096 ^
--flash-attn on ^
--ctx-size 32768 ^
--parallel 1 ^
--cache-reuse 256 ^
--cache-type-k q8_0 ^
--cache-type-v q8_0 ^
--batch-size 512 ^
--ubatch-size 512 ^
--gpu-layers 999 ^
--n-cpu-moe 25 ^
--no-mmproj ^
--temp 0.7 --top-p 0.8 --top-k 20 --presence-penalty 1.5 --min-p 0.00 ^
--spec-type draft-mtp --spec-draft-n-max 2 ^
--threads 10 ^
--threads-batch 10 ^
--context-shift
Absolutely same decoding speed as on ordinary Q4_K_M GGUF, no any differense (((
--chat-template-kwargs "{\"enable_thinking\":false}" - does not working too - makes only very long reasoning.
upd: seems that --chat-template-kwargs must be at the beginning - only the way to disable thinking.
But decoding speed - absolutely same as on ordinary gguf (

β€’
This comment has been hidden

CPU MoE seems to neuter any performance improvements that MTP adds.

Try --spec-draft-n-max 1

No, it become even slower... Tried dense qwen 3.5 9B MTP with 64k context - get 60-65 t/s

edit: (should be fixed by now) there was a slow bug in llama.cpp. https://github.com/ggml-org/llama.cpp/issues/23589

Any update on your issue ? Did you solved it ?

Maybe this issue is on llama.cpp or maybe caused by the fact that the MTP file is inside the model. For gemma-4-26B-A4B-it-qat the MTP (separated file) works great in an AMD RX 6600, boosting tg from 21 to 33.

Sign up or log in to comment