Hidden states extraction improvements (#43805)
Signed-off-by: Fynn Schmitt-Ulms <fschmitt@redhat.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
parent
ab3a1fd2e6
commit
ebc6ef971a
@@ -756,17 +756,6 @@ class VllmConfig:
|
||||
Right now, this function reads the offloading settings from
|
||||
CacheConfig and configures the KVTransferConfig accordingly.
|
||||
"""
|
||||
# Check if KV connector requires chunked prefill to be disabled.
|
||||
if (
|
||||
self.kv_transfer_config is not None
|
||||
and self.kv_transfer_config.kv_connector == "ExampleHiddenStatesConnector"
|
||||
and self.scheduler_config.enable_chunked_prefill
|
||||
):
|
||||
raise ValueError(
|
||||
"ExampleHiddenStatesConnector does not support chunked prefill. "
|
||||
"Please disable chunked prefill (--no-enable-chunked-prefill)."
|
||||
)
|
||||
|
||||
# KV offloading is only activated when kv_offloading_size is set.
|
||||
if (kv_offloading_size := self.cache_config.kv_offloading_size) is None:
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user