Repository navigation
🚀 [v0.4.6] Release Note:Chatterbox & Drama 3 TTS, Faster Speculative Decoding, and Native API Alignment & Fixes #190
JamePeng
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
[0.4.6] — Chatterbox & Drama 3 TTS, Faster Speculative Decoding, and Native API Alignment & Fixes
Version 0.4.6 brings another major update to
llama-cpp-python, expanding Text-to-Speech model support, accelerating speculative decoding, and improving native API compatibility and runtime reliability.This release introduces Chatterbox Turbo, Chatterbox Multilingual V3, and Drama 3 TTS, along with predefined voice support for Pocket TTS. On the inference side, it significantly reduces Gemma4 shared-KV MTP prefill overhead and enables GPU device-to-device feature transfers for compatible DFlash-family speculative decoding engines.
The release also delivers important fixes to MTMD audio/video APIs, GGML bindings, context capacity management, and resource ownership, alongside updated native libraries and CUDA 13.2 wheel build support.
Highlights
1. Expanded TTS Support — Chatterbox, Drama 3 & Pocket Voices
These additions further expand the MTMD speech generation ecosystem alongside existing Qwen3-TTS, Pocket TTS, and Soprano support.
2. Faster Gemma4 MTP Speculative Decoding
Optimized Gemma4 shared-KV MTP execution by reducing unnecessary hidden-state reads and improving sparse prefill output handling, while preserving native verification behavior.
Gemma4 E4B BF16 + BF16 Assistant — RTX 5090
Measured with a 1,076-token prompt, 256 generated tokens, full GPU offloading, and greedy sampling.
Both long- and short-prompt tests preserved identical generated outputs and unchanged draft acceptance. Improvements primarily affect prefill latency rather than sustained generation speed.
3. GPU Device Feature Transfer for DFlash
Introduced native GPU feature transfer for compatible DFlash, DFlash2, and DSpark speculative decoding paths, reducing unnecessary host-device data movement.
LlamaBatchExt.RTX 5090 — Host vs. GPU Device Transfer
Both configurations produced identical 256-token outputs between transfer modes, with zero difference in final-row target logits for the tested fixed inputs.
4. MTMD Audio/Video & GGML API Improvements
video_no_soundtrackand included soundtrack selection in media cache identity.Note: The new low-level audio stream bindings do not yet introduce high-level streaming TTS.
5. Safer Context Management and Runtime Reliability
Llama.n_ctx_seq()to expose per-sequence context capacity while preservingn_ctx()as total native capacity.For example, a non-unified KV context configured with
n_ctx=512andn_seq_max=2provides 256 tokens per sequence. Inputs exceeding that limit are now rejected before reaching repeated native KV allocation failures.6. Build, Documentation & API Updates
llama.cppfrom74bca3950to18ab62a8e.Looking Ahead
Version 0.4.6 continues the project's progress toward a more capable and efficient unified inference runtime.
With broader speech synthesis support and reduced CPU–GPU transfer overhead, the project is increasingly focused on improving execution efficiency across text, audio, video, and speculative decoding workflows.
Future work will continue to prioritize multimodal compatibility, native API coverage, accelerated inference, and robust resource management across different models and hardware backends.
Full Changelog: [Compare 0.4.6 changes](3fc39b2...486afe5)
— JamePeng
All reactions