DEV Community

One Developer, Eight Years, a CUDA-Compatible OS: What EwokOS's KUDA Can and Can't Do

This week a GitHub project called EwokOS spread fast in Chinese tech media, and then on X. Some headlines said "CUDA has been open-sourced on GitHub." The developer never said that. The project describes itself as a microkernel OS with a CUDA-compatible compute layer called KUDA. I spent some time in the repo to see what is actually there, what KUDA can do, and where the benchmark numbers come from.

What the project is

EwokOS is a microkernel operating system written by one developer, Misa Zhu (MisaZhu/ewokos on GitHub). The repo was created in February 2018 and has about 7,800 commits. It is not a Linux fork.

The kernel, user-space services, window system and C library were written for this project. Some portable libraries like zlib, wolfssl and FreeType are bundled, and the GPU shader compilers reuse parts of Mesa.

The scope is large. Besides the kernel there are:

  • drivers for storage, network, USB and Bluetooth
  • an X-like desktop
  • a browser engine
  • NES and classic Macintosh emulators
  • GPU support on four chips: Broadcom VideoCore VI and VII (Raspberry Pi 4 and 5), Qualcomm Adreno 690, and NVIDIA GA10B, the GPU in the Jetson Orin Nano

For the NVIDIA GPU the author wrote a shader compiler by hand that outputs sm_87 machine code. Whatever you think of the benchmark claims, that part is real engineering.

Taiwan's Commercial Times, citing the mainland outlet Chao News, reported that Misa Zhu is Zhu Mingming, founder and CEO of the AR glasses company Rokid, and that he called EwokOS a personal project built in his spare time over eight years.

What KUDA covers

KUDA follows NVIDIA's CUDA Driver API. Types and error codes keep NVIDIA's names (CUresult, CUcontext, CUstream and so on), but the functions use a ku prefix instead of cu. So existing driver-API code needs a rename before it compiles.

The README lists what is in scope: init, devices and contexts, loading cubin modules, device memory, kernel launch, streams, events and occupancy. PTX JIT, textures, graphics interop, unified memory, IPC and CUDA graphs are out of scope.

That is a useful base, but it is far from what most people mean by "CUDA." Most real work depends on the runtime API, on libraries like cuBLAS, cuDNN and NCCL, and on frameworks like PyTorch built on top of them. KUDA does not touch those.

Two more details matter. On the Jetson, KUDA loads cubins built with NVIDIA's own nvcc compiler. You still use NVIDIA's toolchain to build the kernels. KUDA replaces the driver and runtime underneath, not the compiler.

On Qualcomm, the kernels are not CUDA code at all. They are GLSL compute shaders the author wrote and compiled ahead of time for the Adreno GPU. So when articles say "the same code runs on NVIDIA and Qualcomm," that is true for the author's own LLM engine, which calls the KUDA API on both. It does not mean any CUDA program can now run on a Qualcomm GPU.

The benchmark claim

The number that spread most: on a Jetson Orin Nano Super (8GB), KUDA on EwokOS decodes 1.46 to 1.53 times faster than llama.cpp with its CUDA backend, and 1.10 to 1.48 times faster than NVIDIA's TensorRT Edge-LLM 0.12.0, on Llama-3.2-1B and Qwen3-4B at 4-bit. The table going around puts EwokOS at about 100 tokens/s on Llama-3.2-1B, against about 66 for llama.cpp and 68 for TensorRT.

I could not find this comparison in the repo. I searched the main README and its history, the docs and wiki, the markdown files in both submodules, and the commit messages. Neither TensorRT nor llama.cpp shows up. The write-ups I read point to the repo in general, not to a result file or a run log.

What the commit history does show is the author's own Orin Nano numbers going up. A November 26 commit reports Llama-3.2-1B Q4_K_M decode at 75.03 tok/s, up from 35.1. A November 29 commit to the CUDA kernels reports a 1000-token decode going from 91.28 to 92.47 tok/s. So about 100 tok/s a week later is believable. The llama.cpp and TensorRT columns are the part with no trail.

Even if every number is right, a few things should be kept in mind. The comparison is across two different operating systems on dual boot, so OS overhead is part of the result. These are small models, 1B to 4B, with single-stream decoding, which is a narrow case. And nobody outside the project has reproduced it yet.

The memory claim is the more interesting one to me. The project says EwokOS uses about 330MB after boot, against roughly 1.5GB for Linux, and that this lets Gemma4-E4B (4.6GB) run on the 8GB board where the Linux setups could not. I have not checked that number myself. But the point behind it is fair: on an 8GB edge board, every gigabyte the OS holds is a gigabyte the model can't use.

So what does it mean

For NVIDIA's business, very little. The CUDA moat is the library stack and the huge amount of software built on it. A partial driver API on a personal-project OS for dev boards doesn't change that. The same lock-in is part of why used NVIDIA cards are easy to resell, whether to another team or to GPU buyers: whoever gets the card knows their CUDA code will run on it.

For people working on edge AI, it is worth a look. It shows how much of the stack one person can rebuild when they own everything from the boot loader up, and how much room a small OS can free up for a model when memory is tight.

I would like to see the Orin benchmark published in the repo with the scripts, so others can run it. Until then I would treat the TensorRT comparison as project-reported, and the engineering itself as the real story.

Read on DEV Community ↗ ← Back to News

Comments

No comments yet. Start the discussion.