You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE] Auto-download llama-tts via BinaryManager for the gateway's shared local TTS cache #1137
The gateway (inference-gateway/inference-gateway#575, resolving inference-gateway/inference-gateway#574) now serves POST /v1/audio/speech locally with the model id local/qwen3-tts by shell-ing out to llama.cpp's one-shot llama-tts binary, and downloads both the binary (from inference-gateway/binaries release assets, inference-gateway/binaries#23) and the Qwen3-TTS GGUF weights into the shared cache (~/.infer/bin, ~/.infer/models/tts) using the fixed well-known layout this CLI introduced.
This issue tracks the follow-up on the CLI side: flip the deliberate deferral in internal/audio/synthesizer.go so the CLI's own text-to-speech flow auto-downloads the llama-tts binary through the existing BinaryManager (with the same atomic temp-file + rename and checksum verification, treating an existing checksum-valid file as done), instead of deferring to a gateway-run binary.
Also verify the CLI's shared downloader treats an existing file as done (fix it there if missing) so a concurrently running CLI and gateway never corrupt the cache.
CLI's engine and the gateway's engine must keep selecting the same GGUF files (Qwen3-TTS-12Hz-1.7B-Base-Q8_0.gguf and mmproj-Qwen3-TTS-12Hz-1.7B-Base-f16.gguf) so the shared cache lines up
Acceptance Criteria
CLI auto-downloads llama-tts via BinaryManager once the asset exists in inference-gateway/binaries releases
Shared cache writes are atomic and existing files are never re-downloaded (CLI and gateway interleave safely)
Activity
inference-gateway-releaser commentedon Sep 1, 2026
🎉 This issue has been resolved in version 0.186.0 🎉
The release is available on:
Your semantic-release bot 📦🚀