凤
weixin_44093752/Ambiq-compressionkit-PPG-4x-Ascend-NPU
Model Introduction
Files & versions
Pull Requests
Discussion
Analysis

Ambiq/compressionkit-ppg-4x Ascend NPU adaptation

The catalog short name Ambiq/compressionkit-ppg-4x resolves through Google and the official Ambiq documentation to the public Hugging Face release Ambiq/compressionkit-ppg-4x-v1.0. The pinned official bundle contains a PPG RVQ neural codec with 320-sample frames at 64 Hz, a 4x compression contract, and float32/int8 TFLite encoder-decoder artifacts.

Official sources

  • Resolved Hugging Face model: https://huggingface.co/Ambiq/compressionkit-ppg-4x-v1.0
  • Revision: 8e3b465983808d50d99799df6135aaffe68029ff
  • Official source: https://github.com/AmbiqAI/compressionkit/tree/69b94d836dd8a24f227d411e99ef4ff2a7de2b7d
  • Weight license: ambiq-model-weights-license

Adaptation boundary

The official LiteRT/TFLite encoder and decoder artifacts are kept under artifacts/ and their sizes and SHA-256 values are pinned in model-lock.json. The wrapper validates the official files, applies the official per-frame layer-normalization contract, runs the official float32 codec round-trip through LiteRT, moves the latent tensor to npu:0, executes an Ascend NPU finite-value/data-path gate, and returns the reconstruction through the official decoder.

The Pod does not have an Ascend LiteRT delegate. Therefore the official TFLite kernels in this smoke run use the LiteRT CPU delegate; the NPU gate covers the real latent transport and NPU operation. This is recorded explicitly and is not presented as full codec-kernel NPU execution. Full signal-quality accuracy was not evaluated.

Run

Install requirements.txt, keep the pinned artifacts in artifacts/, and run inference.py --artifact-path ./artifacts --device npu --device-index 0.

Evidence

Agent workflow

NPU device call

Model result