[Mini-VLLM] Cut dead subsystems across serving, connectors, parsers
- Remove P/D transfer connectors: nixl, nixl_chat, mooncake x2, hf3fs, moriio, hisparse, example and hidden-states connectors - Reduce weight_transfer to the base API used by model loading - Remove kv_offload tiering, simple_kv_offload, ec cpu/example, snapshot command, engine snapshot server - Remove transformers model fallback, dsv4 tokenizers, dead platforms cpu/tpu/xpu, flashmla third_party, dsa, megamoe/flydsl, dead attn ops, dead layers (short_conv, fused_embed_norm, indexer_topk, relu2 gemma_ar, lightning_attn, minimax_rms_norm), gemm_rs_ar - Keep MoE LoRA op (imported eagerly by punica_gpu); drop fp8 variant - Rebuild parser hubs around Qwen3 adapters only (36 dead adapters) - Remove dead tests with the code they covered Co-authored-by: Hinata <hinata@idihore.id> Signed-off-by: MOVZX <movzx@yahoo.com>
This commit is contained in:
+1
-12
@@ -1143,21 +1143,10 @@ class VllmConfig:
|
||||
self.kv_transfer_config = KVTransferConfig()
|
||||
|
||||
if kv_offloading_backend == "native":
|
||||
if envs.VLLM_USE_SIMPLE_KV_OFFLOAD:
|
||||
config_connector = "SimpleCPUOffloadConnector"
|
||||
else:
|
||||
config_connector = "OffloadingConnector"
|
||||
self.kv_transfer_config.kv_connector = config_connector
|
||||
self.kv_transfer_config.kv_connector = "OffloadingConnector"
|
||||
self.kv_transfer_config.kv_connector_extra_config.update(
|
||||
{"cpu_bytes_to_use": kv_offloading_size * (1 << 30)}
|
||||
)
|
||||
elif kv_offloading_backend == "lmcache":
|
||||
# Default to LMCache multi-process (MP) mode. The actual KV
|
||||
# storage capacity is managed by the standalone LMCache server
|
||||
# process, so ``kv_offloading_size`` is not propagated here.
|
||||
# ``LMCacheMPConnector`` falls back to ``tcp://localhost:5555``
|
||||
# when host/port are not provided via extra_config.
|
||||
self.kv_transfer_config.kv_connector = "LMCacheMPConnector"
|
||||
|
||||
# This is the same for all backends
|
||||
self.kv_transfer_config.kv_role = "kv_both"
|
||||
|
||||
Reference in New Issue
Block a user