transformers
Fix quantized cache
#48700
Merged

Commits
  • Do not mutate the user-provided `cache_config` in `generate`
    jiqing-feng committed 76 days ago
  • Fix `QuantizedLayer.reorder_cache` and stop forcing a sliding window on the shared test model
    jiqing-feng committed 76 days ago
  • Defer the beam reordering of the quantized states to the next update
    jiqing-feng committed 72 days ago
  • Cover the quantized beam reordering, and reset the quantized states
    jiqing-feng committed 72 days ago
  • Address the review: deepcopy the cache config, and tighten the reordering
    jiqing-feng committed 71 days ago
  • Shorten the deferred reordering comment
    jiqing-feng committed 71 days ago
  • Drop the dynamic states on reset, instead of zeroing them in place
    jiqing-feng committed 71 days ago
  • Revert the base-class reset fix, split out into a dedicated PR
    jiqing-feng committed 71 days ago
  • Merge branch 'main' into fix-quantized-cache-config
    jiqing-feng committed 71 days ago
  • Move the quantized layer tests above the offloading one
    jiqing-feng committed 69 days ago
  • Merge branch 'main' into fix-quantized-cache-config
    jiqing-feng committed 69 days ago
  • Drop the redundant is_initialized reset, handled by DynamicLayer.reset
    jiqing-feng committed 69 days ago
  • Inline the quantized layer test setup, and assert the length after reset
    jiqing-feng committed 68 days ago
  • Merge branch 'main' into fix-quantized-cache-config
    jiqing-feng committed 62 days ago
  • Merge branch 'main' into fix-quantized-cache-config
    jiqing-feng committed 53 days ago
  • nit
    vasqu committed 51 days ago
Loading