[Config Refactor]: Remove bagel yaml (#2936)
Signed-off-by: princepride <wangzhipeng628@gmail.com> Signed-off-by: 汪志鹏 <wangzhipeng628@gmail.com> Co-authored-by: SYLAR <125541396+lishunyang12@users.noreply.github.com>
This commit is contained in:
1 parent
22ffb85063
commit
37e5954acf
31 files changed
+1067
-1420
No files matched your search
@@ -0,0 +1,48 @@
|
||||
# BAGEL-7B-MoT deploy: CUDA defaults, verified on NVIDIA A100 (80GB).
|
||||
#
|
||||
# Stage 0 (Thinker) and Stage 1 (DiT) share a single GPU by default.
|
||||
# For dual-GPU setups, set stage 1 devices to "1".
|
||||
#
|
||||
# Fields omitted from a stage fall back to StageDeployConfig dataclass
|
||||
# defaults (see vllm_omni/config/stage_config.py).
|
||||
|
||||
async_chunk: false
|
||||
|
||||
stages:
|
||||
- stage_id: 0
|
||||
max_num_seqs: 3
|
||||
gpu_memory_utilization: 0.45
|
||||
devices: "0"
|
||||
default_sampling_params:
|
||||
temperature: 0.4
|
||||
top_p: 0.9
|
||||
top_k: 1
|
||||
max_tokens: 2048
|
||||
seed: 52
|
||||
detokenize: true
|
||||
repetition_penalty: 1.05
|
||||
|
||||
- stage_id: 1
|
||||
max_num_seqs: 1
|
||||
enforce_eager: true
|
||||
devices: "0"
|
||||
input_connectors:
|
||||
from_stage_0: shared_memory_connector
|
||||
default_sampling_params:
|
||||
seed: 52
|
||||
|
||||
connectors:
|
||||
shared_memory_connector:
|
||||
name: SharedMemoryConnector
|
||||
extra:
|
||||
shm_threshold_bytes: 65536
|
||||
|
||||
rdma_connector:
|
||||
name: MooncakeTransferEngineConnector
|
||||
extra:
|
||||
host: "auto"
|
||||
zmq_port: 50051
|
||||
protocol: "rdma"
|
||||
device_name: ""
|
||||
memory_pool_size: 4294967296
|
||||
memory_pool_device: "cpu"
|
||||
@@ -0,0 +1,22 @@
|
||||
# BAGEL-7B-MoT single-stage deploy: all modalities handled by the DiT stage.
|
||||
#
|
||||
# The DiT stage contains a full LLM (Qwen2-MoT), ViT, VAE, and tokenizer,
|
||||
# so it supports text2img, img2img, img2text, text2text, and think mode
|
||||
# without a separate Thinker (AR) stage.
|
||||
#
|
||||
# Select this topology via:
|
||||
# vllm serve ByteDance-Seed/BAGEL-7B-MoT --omni \
|
||||
# --deploy-config vllm_omni/deploy/bagel_single_stage.yaml
|
||||
#
|
||||
# Or programmatically:
|
||||
# Omni(model="...", deploy_config_path="vllm_omni/deploy/bagel_single_stage.yaml")
|
||||
|
||||
pipeline: bagel_single_stage
|
||||
async_chunk: false
|
||||
|
||||
stages:
|
||||
- stage_id: 0
|
||||
max_num_seqs: 1
|
||||
devices: "0"
|
||||
default_sampling_params:
|
||||
seed: 52
|
||||
@@ -0,0 +1,16 @@
|
||||
# BAGEL-7B-MoT think-mode deploy.
|
||||
#
|
||||
# Inherits all settings from bagel.yaml; only overrides the pipeline to
|
||||
# bagel_think which uses expand_cfg_prompts_think and omits
|
||||
# kv_transfer_criteria so the Thinker decodes <think> tokens before
|
||||
# transferring KV to DiT.
|
||||
#
|
||||
# Select this topology via:
|
||||
# python end2end.py --model ByteDance-Seed/BAGEL-7B-MoT --think
|
||||
#
|
||||
# Or explicitly:
|
||||
# vllm serve ByteDance-Seed/BAGEL-7B-MoT --omni \
|
||||
# --deploy-config vllm_omni/deploy/bagel_think.yaml
|
||||
|
||||
base_config: bagel.yaml
|
||||
pipeline: bagel_think
|
||||
Reference in new issue
Block a user