[Deprecation] Deprecate items scheduled for 0.29 (#55353)
Signed-off-by: yewentao256 <zhyanwentao@126.com>
This commit is contained in:
@@ -305,7 +305,7 @@ class SchedulerOffloadConfig(NamedTuple):
|
||||
if retention_interval is not None:
|
||||
if retention_interval < 0:
|
||||
raise ValueError(
|
||||
f"VLLM_PREFIX_CACHE_RETENTION_INTERVAL "
|
||||
f"prefix_cache_retention_interval "
|
||||
f"({retention_interval}) must be non-negative."
|
||||
)
|
||||
for config in kv_group_configs:
|
||||
@@ -314,7 +314,7 @@ class SchedulerOffloadConfig(NamedTuple):
|
||||
and retention_interval % config.tokens_per_chunk != 0
|
||||
):
|
||||
raise ValueError(
|
||||
f"VLLM_PREFIX_CACHE_RETENTION_INTERVAL "
|
||||
f"prefix_cache_retention_interval "
|
||||
f"({retention_interval}) must be a multiple of "
|
||||
f"tokens_per_chunk ({config.tokens_per_chunk})."
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user