Instructions to use quacklater/PrimeTTS with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use quacklater/PrimeTTS with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf quacklater/PrimeTTS:F32 # Run inference directly in the terminal: llama cli -hf quacklater/PrimeTTS:F32
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf quacklater/PrimeTTS:F32 # Run inference directly in the terminal: llama cli -hf quacklater/PrimeTTS:F32
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf quacklater/PrimeTTS:F32 # Run inference directly in the terminal: ./build/bin/llama cli -hf quacklater/PrimeTTS:F32
Use Docker
docker model run hf.co/quacklater/PrimeTTS:F32
- Llama new
- LM Studio
- Jan
- Ollama
How to use quacklater/PrimeTTS with Ollama:
ollama run hf.co/quacklater/PrimeTTS:F32
- Unsloth Desktop
- Docker Model Runner
How to use quacklater/PrimeTTS with Docker Model Runner:
docker model run hf.co/quacklater/PrimeTTS:F32
- Lemonade
How to use quacklater/PrimeTTS with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull quacklater/PrimeTTS:F32
Run and chat with the model
lemonade run user.PrimeTTS-F32
List all available models
lemonade list
- Atomic Chat
Download v2streamclean_streaming/README.md from quacklater/PrimeTTS: direct link, hf CLI and curl.
- Browser
- Download file 1.44 kB
-
https://huggingface.co/quacklater/PrimeTTS/resolve/main/v2streamclean_streaming/README.md
- Command line
-
hf download hf://quacklater/PrimeTTS/v2streamclean_streaming/README.md
-
curl -L -o README.md https://huggingface.co/quacklater/PrimeTTS/resolve/main/v2streamclean_streaming/README.md
PrimeTTS v2-Stream-Clean — token-level streaming, v2-clean audio
The definitive streaming variant: token-level band-attention encoder (input streams incrementally) + v2's non-causal clean vocoder (no parasite noise). Reconciles token-level input streaming with clean audio — the causal v2-Stream sacrificed quality unnecessarily; this doesn't.
v2streamclean_enc.onnx— text (x,tone,lang,x_lengths,noise_scale,length_scale) → z[1,192,T]. Band encoder, token-level. Run once per phrase.v2streamclean_dec.onnx— z[1,192,Tc] → wav[1,1,Tc·256]. Clean non-causal vocoder. Run per chunk, overlap-save.onnx_stream.py— reference runner (uses the right params).
Streaming params: chunk = 24, left = 64, RIGHT = 16 (the clean non-causal vocoder needs 16 future frames for bit-exact chunking; the causal one used 4). 16 kHz, zh-TW + English.
from onnx_stream import StreamingTTS # RIGHT=16 baked in
tts = StreamingTTS("v2streamclean_enc.onnx", "v2streamclean_dec.onnx")
z = tts.encode(phone_ids, tone_ids, lang_ids) # once
for pcm in tts.stream(z): play(pcm) # per 24-frame chunk, clean audio
Frontend (text→ids): g2pw bopomofo + g2p_en, 88 syms/6 tones/2 langs, add_blank.
sherpa-onnx: OfflineTtsMbistftStreamModel(enc, dec, num_threads=2, right_lookahead=16).
License: Apache-2.0 · part of Luigi/PrimeTTS.