Merge main and preserve multi-API engine and duplex guards
Signed-off-by: Sy03 <1370724210@qq.com>
This commit is contained in:
commit
daf91b4d7a
329 files changed
+36428
-35780
No files matched your search
@@ -1,12 +1,11 @@
|
||||
# MiniCPM-o 4.5 three-stage deploy on one large-memory GPU.
|
||||
pipeline: minicpmo_4_5
|
||||
async_chunk: true
|
||||
# Native full-duplex shares this profile with /v1/chat/completions. Every other
|
||||
# duplex_session knob keeps its runtime default.
|
||||
# session_mode: duplex makes vllm-omni serve run this model duplex-only
|
||||
# (/v1/realtime?duplex=1); every other duplex_session knob keeps its runtime default.
|
||||
session_mode: duplex
|
||||
# Keep the active window aligned with the session and stage capacities below.
|
||||
# A smaller window serializes first-packet generation for concurrent chat turns.
|
||||
active_stream_window: 4
|
||||
duplex_session:
|
||||
# Matches Stage 0/1 max_num_seqs below.
|
||||
max_sessions: 4
|
||||
@@ -30,6 +29,7 @@ connectors:
|
||||
enable_hift_graph: true
|
||||
enable_cfm_graph: true
|
||||
cfm_max_graphs: 32
|
||||
cfm_graph_bucket_frames: 16
|
||||
|
||||
stages:
|
||||
- stage_id: 0
|
||||
|
||||
@@ -4,12 +4,11 @@
|
||||
# isolated from codec/vocoder contention while preserving stage-2 batching.
|
||||
pipeline: minicpmo_4_5
|
||||
async_chunk: true
|
||||
# Native full-duplex shares this profile with /v1/chat/completions. Every other
|
||||
# duplex_session knob keeps its runtime default.
|
||||
# session_mode: duplex makes vllm-omni serve run this model duplex-only
|
||||
# (/v1/realtime?duplex=1); every other duplex_session knob keeps its runtime default.
|
||||
session_mode: duplex
|
||||
# Keep the active window aligned with the session and stage capacities below.
|
||||
# A smaller window serializes first-packet generation for concurrent chat turns.
|
||||
active_stream_window: 4
|
||||
duplex_session:
|
||||
# Matches Stage 0/1 max_num_seqs below.
|
||||
max_sessions: 4
|
||||
@@ -33,6 +32,7 @@ connectors:
|
||||
enable_hift_graph: true
|
||||
enable_cfm_graph: true
|
||||
cfm_max_graphs: 32
|
||||
cfm_graph_bucket_frames: 16
|
||||
|
||||
stages:
|
||||
- stage_id: 0
|
||||
|
||||
@@ -4,12 +4,11 @@
|
||||
# Code2Wav run independently on GPUs 0, 1, and 2.
|
||||
pipeline: minicpmo_4_5
|
||||
async_chunk: true
|
||||
# Native full-duplex shares this profile with /v1/chat/completions. Every other
|
||||
# duplex_session knob keeps its runtime default.
|
||||
# session_mode: duplex makes vllm-omni serve run this model duplex-only
|
||||
# (/v1/realtime?duplex=1); every other duplex_session knob keeps its runtime default.
|
||||
session_mode: duplex
|
||||
# Keep the active window aligned with the session and stage capacities below.
|
||||
# A smaller window serializes first-packet generation for concurrent chat turns.
|
||||
active_stream_window: 4
|
||||
duplex_session:
|
||||
# Matches Stage 0/1 max_num_seqs below.
|
||||
max_sessions: 4
|
||||
@@ -33,6 +32,7 @@ connectors:
|
||||
enable_hift_graph: true
|
||||
enable_cfm_graph: true
|
||||
cfm_max_graphs: 32
|
||||
cfm_graph_bucket_frames: 16
|
||||
|
||||
stages:
|
||||
- stage_id: 0
|
||||
|
||||
@@ -15,10 +15,10 @@
|
||||
# so 4096 is the empirically-verified safe ceiling.
|
||||
pipeline: minicpmo_4_5
|
||||
async_chunk: true
|
||||
# Native full-duplex shares this profile with /v1/chat/completions. The default
|
||||
# duplex_session caps sessions at 1, matching Stage 0/1 max_num_seqs below.
|
||||
# session_mode: duplex makes vllm-omni serve run this model duplex-only
|
||||
# (/v1/realtime?duplex=1). The default duplex_session caps sessions at 1,
|
||||
# matching Stage 0/1 max_num_seqs below.
|
||||
session_mode: duplex
|
||||
active_stream_window: 1
|
||||
|
||||
trust_remote_code: true
|
||||
enable_prefix_caching: false
|
||||
@@ -39,6 +39,7 @@ connectors:
|
||||
enable_hift_graph: true
|
||||
enable_cfm_graph: true
|
||||
cfm_max_graphs: 32
|
||||
cfm_graph_bucket_frames: 16
|
||||
|
||||
stages:
|
||||
- stage_id: 0
|
||||
|
||||
@@ -95,6 +95,8 @@ stages:
|
||||
top_p: 1.0
|
||||
|
||||
- stage_id: 1
|
||||
# Decoder compute dtype on GPU/NPU; 310P requires FP16 and overrides this.
|
||||
dtype: bfloat16
|
||||
# Tuned for Base voice clone; CustomVoice / VoiceDesign are TTFA-optimal at 1.
|
||||
max_num_seqs: 64
|
||||
gpu_memory_utilization: 0.3
|
||||
|
||||
@@ -94,6 +94,8 @@ stages:
|
||||
top_p: 1.0
|
||||
|
||||
- stage_id: 1
|
||||
# Decoder compute dtype on GPU/NPU; 310P requires FP16 and overrides this.
|
||||
dtype: bfloat16
|
||||
max_num_seqs: 10
|
||||
gpu_memory_utilization: 0.3
|
||||
enforce_eager: true
|
||||
|
||||
Reference in new issue
Block a user