AXERA-TECH/VoxCPM
By AXERA-TECH · ↓ 1 · ♥ 0 · Updated 2025-10-20
What's in this repo
This page lists the files in AXERA-TECH/VoxCPM, including audio_vae.decoder.onnx, audio_vae.encoder.onnx, feat_encoder.in_proj.onnx and more.
- 4 ONNX models (.onnx files)
- 98 files, including 50 .axmodel, 8 .bin, 7 .txt, 5 .json, 5 .npy, 4 .onnx
- Last updated 2025-10-20
ONNX files
| File | Size | Download |
|---|---|---|
| axmodels/audio_vae.decoder.onnx | — | Download |
| axmodels/audio_vae.encoder.onnx | — | Download |
| axmodels/feat_encoder.in_proj.onnx | — | Download |
| axmodels/stop_predictor.onnx | — | Download |
How to use
These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.
README
VoxCPM
This version of VoxCPM has been converted to run on the Axera NPU using w8a16 quantization. Compatible with Pulsar2 version: 4.2
Convert tools links:
For those who are interested in model conversion, you can try to export axmodel through the original repo : VoxCPM offical
Pulsar2 Link, How to Convert LLM from Huggingface to axmodel
Support Platform
- AX650
- AX650N DEMO Board
- M4N-Dock(爱芯派Pro)
- M.2 Accelerator card
How to use
Download all files from this repository to the device
1. Run python demo
1. Install voxcpm axinfer package
git clone -b 1.0.4-axmode_infer https://github.com/techshoww/VoxCPM.git
cd VoxCPM
pip3 install .
2. Download zipenhancer
pip3 install modelscope
modelscope download --model iic/speech_zipenhancer_ans_multiloss_16k_base --local_dir iic/speech_zipenhancer_ans_multiloss_16k_base
3. Run on Axera Device
Go to the root directory of this project. run:
python3 run_ax650.py
2. Run c++ demo
1. Install transformers
pip3 install transformers>=4.56.2
2. Start tokenizer server
python3 tokenizer.py --port 9999
3. Run c++ demo
bash run_ax650.sh
Model info
Created: 2025-09-30
Updated: 2025-10-20
View on Hugging Face