NewsCrawler.org

llama.cpp adds FP8 KV-cache support

llama.cpp adds FP8 KV-cache support
llama.cpp adds FP8 KV-cache support
Image: Reddit

The page shows GitHub pull request #28392 in the llama.cpp project, titled "Add FP8[1] KV-cache[2] support". The pull request is marked Merged.

The author's branch, osimons/ocp_fp8_kv, was force-pushed[3] repeatedly from 4 September to 9 October 2026, and the pull request was marked ready for review on 13 October 2026. Maintainers ggerganov and am17an approved the changes on 10 November 2026.

The text on the page says that fused KQV[4] is currently impractical for non-shared scales, but the change is still an improvement for future use. It also says that some code belongs where it is, because it is not only a test for ggml's backend ops.

Read the original github.comDiscussion

Discussion

Commenters mostly ask how FP8 cache quality compares with q8_0 on long contexts and whether any benchmarks exist, since none are on the PR. Several expect speed gains on newer GPUs with FP8 tensor cores, such as Ada Lovelace and RDNA4. One commenter reported that FP8 KV cache with FP8 weights on Qwen3-8B showed no quality drop, but with a 4-bit AWQ model accuracy fell from 83.6% to 79.6%.

Sources

Published: First seen: Читать по-русски

Open as a page