VoxCPM2 adapted for Huawei Ascend NPU — a 2B-parameter multilingual TTS model with 48kHz studio-quality output, voice cloning, and voice design capabilities, now running on Ascend 910 hardware.
import soundfile as sf
from voxcpm import VoxCPM
# Load model on NPU
model = VoxCPM.from_pretrained(
"openbmb/VoxCPM2",
load_denoiser=False,
optimize=False,
device="npu",
)
# Generate
wav = model.generate(
text="Hello, this is VoxCPM2 on Ascend NPU.",
cfg_value=2.0,
inference_timesteps=7,
)
sf.write("output.wav", wav, model.tts_model.sample_rate)
Performance Benchmarks
Tested on Ascend 910 (Atlas 800I A2) with cfg_value=2.0, inference_timesteps=4:
Test Text
Duration
Gen Time
RTF
Status
"Hello, this is VoxCPM2 running on Ascend NPU."
4.32s
2.65s
0.61
✅
"The quick brown fox jumps over the lazy dog."
5.12s
2.55s
0.50
✅
"Testing one two three, this is a synthetic voice test."
3.68s
1.77s
0.48
✅
Average
4.37s
2.32s
0.53
✅
RTF < 1.0 means faster than realtime. Average RTF of 0.53 on Ascend 910.
RTF vs Timesteps (English, short text)
Timesteps
Approx. RTF
4
0.53
7
~0.90
10
~1.20
Note: Performance varies with text length, language, and generation mode. Voice cloning modes require additional audio encoding overhead.
Accuracy Verification
Methodology
Weight integrity check — All 2.37B parameters verified resident on NPU with correct dtypes
NPU-optimized inference script supporting all 4 generation modes
accuracy_run.py
Accuracy verification and evaluation suite
accuracy_results.json
Full accuracy and performance benchmark results
check_audio.py
Audio output validation utility
eval_npu.wav
Sample NPU inference output audio
eval_npu_stats.json
Inference statistics
README.md
This documentation
Limitations
torch.compile optimization is CUDA-only and disabled on NPU
Voice Design and Style Control results may vary between runs (inherent to the original model)
Performance varies across languages depending on training data availability
First inference after model load may be slower due to NPU operator compilation (subsequent runs are faster)
Strictly forbidden to use for impersonation, fraud, or disinformation
Citation
@article{voxcpm2_2026,
title = {VoxCPM2: Tokenizer-Free TTS for Multilingual Speech Generation,
Creative Voice Design, and True-to-Life Cloning},
author = {VoxCPM Team},
journal = {GitHub},
year = {2026},
}
@article{voxcpm2025,
title = {VoxCPM: Tokenizer-Free TTS for Context-Aware Speech Generation
and True-to-Life Voice Cloning},
author = {Zhou, Yixuan and Zeng, Guoyang and Liu, Xin and Li, Xiang and
Yu, Renjie and Wang, Ziyang and Ye, Runchuan and Sun, Weiyue and
Gui, Jiancheng and Li, Kehan and Wu, Zhiyong and Liu, Zhiyuan},
journal = {arXiv preprint arXiv:2509.24650},
year = {2025},
}