凤
weixin_44093752/chatterbox-ascend-npu
Model Introduction
Files & versions
Pull Requests
Discussion
Analysis

ResembleAI/chatterbox Ascend NPU

This delivery adapts the official ResembleAI/chatterbox multilingual V3 checkpoint for a real Ascend910 npu:0 smoke run.

Official source lock

  • Model: ResembleAI/chatterbox
  • Live HF revision checked on 2026-08-22: 5bb1f6ee58e50c3b8d408bc82a6d3740c2db6e18
  • Official source: resemble-ai/chatterbox
  • Model family: Chatterbox Multilingual V3, 23-language text-to-speech, 0.5B-class T3 backbone
  • Locked file sizes and digests are recorded in model-lock.json; weights are intentionally not committed.

Ascend smoke result

On the shared real Ascend910 Pod, the official T3 and S3Gen modules loaded on npu:0, generated Chinese speech, and returned finite audio:

  • total parameters: 801346633
  • model device: npu:0
  • output: [1, 77760], torch.float32, sample rate 24000
  • finite=true, maximum absolute amplitude 0.9900000095367432
  • load: 12.902278s; generation: 2.998576s

The current CANN runtime does not provide the official NPU torch.istft path used by the final HiFi-GAN decoder and raised aclnnUnfoldGrad. The smoke run applies a narrow compatibility fallback: magnitude/phase tensors are produced by the NPU decoder, only the final ISTFT is evaluated on CPU, and the result is returned as audio. This is an NPU run-through record, not a full precision or end-to-end NPU-only claim.

Run

Install the official package and place the locked files under a local checkpoint directory. The script is designed for the same runtime patch points used during the validated Pod run.

PYTHONPATH=/path/to/chatterbox/src \
python3 inference.py --checkpoint-dir /tmp/model-agent/chatterbox --device npu --text "你好,今天我们在昇腾 NPU 上完成语音烟测。" --language zh

The JSON result is written to validation/npu.json when --output is specified. Do not commit model weights or generated audio.

Evidence

agent workflow

NPU device call

model result