Skip to content

Promote Qwen3 audio tokenizer into reusable framework codecs - #1276

Merged
0xShug0 merged 1 commit into
mainfrom
refactor/qwen3-tts-codec
Nov 13, 2026
Merged

0xShug0 merged 1 commit into
mainfrom
refactor/qwen3-tts-codec

Conversation

@0xShug0

@0xShug0 0xShug0 commented Nov 13, 2026

Copy link
Copy Markdown
Owner

Promote the Qwen3 12.5 Hz audio tokenizer encoder and decoder into reusable framework codec runtimes. Qwen3-TTS now uses these runtimes, while reference-audio trimming and RKNN dispatch stay in the model session.

Preserve the existing graph math, precision defaults, session-owned graph caches, windowed/stateful streaming and utterance reset behavior. No GGML changes or new public options.

Validation:

  • Debug CUDA build passed.
  • Eleven CUDA A/B WAV pairs are byte-identical across voice-clone/reference reuse, memory-saver recreation, windowed/stateful streaming and flash attention. All outputs are valid, non-silent PCM16.
  • The decoder streaming integration test fails identically on main and this branch at prefix 0 / capacity 4: maximum error 0.0321971 versus tolerance 0.02. This existing discrepancy remains unresolved; assertions are unchanged.
  • CPU, Vulkan, HIP and RKNN execution, and controlled performance/peak-VRAM comparisons were not validated in this pass.

@0xShug0
0xShug0 merged commit ef2a7ef into main Nov 13, 2026
7 checks passed
@0xShug0
0xShug0 deleted the refactor/qwen3-tts-codec branch November 13, 2026 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant