unsloth/studio/backend/core
Manan Shah cbb4929139 studio: GGUF TTS audio support (from PR #4318)
Add GGUF TTS audio generation via llama-server. When a GGUF model
loads, the backend probes its vocabulary to detect audio codecs
(SNAC/BiCodec/DAC/CSM/Whisper). If detected, the codec is pre-loaded
and the model is reported as audio to the frontend.

During chat, TTS models route to the audio generation path which sends
a per-codec prompt to llama-server's /completion endpoint, extracts
generated tokens/text, and decodes to WAV using AudioCodecManager.

Also strips base64 audio data from prior assistant messages to prevent
context overflow.

Co-authored-by: Manan Shah <mananshah511@gmail.com>
2026-03-16 11:43:09 +00:00
..
data_recipe miscallenous studio (#4293) 2026-03-15 14:42:11 +04:00
export Final cleanup 2026-03-12 18:28:04 +00:00
inference studio: GGUF TTS audio support (from PR #4318) 2026-03-16 11:43:09 +00:00
training [Feature] studio: user can upload eval dataset (#4307) 2026-03-16 11:15:50 +04:00
__init__.py Final cleanup 2026-03-12 18:28:04 +00:00