Model reference · open weights
Kokoro-Vietnamese is an open-weight audio or speech model from contextboxai. Kokoro-Vietnamese (BF16) weighs 327 MB; the smallest configuration that runs it is RTX 3060 12 GB.
Summary of the contextboxai/Kokoro-Vietnamese model card, 2026-10-01
What it is
| Released by | contextboxai |
|---|---|
| Released | 2026-06-19 |
| VRAM | 327 MB for the weights |
What it runs on
| Card | One stream | Memory |
|---|---|---|
| RTX 3060 12 GB | fits | 11.6 GB |
| RTX 4060 Ti 16 GB | fits | 15.4 GB |
| RTX 3090 24 GB | fits | 23.4 GB |
| RTX 4090 24 GB | fits | 23.4 GB |
| RTX 5090 32 GB | fits | 31.0 GB |
| L40S 48 GB | fits | 44.0 GB |
| A100 80 GB | fits | 78.2 GB |
| H100 80 GB | fits | 78.1 GB |
| RTX PRO 6000 Blackwell 96 GB | fits | 93.8 GB |
| DGX Spark (GB10) 128 GB unified | fits | 107 GB |
| H200 141 GB | fits | 138 GB |
| B200 180 GB | fits | 176 GB |
From the model card
Fine-tuned Vietnamese Kokoro TTS artifacts.
kokoro_vi.pth: PyTorch Kokoro KModel checkpoint for inference.kokoro_vi.onnx: ONNX Runtime export of the acoustic model.kokoro_vi_voicepack.pt: default Vietnamese voicepack.config.json: Kokoro config/vocab used by both PyTorch and ONNX inference.voicepacks/*.pt: additional Vietnamese voicepacks.git clone https://github.com/iamdinhthuan/Kokoro-Vietnamese.git
cd Kokoro-Vietnamese
pip install -e .
For ONNX Runtime:
pip install -e ".[onnx]"
kokoro-vietnamese \
--text "Xin chào, hôm nay tôi đang kiểm tra giọng đọc tiếng Việt." \
--output outputs/sample.wav \
--voice diem_trinh \
--device cuda
kokoro-vietnamese-onnx \
--text "Tường nhà khách đã được sơn lại." \
--output outputs/onnx.wav \
--device cpu \
--print-phonemes
The ONNX CLI downloads kokoro_vi.onnx, kokoro_vi_voicepack.pt, and
config.json from this repository when local paths are not provided. Install
onnxruntime-gpu and pass --device cuda to use CUDAExecutionProvider when
available.
kokoro-vietnamese-export-onnx \
--output outputs/kokoro_vi.onnx
Vietnamese G2P is handled by vig2p, matching the GitHub inference and
training code.
Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.
How it works