← All projects
Project record1 mention
Originally shared on Hacker News

llama.cpp MTP variation with recovered PP TPS

A variation of multi-token prediction (MTP) for llama.cpp that recovers prompt-processing throughput (PP TPS) back to the level seen with MTP disabled, while keeping most of MTP's benefits to text-generation throughput (TG TPS). It is planned to be proposed as a patch back to llama.cpp or provided as a fork.

Last shared
01 / The problem

What it addresses

MTP degrades prompt-processing throughput (PP TPS) relative to running with MTP disabled.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. llama.cpp MTP variation with recovered PP TPS

    A variation of multi-token prediction (MTP) for llama.cpp that recovers prompt-processing throughput (PP TPS) back to the level seen with MTP disabled, while keeping most of MTP's benefits to text-generation throughput (TG TPS). It is planned to be proposed as a patch back to llama.cpp or provided as a fork.

    Problem: MTP degrades prompt-processing throughput (PP TPS) relative to running with MTP disabled.

    Posted by @i_am_rocoe · Original source ↗

    Source text · @i_am_rocoe · · Source ↗

    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.