unsloth/studio/frontend/src
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
..
app chat only with gguf for mac devices (#4300) 2026-03-15 23:20:48 +04:00
assets Final cleanup 2026-03-12 18:28:04 +00:00
components studio: extract param count from model name as fallback 2026-03-16 09:54:46 +00:00
config chat only with gguf for mac devices (#4300) 2026-03-15 23:20:48 +04:00
features studio: GGUF TTS audio support (from PR #4318) 2026-03-16 11:43:09 +00:00
hooks Friendlier unsupported model errors, show estimated download size 2026-03-16 02:46:56 -07:00
lib Update license headers 2026-03-12 17:23:10 +00:00
shared Update license headers 2026-03-12 17:23:10 +00:00
stores Update license headers 2026-03-12 17:23:10 +00:00
types Update license headers 2026-03-12 17:23:10 +00:00
utils Update license headers 2026-03-12 17:23:10 +00:00
index.css Final cleanup 2026-03-12 18:28:04 +00:00
main.tsx chat only with gguf for mac devices (#4300) 2026-03-15 23:20:48 +04:00
speech-recognition.d.ts Update license headers 2026-03-12 17:23:10 +00:00