transformers
🚨Add an FP8 backend to `QuantizedCache`
#48677
Merged

🚨Add an FP8 backend to `QuantizedCache` #48677

vasqu merged 21 commits into huggingface:main from jiqing-feng:fp8-kv-cache
jiqing-feng
jiqing-feng Add an FP8 backend to `QuantizedCache`
9789b126
jiqing-feng Reorder the FP8 states for beam search
64cfc5d5
jiqing-feng Use an early return in `Fp8QuantizedLayer.reorder_cache`
87ab14a5
vasqu vasqu requested a review from vasqu vasqu 46 days ago
vasqu vasqu requested a review from zucchini-nlp zucchini-nlp 46 days ago
jiqing-feng Measure the quantized cache backends accurately
a7cc8e34
jiqing-feng Merge branch 'main' into fp8-kv-cache
8882b422
vasqu
jiqing-feng Merge branch 'main' into fp8-kv-cache
2b7a9eb5
jiqing-feng Reset the FP8 scales, and cover the FP8 backend in the quantized laye…
bc126c1e
jiqing-feng jiqing-feng marked this pull request as ready for review 21 days ago
jiqing-feng Merge branch 'main' into fp8-kv-cache
5eaeb32f
jiqing-feng
jiqing-feng Merge branch 'main' into fp8-kv-cache
4fc4f00b
vasqu
IlyasMoutawwakil
IlyasMoutawwakil commented on 2026-10-15
IlyasMoutawwakil
IlyasMoutawwakil commented on 2026-10-15
IlyasMoutawwakil
IlyasMoutawwakil commented on 2026-10-15
IlyasMoutawwakil
IlyasMoutawwakil commented on 2026-10-15
IlyasMoutawwakil
IlyasMoutawwakil commented on 2026-10-15
IlyasMoutawwakil
IlyasMoutawwakil commented on 2026-10-15
IlyasMoutawwakil
IlyasMoutawwakil commented on 2026-10-15
IlyasMoutawwakil
IlyasMoutawwakil commented on 2026-10-15
IlyasMoutawwakil
IlyasMoutawwakil commented on 2026-10-15
IlyasMoutawwakil
IlyasMoutawwakil commented on 2026-10-15
jiqing-feng Address review on the FP8 quantized cache layer
4743c39f
jiqing-feng Trim the comments down to one line
e9e889db
IlyasMoutawwakil
IlyasMoutawwakil commented on 2026-10-16
IlyasMoutawwakil
IlyasMoutawwakil commented on 2026-10-16
IlyasMoutawwakil
IlyasMoutawwakil approved these changes on 2026-10-16
jiqing-feng Store the FP8 scale alongside the states it quantizes
05ef3728
jiqing-feng Say what the `.contiguous()` in `lazy_initialization` is actually for
bc31eda6
github-actions
vasqu
vasqu commented on 2026-10-16
jiqing-feng Address @vasqu's review
ed19267d
jiqing-feng One-line the docstrings and comments that fit on one line
7018cc41
jiqing-feng Merge branch 'main' into fp8-kv-cache
862a6436
jiqing-feng Keep the FP8 state initialization out of the shared quantized layer
b4e172bc
vasqu
vasqu commented on 2026-10-19
vasqu
jiqing-feng Split the quantized layer into a base and a group-wise class
02dc2e88
jiqing-feng Note which subtree a future fp8 variation belongs to
b138c839
jiqing-feng
vasqu
vasqu commented on 2026-10-20
jiqing-feng jiqing-feng changed the title Add an FP8 backend to `QuantizedCache` 🚨Add an FP8 backend to `QuantizedCache` 6 days ago
jiqing-feng Keep the group-wise signature on QuantizedLayer and name the new base
780cc9d4
vasqu
vasqu approved these changes on 2026-10-21
jiqing-feng Declare the quantized states in the base layer, and group the quantiz…
08c5bc7b
github-actions
vasqu
vasqu approved these changes on 2026-10-22
vasqu vasqu enabled auto-merge 5 days ago
HuggingFaceDocBuilderDev
vasqu vasqu merged 43cc0abd into main 5 days ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone