transformers
Fix quantized cache
#48700
Merged

Fix quantized cache #48700

jiqing-feng
jiqing-feng Do not mutate the user-provided `cache_config` in `generate`
d9928330
jiqing-feng Fix `QuantizedLayer.reorder_cache` and stop forcing a sliding window …
9b718735
jiqing-feng jiqing-feng marked this pull request as ready for review 75 days ago
github-actions github-actions requested a review from ydshieh ydshieh 75 days ago
github-actions github-actions requested a review from Rocketknight1 Rocketknight1 75 days ago
jiqing-feng
vasqu
github-actions
github-actions
github-actions
github-actions
vasqu
vasqu commented on 2026-09-11
zucchini-nlp
zucchini-nlp
jiqing-feng Defer the beam reordering of the quantized states to the next update
ecb2237b
jiqing-feng Cover the quantized beam reordering, and reset the quantized states
463e0be0
jiqing-feng
vasqu
vasqu commented on 2026-09-14
jiqing-feng Address the review: deepcopy the cache config, and tighten the reorde…
47c95bb3
jiqing-feng Shorten the deferred reordering comment
434a9fd5
github-actions
jiqing-feng Drop the dynamic states on reset, instead of zeroing them in place
2f50de40
jiqing-feng
jiqing-feng Revert the base-class reset fix, split out into a dedicated PR
c259b53b
jiqing-feng Merge branch 'main' into fix-quantized-cache-config
3b117c24
jiqing-feng Move the quantized layer tests above the offloading one
90b9a5c8
jiqing-feng Merge branch 'main' into fix-quantized-cache-config
2d18458c
jiqing-feng Drop the redundant is_initialized reset, handled by DynamicLayer.reset
e6a2f531
jiqing-feng
vasqu
vasqu approved these changes on 2026-09-17
jiqing-feng Inline the quantized layer test setup, and assert the length after reset
d1e31224
vasqu vasqu removed review request from ydshieh ydshieh 68 days ago
vasqu vasqu removed review request from Rocketknight1 Rocketknight1 68 days ago
vasqu vasqu requested a review from zucchini-nlp zucchini-nlp 68 days ago
jiqing-feng
jiqing-feng Merge branch 'main' into fix-quantized-cache-config
7f8d70e0
zucchini-nlp
zucchini-nlp approved these changes on 2026-10-01
jiqing-feng Merge branch 'main' into fix-quantized-cache-config
7ebd121d
zucchini-nlp
HuggingFaceDocBuilderDev
vasqu nit
612ee8f9
vasqu
vasqu approved these changes on 2026-10-05
vasqu vasqu enabled auto-merge 51 days ago
github-actions
vasqu vasqu merged 492f2404 into main 51 days ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone