Reverse-Engineering the RK3588 NPU: Building an Open Compiler to Run GPT-2 at 36 tok/s
Mirrored from r/LocalLLaMA for archival readability. Support the source by reading on the original site.
Last year I posted about hacking the RK3588 NPU to run one vision encoder (previous post). This year I opened the whole thing up: reverse-engineered the register format, built an open compiler + runtime, and now GPT-2 and SigLIP run from PyTorch, ONNX, and JAX, no vendor SDK.
Story: https://amohan.dev/blog/2026/opening-the-black-box-a-year-building-an-open-compiler-for-the-rk3588-npu/ Report: https://amohan.dev/blog/2026/opennpu-v1-0-open-compiler-runtime-rk3588-npu/
[link] [comments]
Discussion (0)
Sign in to join the discussion. Free account, 30 seconds — email code or GitHub.
Sign in →No comments yet. Sign in and be the first to say something.