Llama.cpp boosts speed up to 8% by moving sampling to the GPU
A pull request eliminates the CPU-GPU round-trip for MTP sampling in llama.cpp. On an RTX 5090 the gain reaches nearly 8%, while on a Tesla P40 it’s limited to around 4% due to memory bandwidth. A pure performance uplift with zero extra cost for loca...