[Perf][PersonaPlex] Serve 16 concurrent realtime duplex sessions on one GPU (#8192)

This commit is contained in:
Yueqian Lin authored and GitHub committed 2026-09-28 04:51:38 +00:00
1 parent 36b74f99f6
commit f5bdb20e9d
12 files changed
+563 -102

No files matched your search

+10 -1
View File
@@ -12,6 +12,10 @@
# 8 active codebooks (cb 0..7) -> 1920 PCM samples @ 24 kHz / 12.5 Hz.
# * Stage 0 runs cudagraph by default; Stage 1 (Mimi) is eager because the
# external decoder performs host-to-device copies that cannot be captured.
# * Each live session holds one 3000-frame KV window (~1.5 GiB) on Stage 0.
# To serve more sessions, raise duplex_session.max_sessions and both stages'
# max_num_seqs together, and size Stage 0 gpu_memory_utilization for the KV;
# on a 141 GB card, 16 sessions at Stage 0 utilization 0.75 stay realtime.
pipeline: personaplex
session_mode: duplex
duplex_session:
@@ -38,7 +42,12 @@ stages:
# Prompt IDs are placeholders; voice/persona/audio semantics live in
# request-specific embeddings, so token-ID prefix caching is invalid.
enable_prefix_caching: false
async_scheduling: true
# Every live session appends one frame per 80 ms tick as a one-token
# resumable request. With async scheduling the next step is scheduled
# before a session's previous frame is parked, so a session can join only
# every other step and concurrent sessions split into alternating batches.
# Synchronous scheduling puts every waiting frame in one step.
async_scheduling: false
max_num_batched_tokens: 512
# Temporal transformer sliding_window is 3000 frames; keep model len within.
max_model_len: 3000