unsloth/studio
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
..
backend studio: GGUF TTS audio support (from PR #4318) 2026-03-16 11:43:09 +00:00
frontend studio: GGUF TTS audio support (from PR #4318) 2026-03-16 11:43:09 +00:00
__init__.py Final cleanup 2026-03-12 18:28:04 +00:00
install_python_stack.py [pre-commit.ci] auto fixes from pre-commit.com hooks 2026-03-14 00:54:09 -07:00
LICENSE.AGPL-3.0 Add AGPL-3.0 license to studio folder 2026-03-09 19:36:25 +00:00
setup.bat Final cleanup 2026-03-12 18:28:04 +00:00
setup.ps1 PR: Windows Setup Improvements (#4299) 2026-03-14 23:59:49 +04:00
setup.sh Fix setup.sh crash on Mac with empty gitignore array 2026-03-15 22:33:04 -07:00
Unsloth_Studio_Colab.ipynb Fix/colab plugin editable install (#4281) 2026-03-16 01:34:37 +04:00