Model reference · open weights

Kokoro-Vietnamese

Audio contextboxai Text→speech 1 build Open weights 41k dl/mo

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.

  • Kokoro-Vietnamese is a text-to-speech model created by contextboxai that generates Vietnamese audio.
  • It is available under the Apache 2.0 license and supports both PyTorch and ONNX Runtime inference.
  • The model includes a default voicepack and additional voice options, with grapheme-to-phoneme conversion handled by the vig2p library.

Summary of the contextboxai/Kokoro-Vietnamese model card, 2026-10-01

What it is

Released bycontextboxai
Released2026-06-19
VRAM327 MB for the weights

What it runs on

Memory and cards for Kokoro-Vietnamese (BF16)

327 MBweights, file size
1.6 GBruntime overhead
CardOne streamMemory
RTX 3060 12 GBfits11.6 GB
RTX 4060 Ti 16 GBfits15.4 GB
RTX 3090 24 GBfits23.4 GB
RTX 4090 24 GBfits23.4 GB
RTX 5090 32 GBfits31.0 GB
L40S 48 GBfits44.0 GB
A100 80 GBfits78.2 GB
H100 80 GBfits78.1 GB
RTX PRO 6000 Blackwell 96 GBfits93.8 GB
DGX Spark (GB10) 128 GB unifiedfits107 GB
H200 141 GBfits138 GB
B200 180 GBfits176 GB

From the model card

What contextboxai says about Kokoro-Vietnamese

Read the model card

Fine-tuned Vietnamese Kokoro TTS artifacts.

Files

  • 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.

Install

git clone https://github.com/iamdinhthuan/Kokoro-Vietnamese.git
cd Kokoro-Vietnamese
pip install -e .

For ONNX Runtime:

pip install -e ".[onnx]"

PyTorch Inference

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

ONNX Runtime Inference

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.

Export ONNX Yourself

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

How audio & music work

Audio or textinputAudio modelrecognise / synthesiseText or audiooutputSpeech-to-text turns audio into text; text-to-speech and music models turn text into audio.
© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms