Repository navigation
Add FP8 KV-cache support - #28392
Open
ORippler wants to merge 24 commits into
Open
Add FP8 KV-cache support#28392ORippler wants to merge 24 commits into
ORippler wants to merge 24 commits into
Conversation
ORippler
force-pushed
the
osimons/ocp_fp8_kv
branch
from
September 4, 2026 18:51
460bbd8 to
b6ccff9
Compare
ORippler
force-pushed
the
osimons/ocp_fp8_kv
branch
from
September 29, 2026 17:56
b6ccff9 to
e8b60dd
Compare
ORippler
force-pushed
the
osimons/ocp_fp8_kv
branch
from
September 30, 2026 09:54
55a7e53 to
b99e4ce
Compare
ORippler
force-pushed
the
osimons/ocp_fp8_kv
branch
from
September 30, 2026 13:56
b99e4ce to
f711e8c
Compare
ORippler
force-pushed
the
osimons/ocp_fp8_kv
branch
from
September 30, 2026 15:30
f711e8c to
d6c8682
Compare
ORippler
force-pushed
the
osimons/ocp_fp8_kv
branch
2 times, most recently
from
October 1, 2026 13:55
51f6a0f to
b5f3dfd
Compare
ORippler
force-pushed
the
osimons/ocp_fp8_kv
branch
from
October 1, 2026 15:59
c802335 to
4602e64
Compare
ORippler
force-pushed
the
osimons/ocp_fp8_kv
branch
from
October 9, 2026 19:14
4602e64 to
10e80e6
Compare
ORippler
marked this pull request as ready for review
October 13, 2026 15:35
pwilkin
reviewed
Oct 13, 2026
ORippler
force-pushed
the
osimons/ocp_fp8_kv
branch
from
October 13, 2026 16:51
153b077 to
f800827
Compare
am17an
reviewed
Nov 6, 2026
am17an
approved these changes
Nov 6, 2026
Collaborator
Author
|
ggerganov
reviewed
Nov 9, 2026
While fused KQV is currently impractival for non-shared scales, this is an improvement for future use regardless
They belong there as they are not just a test for ggml's backend ops
ggerganov
approved these changes
Nov 10, 2026
am17an
approved these changes
Nov 10, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
Add support for OCP-FP8-based KV-caches. Run-time, static per-tensor scales are supported, but optional.
Additional information
https://huggingface.co/nvidia/Mistral-Medium-3.5-128B-NVFP4 is an example for a model with non-unit-scaled FP8-KV-cache
ggml_flash_attn_ext. This matches the ownership-model we have in place for NVFP4/FP8, and makes it easier to share FP8 logic across FA and standard attention layers.would love to get input from @ggml-org/ci if our CI can handle this.
Requirements