Skip to content

vllm_omni.platforms.npu.models.voxcpm2_talker

Enable VoxCPM2 LocDiT NPUGraph acceleration on Ascend.

logger module-attribute

logger = init_logger(__name__)

apply_voxcpm2_talker_patch

apply_voxcpm2_talker_patch() -> None

Install the Ascend LocDiT adapter before VoxCPM2 is constructed.

setup_voxcpm2_loc_dit_npu_graph

setup_voxcpm2_loc_dit_npu_graph(model: object) -> None

Wrap VoxCPM2's tensor-only LocDiT estimator with NPUGraph.