From e3760501b0f0ce6be6fe31f0dab15d0e5d2c5260 Mon Sep 17 00:00:00 2001 From: Joao Gante Date: Fri, 25 Jul 2025 10:06:03 +0100 Subject: [PATCH] [docs] fix ko cache docs (#39644) fix ko docs --- docs/source/ko/internal/generation_utils.md | 78 +++++++++++++++------ 1 file changed, 55 insertions(+), 23 deletions(-) diff --git a/docs/source/ko/internal/generation_utils.md b/docs/source/ko/internal/generation_utils.md index 1a08a79368..9ef510fc20 100644 --- a/docs/source/ko/internal/generation_utils.md +++ b/docs/source/ko/internal/generation_utils.md @@ -342,60 +342,92 @@ generation_output[:2] ## 캐시 (Caches) [[transformers.Cache]] -[[autodoc]] Cache - - update - -[[autodoc]] DynamicCache +[[autodoc]] CacheLayerMixin - update - get_seq_length + - get_mask_sizes + - get_max_cache_shape + - reset - reorder_cache + +[[autodoc]] DynamicLayer + - update + - crop + - batch_repeat_interleave + - batch_select_indices + +[[autodoc]] StaticLayer + - update + +[[autodoc]] SlidingWindowLayer + - update + +[[autodoc]] CacheProcessor + - pre_update + - post_update + +[[autodoc]] OffloadedCacheProcessor + - pre_update + +[[autodoc]] QuantizedCacheProcessor + - post_update + +[[autodoc]] QuantoQuantizedCacheProcessor + - post_update + +[[autodoc]] HQQQuantizedCacheProcessor + - post_update + +[[autodoc]] Cache + - update + - get_seq_length + - get_mask_sizes + - get_max_cache_shape + - reset + - reorder_cache + - crop + - batch_repeat_interleave + - batch_select_indices + +[[autodoc]] DynamicCache - to_legacy_cache - from_legacy_cache [[autodoc]] QuantizedCache - - update - - get_seq_length [[autodoc]] QuantoQuantizedCache +[[autodoc]] QuantoQuantizedCacheProcessor + [[autodoc]] HQQQuantizedCache +[[autodoc]] HQQQuantizedCacheProcessor + [[autodoc]] OffloadedCache - - update - - prefetch_layer - - evict_previous_layer [[autodoc]] StaticCache - - update - - get_seq_length - - reset [[autodoc]] OffloadedStaticCache - - update - - get_seq_length - - reset [[autodoc]] HybridCache - - update - - get_seq_length - - reset + +[[autodoc]] HybridChunkedCache [[autodoc]] SlidingWindowCache - - update - - reset [[autodoc]] EncoderDecoderCache - - get_seq_length - to_legacy_cache - from_legacy_cache - - reset - - reorder_cache [[autodoc]] MambaCache - update_conv_state - update_ssm_state - reset +[[autodoc]] CacheConfig + +[[autodoc]] QuantizedCacheConfig + ## 워터마크 유틸리티 (Watermark Utils) [[transformers.WatermarkDetector]] [[autodoc]] WatermarkDetector