[Feature] vLLM-Omni RDMA connector (#1019)
Signed-off-by: natureofnature <wzliu@connect.hku.hk>
This commit is contained in:
1 parent
7b02b856a6
commit
1589931fa6
20 files changed
+3645
-63
No files matched your search
@@ -78,7 +78,7 @@ runtime:
|
||||
connectors:
|
||||
# Mooncake connector for cross-node/intra-node communication
|
||||
mooncake_connector:
|
||||
name: MooncakeConnector
|
||||
name: MooncakeStoreConnector
|
||||
extra:
|
||||
host: "127.0.0.1"
|
||||
metadata_server: "http://10.90.67.86:8080/metadata"
|
||||
@@ -87,6 +87,24 @@ runtime:
|
||||
localbuf: 64000000 # 64MB
|
||||
proto: "tcp"
|
||||
|
||||
# PR1 (#1019) note:
|
||||
# - Keep this transfer-engine connector config as a ready-to-use template.
|
||||
# - Bagel does NOT consume this connector in PR1(#1019).
|
||||
# - output_connectors/input_connectors above still point to mooncake_connector.
|
||||
# - We will switch Bagel to this connector in the next PR.
|
||||
rdma_connector:
|
||||
name: MooncakeTransferEngineConnector
|
||||
extra:
|
||||
# NOTE:
|
||||
# - role/sender_host/sender_zmq_port are internal fields resolved by
|
||||
# orchestration logic and should not be set in user YAML.
|
||||
host: "auto" # Auto-detect local IP for RDMA
|
||||
zmq_port: 50051 # ZMQ base port (actual port uses runtime offsets)
|
||||
protocol: "rdma"
|
||||
device_name: "" # e.g. "mlx5_0"; empty for auto-detect
|
||||
memory_pool_size: 2147483648 # 2GB
|
||||
memory_pool_device: "cpu" # "cuda" for GPUDirect RDMA, "cpu" for pinned memory
|
||||
|
||||
|
||||
edges:
|
||||
- from: 0
|
||||
|
||||
@@ -108,7 +108,7 @@ runtime:
|
||||
connectors:
|
||||
# Mooncake connector for cross-node/intra-node communication
|
||||
mooncake_connector:
|
||||
name: MooncakeConnector
|
||||
name: MooncakeStoreConnector
|
||||
extra:
|
||||
host: "127.0.0.1"
|
||||
metadata_server: "http://10.90.67.86:8080/metadata"
|
||||
|
||||
@@ -36,7 +36,7 @@ stage_args:
|
||||
repetition_penalty: 1.05
|
||||
# Distributed connector configuration
|
||||
output_connectors:
|
||||
to_stage_1: connector_of_mooncake
|
||||
to_stage_1: mooncake_connector
|
||||
|
||||
- stage_id: 1
|
||||
stage_type: llm # Use llm stage type to launch OmniLLM
|
||||
@@ -70,9 +70,9 @@ stage_args:
|
||||
stop_token_ids: [2150]
|
||||
# Distributed connector configuration
|
||||
input_connectors:
|
||||
from_stage_0: connector_of_mooncake
|
||||
from_stage_0: mooncake_connector
|
||||
output_connectors:
|
||||
to_stage_2: connector_of_mooncake
|
||||
to_stage_2: mooncake_connector
|
||||
|
||||
- stage_id: 2
|
||||
stage_type: llm # Use llm stage type to launch OmniLLM
|
||||
@@ -106,7 +106,7 @@ stage_args:
|
||||
repetition_penalty: 1.1
|
||||
# Distributed connector configuration
|
||||
input_connectors:
|
||||
from_stage_1: connector_of_mooncake
|
||||
from_stage_1: mooncake_connector
|
||||
|
||||
# Top-level runtime config: default windows and stage edges
|
||||
runtime:
|
||||
@@ -118,8 +118,8 @@ runtime:
|
||||
# Distributed connectors configuration
|
||||
connectors:
|
||||
# Mooncake connector for cross-node/intra-node communication
|
||||
connector_of_mooncake:
|
||||
name: MooncakeConnector
|
||||
mooncake_connector:
|
||||
name: MooncakeStoreConnector
|
||||
extra:
|
||||
host: "127.0.0.1"
|
||||
metadata_server: "http://10.90.67.86:8080/metadata"
|
||||
@@ -129,7 +129,7 @@ runtime:
|
||||
proto: "tcp"
|
||||
|
||||
# SharedMemory connector for intra-node communication
|
||||
connector_of_shared_memory:
|
||||
shared_memory_connector:
|
||||
name: SharedMemoryConnector
|
||||
extra:
|
||||
shm_threshold_bytes: 65536 # 64KB threshold
|
||||
|
||||
Reference in new issue
Block a user