qwen3-tts

Pure C inference engine for Qwen3-TTS text-to-speech

Runs the full pipeline with only C and BLAS: BPE tokenization, a 28-layer causal transformer, a multi-pass code predictor and a convolutional speech decoder. Weights are memory-mapped from safetensors, with NEON, AVX2 and AVX-512 kernels and optional Metal and CUDA backends.

  • 0.52RTF, M1 CPU, int4
  • 0.69RTF, M1 CPU, int8
  • 0.28RTF, M4 Metal

Trade-offs

  • Weights memory-mapped directly from BF16 safetensors. Loading is near-instant and memory stays low, at ~3 GB of weights for 0.6B and ~8 GB for 1.7B.
  • GPU backends are opt-in, with CPU as the default. The engine stays just C and BLAS, and users build make metal or make cuda for the speed.

Q&A2

No. The measure is the whole playback envelope, with stall rate and max_gap, and records a case of RTF 0.90 where streams still stalled.

Reviews

Loading reviews

    More in C

    See all 15 →
    • SNKVEmbedded key-value store built directly on SQLite's B-tree
    • LordOSDebian-based Linux distribution with its own desktop stack
    • XSProgramming language with its whole toolchain in one static binary
    • haxMinimalist terminal coding agent written in C
    • pg-statusSidecar that reports PostgreSQL master, replicas and replication lag
    • pktstat-bpfPer-flow traffic monitor for Linux with four eBPF capture modes

    More in Speech

    See all 21 →
    • OpenSubsSubtitle generator that transcribes and burns captions with no video upload
    • Wyoming Voice MatchVoice-verifying ASR proxy for Home Assistant satellites
    • OpenASROn-device speech to text across many model families through one runtime
    • VoiceFlowPush-to-talk Whisper dictation and meeting recorder for Windows and Linux
    • VibeVoiceFusionMulti-speaker voice generation, transcription and LoRA training on a home GPU
    • DettoOn-device meeting capture and dictation for macOS, written to a vault

    More in Local inference

    See all 43 →
    • GlydLossless compression that keeps bf16 weights and KV cache smaller on the GPU
    • BigMoeOnEdgeEngine that streams MoE experts from flash to run models larger than memory
    • AnubisNative macOS app for benchmarking local LLMs on Apple Silicon
    • PXALLM server tuned for Tesla P100, V100 and GTX 10-series GPUs
    • CarWatchA car as a chat agent: Raspberry Pi 5 running a local 35B model in the car
    • AlzeoOne-command installer that turns a DGX Spark or GB10 box into an AI server