HNHacker News
TopNewBestAskShowJobs

i_am_rocoe

4 karma · joined June 25, 2026

submissionscomments
i_am_rocoe··on Ask HN: What Are You Working On? (July 2026)
I'm working on a variation of MTP that recovers PP TPS (back to the same as with MTP disabled), keeping most of MTP's benefits to TG TPS.

https://news.ycombinator.com/item?id=48700782

Will propose a patch back to llama.cpp or provide it as a fork.

i_am_rocoe··on I patched llama.cpp to gain 20% prompt processing TPS. Help me make a PR
Thank you!
i_am_rocoe··on As; HN: I was curious why MTP affects PP TPS in llama.cpp. My PoC recovers it?
If you want to run the PoC locally to replicate:

Clone the masked-nextn-skip-catchup branch:

https://codeberg.org/rocoe/llama.cpp/src/branch/masked-nextn...

Run llama-server with at least --n-gpu-layers 99 --spec-type draft-mtp --spec-draft-n-max 2 --parallel 1 --no-cache-prompt.

I used Qwen3.6-35B-A3B-UD-Q2_K_XL MTP:

https://huggingface.co/unsloth/Qwen3.6-35B-A3B-MTP-GGUF?show...

I tested on a L40S (using Modal).

About the parameters:

--parallel 1, see Code review findings:

https://codeberg.org/rocoe/llama.cpp/src/branch/masked-nextn...

--no-cache-prompt, see Known limitations:

https://codeberg.org/rocoe/llama.cpp/src/branch/masked-nextn...