
tzhouamandClaude Fable 5.1
49a839ecf9
[Edge][WP5] Add codec-token streaming mode with on-device decoding
* qwen3_tts_talker_only pipeline (single terminal LLM_AR stage,
final_output_type "latent") + vllm_omni/deploy/qwen3_tts_talker_only.yaml;
a terminal talker publishes its per-step codes.audio rows to the client
(omni_client_multimodal_output_keys).
* /v1/audio/speech/stream: session.config.output_mode="codec_tokens" streams
codec.start (JSON) + binary frames (<IHB seq/n_frames/flags + int16 rows,
vllm_omni/entrypoints/openai/codec_stream.py) + codec.done; new input.cancel
message aborts an in-flight generation for both codec and PCM sessions
(single reader task + session inbox replaces direct socket reads); optional
session.config.seed; audio.done gains "cancelled" only when it happened.
* serving_speech._generate_codec_chunks aligns the cumulative code tensor to
output token ids (drops prefill placeholder/EOS rows) and emits deltas.
* TTS adapters: supports_codec_stream / codec_stream_spec (Qwen3-TTS: 16
codebooks, 2048 ids, 12.5 Hz, 24 kHz, decoder qwen3_tts_tokenizer_v2_12hz).
* examples/online_serving/text_to_speech/qwen3_tts/edge_decoder_client.py
decodes locally with Qwen3TTSTokenizerV2Decoder (ramp schedule, 72-frame
context, cancel/reset), codec_parity_check.py and
benchmarks/tts/codec_stream_e2e.py compare against the two-stage server.
* docs/serving/codec_token_streaming.md; CPU unit tests for the wire format,
alignment, session config and handler (frames, unsupported adapter, cancel);
L3 e2e tests/e2e/online_serving/test_qwen3_tts_codec_stream.py.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-09 11:10:13 +08:00
..
2026-09-05 08:20:21 +00:00
2026-09-01 10:48:52 +00:00
2025-12-12 14:25:52 +08:00
2026-09-03 18:49:19 -07:00
2026-09-05 08:20:21 +00:00
2026-07-23 16:45:18 +08:00
2026-09-05 08:20:21 +00:00
2026-08-28 15:46:41 +08:00
2026-08-30 03:25:43 +00:00
2026-07-28 03:58:22 +00:00
2026-07-28 03:58:22 +00:00
2026-08-25 09:10:17 +08:00
2026-08-25 09:10:17 +08:00
2026-08-25 09:10:17 +08:00
2026-09-03 10:37:21 +08:00
2026-09-01 08:41:23 +08:00
2026-09-03 10:37:21 +08:00
2026-08-17 11:21:28 +08:00
2026-08-25 09:10:17 +08:00
2026-08-26 13:19:20 -07:00
2026-08-25 09:10:17 +08:00
2026-09-04 14:44:10 -07:00
2026-07-29 23:53:03 +08:00
2026-09-05 08:20:21 +00:00
2026-08-25 09:10:17 +08:00
2026-08-25 09:10:17 +08:00
2026-08-25 09:10:17 +08:00
2026-08-25 09:10:17 +08:00
2026-08-25 09:10:17 +08:00
2026-08-25 09:10:17 +08:00
2026-08-25 09:10:17 +08:00
2026-07-29 23:53:03 +08:00
2026-08-25 09:10:17 +08:00
2026-08-25 09:10:17 +08:00
2026-08-30 08:52:15 +00:00
2026-08-28 14:31:03 +08:00
2026-08-25 09:10:17 +08:00
2026-08-25 09:10:17 +08:00
2026-08-25 09:10:17 +08:00
2026-08-10 10:02:31 +08:00
2026-08-17 11:21:28 +08:00
2026-08-10 10:02:31 +08:00
2026-09-07 13:38:23 +08:00
2026-08-25 09:10:17 +08:00
2026-08-25 09:10:17 +08:00
2026-08-27 23:54:40 +08:00
2026-08-17 11:21:28 +08:00
2026-09-05 15:32:30 +08:00
2026-08-29 18:42:33 +08:00
2026-08-25 09:10:17 +08:00
2026-08-25 09:10:17 +08:00
2026-08-28 15:46:41 +08:00
2026-09-05 08:20:21 +00:00
2026-09-02 15:39:49 +00:00
2026-09-02 15:39:49 +00:00
2026-09-05 08:20:21 +00:00
2026-09-06 05:40:09 +08:00
2026-08-18 04:33:13 +00:00
2026-08-25 09:10:17 +08:00
2026-08-25 09:10:17 +08:00
2026-09-02 15:39:49 +00:00
2026-08-25 09:10:17 +08:00
2026-08-25 09:10:17 +08:00
2026-08-17 14:29:17 +08:00
2026-08-25 09:10:17 +08:00
2026-09-02 15:39:49 +00:00
2026-08-25 09:10:17 +08:00
2026-08-25 09:10:17 +08:00
2026-08-25 09:10:17 +08:00
2026-08-31 12:13:26 +00:00
2026-09-09 11:10:13 +08:00
2026-09-01 17:25:09 +08:00
2026-08-25 09:10:17 +08:00
2026-08-25 09:10:17 +08:00
2026-08-25 09:10:17 +08:00
2026-08-25 22:55:15 +08:00
2026-08-25 09:10:17 +08:00
2026-08-25 09:10:17 +08:00
2026-08-25 09:10:17 +08:00
2026-08-25 09:46:02 +08:00
2026-08-18 23:57:55 -06:00
2026-08-25 09:10:17 +08:00
2026-08-25 09:10:17 +08:00
2026-08-25 22:02:26 +08:00
2026-08-25 09:10:17 +08:00
2026-08-25 09:10:17 +08:00
2026-08-25 09:10:17 +08:00
2026-08-25 09:10:17 +08:00
2026-08-25 09:10:17 +08:00
2026-08-25 09:10:17 +08:00
2026-08-25 09:10:17 +08:00
2026-08-25 09:10:17 +08:00
2026-08-25 09:10:17 +08:00