Views
No views yet
[!TIP] Voice Cloning: All model variants (including GGUF) support instant voice cloning with just 3-5 seconds of reference audio.
| Model | Format | Device | Quality | Speed |
|---|---|---|---|---|
| VieNeu-TTS | PyTorch | GPU/CPU | ⭐⭐⭐⭐⭐ | Very Fast with lmdeploy |
| VieNeu-TTS-0.3B | PyTorch | GPU/CPU | ⭐⭐⭐⭐ | Ultra Fast (2x) |
| VieNeu-TTS-q8-gguf | GGUF Q8 | CPU/GPU | ⭐⭐⭐⭐ | Fast |
| VieNeu-TTS-q4-gguf | GGUF Q4 | CPU/GPU | ⭐⭐⭐ | Very Fast |
| VieNeu-TTS-0.3B-q8-gguf | GGUF Q8 | CPU/GPU | ⭐⭐⭐⭐ | Ultra Fast (1.5x) |
| VieNeu-TTS-0.3B-q4-gguf | GGUF Q4 | CPU/GPU | ⭐⭐⭐ | Extreme Speed (2x) |
VieNeu-TTS (PyTorch) for best qualityVieNeu-TTS-0.3B-q4-gguf for fastest inference or VieNeu-TTS-0.3B-q8-gguf for best CPU quality.llama-cpp-python >= 0.3.16)1git clone https://github.com/pnnbao97/VieNeu-TTS.git
2cd VieNeu-TTS.msi).brew install espeaksudo apt install espeak-ngparu -S aur/espeak-nguv (Recommended)uv (If you haven't already):powershell -c "irm https://astral.sh/uv/install.ps1 | iex"curl -LsSf https://astral.sh/uv/install.sh | sh[!IMPORTANT] Update your NVIDIA Drivers & Install CUDA Toolkit! This project uses CUDA 12.8. Please ensure your NVIDIA driver is up-to-date (support CUDA 12.8 or newer) to avoid compatibility issues, especially on RTX 30 series.To uselmdeploy, you MUST install the NVIDIA GPU Computing Toolkit: https://developer.nvidia.com/cuda-downloads.
uv sync1# Windows:
2ren pyproject.toml pyproject.toml.bak
3copy pyproject.toml.cpu pyproject.toml
4
5# Linux/macOS:
6mv pyproject.toml pyproject.toml.bak
7cp pyproject.toml.cpu pyproject.tomluv syncuv run gradio_app.pyhttp://127.0.0.1:7860.make installed (standard on Linux/macOS, or via Git Bash on Windows). It handles configuration swaps automatically.make setup-gpumake setup-cpumake demohttp://127.0.0.1:7860.cp .env.example .env1# Run with CPU
2docker compose --profile cpu up
3
4# Run with GPU (requires NVIDIA Container Toolkit)
5docker compose --profile gpu uphttp://localhost:7860.VieNeu-TTS/
├── examples/
│ ├── infer_long_text.py # CLI for long-form synthesis (chunked)
│ └── sample_long_text.txt # Example paragraph for testing
├── gradio_app.py # Local Gradio web demo with LMDeploy support
├── main.py # Basic batch inference script
├── config.yaml # Configuration for models, codecs, and voices
├── output_audio/ # Generated audio (created when running scripts)
├── sample/ # Reference voices (audio + transcript + codes)
│ ├── Bình (nam miền Bắc).wav/txt/pt
│ ├── Đoan (nữ miền Nam).wav/txt/pt
│ ├── Dung (nữ miền Nam).wav/txt/pt
│ ├── Hương (nữ miền Bắc).wav/txt/pt
│ ├── Ly (nữ miền Bắc).wav/txt/pt
│ ├── Ngọc (nữ miền Bắc).wav/txt/pt
│ ├── Nguyên (nam miền Nam).wav/txt/pt
│ ├── Sơn (nam miền Nam).wav/txt/pt
│ ├── Tuyên (nam miền Bắc).wav/txt/pt
│ └── Vĩnh (nam miền Nam).wav/txt/pt
├── utils/
│ ├── __init__.py
│ ├── core_utils.py # Text chunking utilities
│ ├── normalize_text.py # Vietnamese text normalization pipeline
│ ├── phonemize_text.py # Text to phoneme conversion
│ └── phoneme_dict.json # Phoneme dictionary
├── vieneu_tts/
│ ├── __init__.py # Exports VieNeuTTS and FastVieNeuTTS
│ └── vieneu_tts.py # Core VieNeuTTS implementation (VieNeuTTS & FastVieNeuTTS)
├── README.md
├── requirements.txt # Basic dependencies (legacy)
├── pyproject.toml # Project configuration with full dependencies (UV)
└── uv.lock # UV lock file for dependency management1@misc{vieneutts2026,
2 title = {VieNeu-TTS: Vietnamese Text-to-Speech with Instant Voice Cloning},
3 author = {Pham Nguyen Ngoc Bao},
4 year = {2026},
5 publisher = {Hugging Face},
6 howpublished = {\url{https://huggingface.co/pnnbao-ump/VieNeu-TTS}}
7}git checkout -b feature/amazing-featuregit commit -m "Add amazing feature"git push origin feature/amazing-feature