charcot-ai/marimba-quant-cpu-int8
Static INT8 audio encoder for CPU
2 min readupdated
This repository contains optimized CPU versions of the frozen audio encoder from the Marimba model (based on Qwen3-ASR-0.6B), quantized to 8 bits with calibration. The encoder accepts a spectrogram and outputs hidden states of key layers, which are then processed by Marimba's question heads. The build is focused on efficient execution on processors without using a GPU and includes variants for OpenVINO and PyTorch 2 Export.
Key features
- Static 8-bit quantization (INT8) with calibration (NNCF PTQ and Accuracy Control) for CPU execution.
- Support for various processor instructions, including AVX-512, VNNI, and AVX2.
- Weight sets and graphs with reduced disk size (from 187 MB to 1.5 GB depending on the backend).
- OpenVINO versions (fp16, fp32, w8) and PyTorch 2 Export (PT2E) available.
What you can do
- Integrate the quantized encoder into the Marimba audio processing and speech recognition pipeline on a CPU.
- Run inference via OpenVINO on servers or local machines without a graphics card.
- Compare the performance and accuracy of various quantization schemes (PTQ, accuracy control, weight-only) on your tasks.
Example
The model is a set of exported graphs and weights for OpenVINO (encoder.xml, encoder.bin) and PyTorch (.pt2), so execution is performed using the standard tools of the respective runtimes for processing audio streams.
Read more
DetailsBackends: OpenVINO, PyTorch 2 Export (PT2E)
Weight: from 187 MB to 1.5 GB depending on the folder
Testing: benchmarks on AMD EPYC and Intel Xeon processors










Comments