[Auto Sync] Update cache_init_params.py (20260209) (#18502)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Hanming Lu <69857889+hanming-lu@users.noreply.github.com> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
@@ -56,7 +56,7 @@ class KVCacheEvent(
|
||||
"""Base class for all KV cache-related events"""
|
||||
|
||||
|
||||
# Medium values for hicache storage tiers
|
||||
# Medium values for hicache storage tiers
|
||||
MEDIUM_GPU = "GPU"
|
||||
MEDIUM_CPU = "CPU_PINNED"
|
||||
|
||||
|
||||
@@ -33,3 +33,6 @@ class CacheInitParams:
|
||||
chunked_prefill_size: Optional[int] = None
|
||||
|
||||
sliding_window_size: Optional[int] = None
|
||||
|
||||
# Time-to-live for cache entries in seconds. If None, TTL is disabled.
|
||||
cache_ttl_seconds: Optional[float] = None
|
||||
|
||||
Reference in New Issue
Block a user