Home/Speech & Audio/VieNeu-TTS
VieNeu-TTS logo

VieNeu-TTS

pnnbao97/VieNeu-TTS

Vietnamese TTS with instant voice cloning, on-device and real-time CPU inference

GraphCanon updated 3w · GitHub synced 3w · 27 views this month

2.3k stars675 forksLast push 1mo Python Apache-2.0

Decision brief

VieNeu-TTS offers on-device Vietnamese text-to-speech services in real-time with CPU inference, ideal for environments needing local processing.

Good fit when

  • You require a text-to-speech solution specifically tailored for the Vietnamese language.
  • Your project necessitates voice cloning capabilities with immediate activation.

Avoid when

  • The application demands TTS services in languages other than Vietnamese.
  • You seek a solution that performs inference exclusively on GPUs as VieNeu-TTS prioritizes CPU usage even with GPU availability.

Observed Jul 16, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Active (12d since push)
As of 3w
Provenance
Not a fork · Personal account
As of 3w
Security (OSV)
No lockfile
As of 1mo

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

pip install VieNeu-TTS
PyPI

Similar tools

Same-category neighbours. No typed graph edges are catalogued for this tool yet.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

A text-to-speech tool for the Vietnamese language that supports instant voice cloning.

Capability facts

CLI
CLI entrypoint

Source: pyproject.toml:[project.scripts] · Jul 29, 2026

Languages
python

Source: github.language+pyproject.toml · Jul 29, 2026

Categories

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

Python runtimePython

Source: README excerpt (regex_v1, Jul 29, 2026)

```python import time
Source link

Tags

README

🦜 1. Installation & Web UI


Quick Start

CPU (default) — torch-free, runs v3 Turbo via ONNX Runtime. Most users want this:

On CPU the backbone runs int8 by default — ~1.6× faster and ~4× smaller than fp32, with voice quality preserved. Want maximum fidelity instead? Pass Vieneu(precision="fp32") (slower on CPU). precision only affects the CPU/ONNX path; on GPU it's ignored (PyTorch).

pip install vieneu

GPU (CUDA) — only if you have an NVIDIA GPU.

ℹ️ When is GPU actually worth it? The GPU win comes from batching, so it only pays off on long text (many chunks generated together in one forward — long-form or bulk synthesis). For short text the torch-free CPU/ONNX path is usually faster (there's no batch to fill, and no kernel-launch overhead). Use CPU for short, interactive calls; reach for GPU for long-form or high-throughput work.

pip install torch==2.8.0 torchaudio==2.8.0 --index-url https://download.pytorch.org/whl/cu128
pip install "transformers==4.57.6"   # pinned — most stable transformers for the GPU SDK
pip install vieneu
import time
from vieneu import Vieneu

---

## 🐳 3. High-Quality Server (Standard Mode) <a name="docker-remote"></a>

Deploy VieNeu-TTS as a high-performance API Server (powered by LMDeploy) with a single command.

---

### 1. Run with Docker (Recommended)

**Requirement**: [NVIDIA Container Toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html) is required for GPU support.

**Start the Server with a Public Tunnel (No port forwarding needed):**
```bash
docker run --gpus all -p 23333:23333 -v huggingface_cache:/root/.cache/huggingface pnnbao/vieneu-tts:latest --tunnel
  • Default: The server loads the VieNeu-TTS-v2 model for maximum quality.
  • Tunneling: The Docker image includes a built-in bore tunnel. Check the container logs to find your public address (e.g., bore.pub:31631).

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.