llama.cpp
Add FP8 KV-cache support
#28392
Merged

Add FP8 KV-cache support #28392

ggerganov merged 24 commits into master from osimons/ocp_fp8_kv
ORippler
github-actions github-actions added testing
github-actions github-actions added examples
github-actions github-actions added conversion
ORippler ORippler force pushed from 460bbd81 to b6ccff9b 67 days ago
ORippler ORippler force pushed from b6ccff9b to e8b60dda 42 days ago
ORippler ORippler force pushed to b99e4ce0 42 days ago
ORippler ORippler force pushed from b99e4ce0 to f711e8c8 41 days ago
ORippler ORippler force pushed from f711e8c8 to d6c8682f 41 days ago
ORippler ORippler force pushed from d6c8682f 41 days ago
ORippler ORippler force pushed to b5f3dfd6 40 days ago
ORippler ORippler force pushed from c8023359 to 4602e642 40 days ago
ORippler ORippler force pushed from 4602e642 to 10e80e62 32 days ago
ORippler ORippler marked this pull request as ready for review 28 days ago
ORippler ORippler requested a review from ggerganov ggerganov 28 days ago
ORippler ORippler requested a review from CISC CISC 28 days ago
ORippler ORippler requested a review 28 days ago
pwilkin
pwilkin commented on 2026-10-13
ORippler ORippler force pushed from 153b077f to f800827a 28 days ago
ORippler ORippler force pushed from f800827a to 47e07502 27 days ago
ORippler ORippler force pushed from 47e07502 27 days ago
ORippler ORippler force pushed 27 days ago
ORippler ORippler force pushed to 8c61650a 26 days ago
ORippler ORippler force pushed from 426c72dd to 49a6dfb6 26 days ago
ORippler ORippler requested a review 25 days ago
ORippler ORippler force pushed from 49a6dfb6 to a0b08c47 25 days ago
github-actions github-actions added devops
ORippler ORippler force pushed from a0b08c47 25 days ago
ORippler ORippler force pushed to e4cd9520 25 days ago
ORippler ORippler requested a review from pwilkin pwilkin 25 days ago
ORippler ORippler force pushed from e4cd9520 to a62a4f3d 20 days ago
ORippler ORippler force pushed from a62a4f3d to 776ddb85 20 days ago
ORippler ORippler force pushed from 776ddb85 to 853b1b40 20 days ago
ORippler ORippler force pushed from 853b1b40 to 9962329a 20 days ago
ORippler ORippler force pushed from 9962329a to d9e339d0 20 days ago
ORippler ORippler force pushed from d9e339d0 to 9a512f00 19 days ago
ORippler ORippler force pushed from 9a512f00 to a88a2b79 19 days ago
ORippler ORippler force pushed from a88a2b79 to 99a5834c 19 days ago
ORippler ORippler force pushed from 99a5834c to c9b2779a 19 days ago
ORippler ORippler force pushed from c9b2779a to 1999b5ae 18 days ago
ORippler ORippler force pushed from 1999b5ae to 0115346e 18 days ago
pwilkin
pwilkin approved these changes on 2026-10-23
ORippler ORippler force pushed from 0115346e to eed0f4eb 14 days ago
ORippler ORippler force pushed from eed0f4eb to b78dd020 14 days ago
ORippler ORippler force pushed from b78dd020 to 661dc662 14 days ago
ORippler ORippler requested a review 13 days ago
ORippler ORippler force pushed from 661dc662 to 517e27b7 13 days ago
Base automatically changed from osimons/ocp_fp8 to master 12 days ago
ORippler ORippler requested a review 12 days ago
ORippler ORippler requested a review 12 days ago
ORippler ORippler force pushed from 517e27b7 to 96affc9e 12 days ago
ORippler ORippler force pushed from 96affc9e to 37786b13 12 days ago
ORippler ORippler force pushed from 37786b13 to 27c32416 12 days ago
0cc4m
0cc4m commented on 2026-11-03
ORippler ORippler force pushed from 27c32416 to 7135ccb2 5 days ago
ORippler ORippler requested a review from 0cc4m 0cc4m 5 days ago
ORippler
ORippler ORippler force pushed from 7135ccb2 to ec54fece 5 days ago
ORippler ORippler force pushed from ec54fece to af633072 5 days ago
am17an
am17an commented on 2026-11-02
am17an
am17an approved these changes on 2026-11-06
ggerganov ggerganov assigned ggerganov ggerganov 4 days ago
ORippler
ggerganov
ggerganov commented on 2026-11-09
ORippler Add FP8 KV-cache support
2809b375
ORippler Add tests for scaled, FP8 KV-cache to test-backend-ops
71f46526
ORippler Fix get_*_scale mapping and dequnatize FP8 also before rope shift
8e02eb94
ORippler Normalizes cache-scale names independently of projection layout.
6dc7807e
ORippler Enable Gemma 4 Assistant with FP8 by storing and fetching scale ptrs
5a377e51
ORippler Update comment wording
9950a405
ORippler Move E2E FP8 KV cache tests to test-llama-archs
c8361300
ORippler Increase support surface, remove seed
f54ef5ca
ORippler Fix CI failings for test-kv-cache
d35e68ab
ORippler CI: execute kv-cache-scale tests
e9bebbe6
ORippler exclude fp8-kv tests from OpenVINO
b57c5a78
ORippler Fix linting errors of test_kv_cache_scales
612cc29c
ORippler Disable kv-ffload=false + multi-GPU tests for FP8
c17e30c5
ORippler Adjust test label for test-kv-cache.cpp
06be8c3f
ORippler Fix conflict-resolution mistakes in test-kv-cache.cpp
2313af1d
ORippler Move KV tests to test-fp8.cpp
a8ce8c86
ORippler Remove tmp file for test-kv-cache-scales.py on Windows as well
8847745f
ORippler Fix fp8 kv cache test by population kv_source_impl
b8da77e0
ORippler Exclude models that consume KV cache directly
43d6929d
ORippler Remove obsolete comment
a66395dd
ORippler Allow BF16 scales as well for KV cache
430e514d
ORippler ORippler force pushed from af633072 to 430e514d 23 hours ago
ORippler ORippler requested a review from ggerganov ggerganov 23 hours ago
ORippler Rename *_cache_scale to *_cache_s
d9ac6556
ORippler Move `is_type_scaled()` to `llama-kv-cache.cpp`
9ebe7f3d
ggerganov
ggerganov approved these changes on 2026-11-10
am17an
am17an approved these changes on 2026-11-10
ggerganov ggerganov merged 202c1a22 into master 20 hours ago
ORippler ORippler deleted the osimons/ocp_fp8_kv branch 3 hours ago

Login to write a write a comment.

Login via GitHub

Assignees
Labels
Milestone