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