[Feature] PersonaPlex (Moshi-based full-duplex S2S): native vLLM port + duplex serving (#4771)

Signed-off-by: Yueqian Lin <linyueqian@outlook.com>
Signed-off-by: Sy0307 <24841857+Sy0307@users.noreply.github.com>
Co-authored-by: Sy0307 <24841857+Sy0307@users.noreply.github.com>
This commit is contained in:
Yueqian LinandSy0307 authored and GitHub committed 2026-08-04 20:10:33 -07:00
1 parent f24a6165ff
commit e788ef6e76
59 files changed
+10389 -12

No files matched your search

+13
View File
@@ -23,6 +23,11 @@ _ARCH_TO_MODEL_TYPE: dict[str, str] = {
"IndexTTS2S2MelDecoder": "indextts2",
"IndexTTS2TalkerForConditionalGeneration": "indextts2",
"OmniVoiceModel": "omnivoice",
# PersonaPlex ships an empty config.json, so create_model_config() must patch
# model_type=personaplex from the arch name or the staged pipeline can't load
# the HF config without manual overrides.
"PersonaPlexTalkerForConditionalGeneration": "personaplex",
"PersonaPlexCode2Wav": "personaplex",
"VoxCPM2TalkerForConditionalGeneration": "voxcpm2",
}
@@ -48,6 +53,9 @@ def _register_omni_hf_configs() -> None:
MossTTSLocalConfig,
MossTTSRealtimeConfig,
)
from vllm_omni.model_executor.models.personaplex.configuration_personaplex import (
PersonaPlexConfig,
)
from vllm_omni.model_executor.models.qwen3_tts.configuration_qwen3_tts import (
Qwen3TTSConfig,
)
@@ -74,6 +82,7 @@ def _register_omni_hf_configs() -> None:
("moss_tts_local", MossTTSLocalConfig),
("moss_tts_realtime", MossTTSRealtimeConfig),
("qwen3_tts", Qwen3TTSConfig),
("personaplex", PersonaPlexConfig),
("cosyvoice3", CosyVoice3Config),
("glm_tts", GLMTTSConfig),
("omnivoice", OmniVoiceConfig),
@@ -164,6 +173,9 @@ class OmniEngineArgs(EngineArgs):
# Must be declared here so engine_args dict propagation does not silently
# drop the value when constructing OmniEngineArgs from kwargs.
active_stream_window: int = 0
# Engine admission is the single source of truth for per-stage pools of
# model-owned streaming state (codec, decoder, and similar resources).
duplex_max_sessions: int = 1
omni_kv_config: dict | None = None
quantization_config: Any | None = None
force_cutlass_fp8: bool | None = None
@@ -344,6 +356,7 @@ class OmniEngineArgs(EngineArgs):
async_chunk=self.async_chunk,
retains_state_across_chunks=self.retains_state_across_chunks,
active_stream_window=self.active_stream_window,
duplex_max_sessions=self.duplex_max_sessions,
model_stage=self.model_stage,
model_arch=self.model_arch,
worker_type=self.worker_type,