ateska/rk1-llama-server — explained in plain English
Analysis updated 2026-05-18
Run a local AI chat model with NPU acceleration on a Turing RK1 board instead of relying on the CPU alone.
Serve an OpenAI-compatible chat API from small, self-hosted hardware.
Benchmark NPU versus CPU performance for LLM inference on RK3588 hardware.
Switch between preloaded models like Qwen 2.5 3B and Gemma 4 E2B with one script.
| ateska/rk1-llama-server | adyoull/ha-armv7 | nodejs/wasm-builder | |
|---|---|---|---|
| Stars | 2 | 2 | 2 |
| Language | Dockerfile | Dockerfile | Dockerfile |
| Last pushed | — | — | 2026-03-17 |
| Maintenance | — | — | Maintained |
| Setup difficulty | hard | hard | moderate |
| Complexity | 5/5 | 4/5 | 3/5 |
| Audience | developer | ops devops | ops devops |
Figures from each repo's GitHub metadata at analysis time.
Requires a Turing RK1 board, building a custom 6.18+ Linux kernel, and downloading multi-gigabyte model files.
This project provides everything needed to run an AI chat model locally on a Turing RK1, a small single board computer built around the RK3588 chip, using that chip's built in NPU, a specialized processor for speeding up AI workloads, instead of just its regular CPU. The goal is to get much faster AI responses on this small hardware than the CPU alone could manage, without needing a full Kubernetes cluster or other complex setup. It runs llama-server, a program that serves an AI chat model, inside a Docker container on port 8080. It exposes an API compatible with OpenAI's format, plus a built in web interface, so you can chat with the model in your browser or connect other tools to it. Two ready to use models are supported out of the box, Qwen 2.5 3B and Gemma 4 E2B, and other similarly formatted models can generally work too. According to the author's benchmarks, using the NPU roughly triples the speed of processing prompts compared to running on the CPU alone. Setting this up is a multi step, fairly technical process. It requires building a custom Linux kernel version 6.18 or newer with a specific driver for the NPU enabled, applying a patch to raise the NPU's clock speed, then building a Docker image and downloading one of the supported model files, which are several gigabytes each. After that, starting and stopping the service is handled through normal Docker Compose commands, and a script is provided to switch between the two supported models. The README includes a troubleshooting table covering common problems like a missing NPU device file, out of memory errors, or the NPU running at half speed due to a CPU frequency issue. This project is aimed at hobbyists running their own small AI hardware setups who already have a Turing RK1 board and are comfortable compiling a Linux kernel and working with Docker.
Docker setup to run an AI chat model with NPU-accelerated speed on a Turing RK1 single board computer.
Mainly Dockerfile. The stack also includes Docker, llama.cpp, RK3588 NPU.
The README does not state license terms.
Setup difficulty is rated hard, with roughly 1day+ to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Don't trust strangers blindly. Verify against the repo.