-
Notifications
You must be signed in to change notification settings - Fork 1k
[Test] Add Qwen3-TTS nightly performance benchmark #1700
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
hsliuustc0106
merged 6 commits into
vllm-project:main
from
linyueqian:worktree-tts-perf-benchmark
Mar 11, 2026
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
fd920c8
add Qwen3-TTS nightly performance benchmark test
linyueqian 5fba6fb
move backend/endpoint from server_params to benchmark_params
linyueqian f7c3a0b
enable streaming benchmark and set initial_codec_chunk_frames=2
linyueqian 669487c
Add explicit backend and endpoint to existing omni benchmark configs
linyueqian bc13271
remove static initial_codec_chunk_frames from perf config
linyueqian 6a4ca28
Merge branch 'main' into worktree-tts-perf-benchmark
linyueqian File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,99 @@ | ||
| # Stage config for running Qwen3-TTS with 2-stage architecture | ||
| # Stage 0: Talker (text -> 8-layer RVQ codec codes) | ||
| # Stage 1: Code2Wav (codec codes -> audio waveform) | ||
| # | ||
| # The following config has been verified on 1x H100-80G GPU. | ||
| async_chunk: true | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. do we use async_chunk for default? do we need to change the yaml name? |
||
| stage_args: | ||
| - stage_id: 0 | ||
| stage_type: llm | ||
| runtime: | ||
| devices: "0" | ||
| max_batch_size: 4 | ||
| engine_args: | ||
| model_stage: qwen3_tts | ||
| model_arch: Qwen3TTSTalkerForConditionalGeneration | ||
| hf_overrides: | ||
| architectures: [Qwen3TTSTalkerForConditionalGeneration] | ||
| worker_type: ar | ||
| scheduler_cls: vllm_omni.core.sched.omni_ar_scheduler.OmniARScheduler | ||
| enforce_eager: false | ||
| trust_remote_code: true | ||
| async_scheduling: false | ||
| enable_prefix_caching: false | ||
| engine_output_type: latent | ||
| gpu_memory_utilization: 0.3 | ||
| distributed_executor_backend: "mp" | ||
| max_num_batched_tokens: 512 | ||
| max_model_len: 4096 | ||
| custom_process_next_stage_input_func: vllm_omni.model_executor.stage_input_processors.qwen3_tts.talker2code2wav_async_chunk | ||
| output_connectors: | ||
| to_stage_1: connector_of_shared_memory | ||
| default_sampling_params: | ||
| temperature: 0.9 | ||
| top_k: 50 | ||
| max_tokens: 4096 | ||
| seed: 42 | ||
| detokenize: false | ||
| repetition_penalty: 1.05 | ||
| stop_token_ids: [2150] | ||
|
|
||
| - stage_id: 1 | ||
| stage_type: llm | ||
| runtime: | ||
| devices: "0" | ||
| max_batch_size: 4 | ||
| engine_args: | ||
| model_stage: code2wav | ||
| model_arch: Qwen3TTSCode2Wav | ||
| hf_overrides: | ||
| architectures: [Qwen3TTSCode2Wav] | ||
| worker_type: generation | ||
| scheduler_cls: vllm_omni.core.sched.omni_generation_scheduler.OmniGenerationScheduler | ||
| enforce_eager: true | ||
| trust_remote_code: true | ||
| async_scheduling: false | ||
| enable_prefix_caching: false | ||
| engine_output_type: audio | ||
| gpu_memory_utilization: 0.2 | ||
| distributed_executor_backend: "mp" | ||
| max_num_batched_tokens: 8192 | ||
| max_model_len: 32768 | ||
| engine_input_source: [0] | ||
| final_output: true | ||
| final_output_type: audio | ||
| input_connectors: | ||
| from_stage_0: connector_of_shared_memory | ||
| tts_args: | ||
| max_instructions_length: 500 | ||
| default_sampling_params: | ||
| temperature: 0.0 | ||
| top_p: 1.0 | ||
| top_k: -1 | ||
| max_tokens: 65536 | ||
| seed: 42 | ||
| detokenize: true | ||
| repetition_penalty: 1.0 | ||
|
|
||
| runtime: | ||
| enabled: true | ||
| defaults: | ||
| window_size: -1 | ||
| max_inflight: 4 | ||
|
|
||
| connectors: | ||
| connector_of_shared_memory: | ||
| name: SharedMemoryConnector | ||
| extra: | ||
| shm_threshold_bytes: 65536 | ||
| codec_streaming: true | ||
| connector_get_sleep_s: 0.01 | ||
| connector_get_max_wait_first_chunk: 3000 | ||
| connector_get_max_wait: 300 | ||
| codec_chunk_frames: 25 | ||
| codec_left_context_frames: 25 | ||
|
|
||
| edges: | ||
| - from: 0 | ||
| to: 1 | ||
| window_size: -1 | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check possible risks for omni series test.