Revert "Revert "[Optim] Remove limitation of number of kvcache blocks (#5612)…"

This reverts commit c1aa66df02.
This commit is contained in:
Jiang-Jia-Jun
2025-12-23 15:42:10 +08:00
committed by GitHub
parent c1aa66df02
commit 6250c686cc
7 changed files with 20 additions and 12 deletions

View File

@@ -88,4 +88,7 @@ environment_variables: dict[str, Callable[[], Any]] = {
# cache_transfer_manager 进程残留时连续错误阈值
"FD_CACHE_PROC_ERROR_COUNT": lambda: int(os.getenv("FD_CACHE_PROC_ERROR_COUNT", "10")),}
# KVCache Block块分配值的上限。此变量限制引擎分配的块数上限。当为默认值-1时表示不设限
"FD_MAX_KVCACHE_BLOCKS": lambda: int(os.getenv("FD_MAX_KVCACHE_BLOCKS", "-1")),
```