Twitter/X

ced.cpp is a from-scratch C++/ggml port of Xiaomi's CED audio tagger that runs…

Brief

ced.cpp is a pure C++ engine (built on ggml) that reproduces Xiaomi's CED audio tagger exactly—same tags and numerically equal outputs—while eliminating Python and cutting model size ~2×. The port runs inference in about 55 ms on a CPU, is faster than the PyTorch original, and is presented as a way to give LLMs real‑time listening abilities (video demo included).

Why it matters

ced.cpp is a from-scratch C++/ggml port of Xiaomi's CED audio tagger that runs without Python and matches the original PyTorch model's tags and numerical outputs

Key details

  • Inference speed is about 55 ms on a CPU, and the implementation is roughly 2× smaller and faster than the PyTorch version
  • Author highlights use-case: integrate with LLMs to give them real-time audio awareness (video demo provided)
Source evidence

We built a C++ engine (ced.cpp) that tells you what a sound is, rooster, thunder, a guitar, in ~55 ms on a CPU. No Python in the loop.

It's a from-scratch @ggml port of @Xiaomi's CED audio tagger. Same tags as the PyTorch original, numerically equal , but faster and 2x lighter.

Now you can make your LLM Listen around you!

Video