HomeArticle

It never rains but it pours! NVIDIA CUDA has been open-sourced on GitHub.

量子位2026-12-05 10:59
Qualcomm and Broadcom were not spared either.

Meng Yao, from QbitAI | Official Account QbitAI

It's absolutely explosive, right at the critical moment when NVIDIA is at the very center of the global tech public opinion storm —

Jensen Huang's most valuable moat, CUDA, has been open-sourced on GitHub...

To be more precise, the GPUs of NVIDIA, Qualcomm and Broadcom have all been open-sourced at one go, with even native compatibility supported.

This project named EwokOS has been exposed in multiple developer communities in the past two days.

Along with it comes a CUDA-compatible framework with a very straightforward and bold name: KUDA. (literally a devastating move)

I dug deeper through the GitHub repository and found this whole thing is far more outrageous than I imagined...

The developer has been working on this for a full 8 years.

He submitted nearly 8000 code commits in total, and built up around 600,000 lines of self-developed code from scratch.

Even more surprisingly, according to the actual test results released by the project side —

He ran large models directly on NVIDIA's own GPU, and the inference speed was up to nearly 50% faster than the official TensorRT Edge-LLM???

According to the GitHub documentation, this appears to be a developer project from China, and industry insiders say the developer seems to be based in Hangzhou.

It's Hangzhou again.

Same NVIDIA board, self-developed open-source code beats official TensorRT?

To be honest, the reason why this incident is so explosive is that there are really too many people who have suffered from the limitations of CUDA for a long time.

Everyone in the industry knows that nowadays, if you want to run large models directly on robots, smart cars or a palm-sized development board —

When choosing chips, you will naturally pick the one with better performance and higher cost-effectiveness, but the reality is that after all the comparisons, you may end up having to pay for NVIDIA's products. (lol)

Why? Because NVIDIA, relying on CUDA and TensorRT, has deeply bound a complete set of mature AI development tools with its hardware long ago.

Want to switch to Qualcomm or Broadcom chips?

Sorry, mature CUDA code cannot run directly. You either have to rewrite the underlying operators, or the inference performance will drop to an unrecognizable level.

The result is that many chips have good hardware computing power, but cannot give full play to their capabilities due to the lack of supporting software ecology.

So when I saw KUDA, my first reaction was: did this developer really solve the cross-GPU compatibility problem...

Then I dug deeper through the GitHub repository, and found the situation is far more outrageous than I thought...

NVIDIA GA10B, Qualcomm Adreno 690, Broadcom VideoCore VII, the source code of three sets of GPU drivers are neatly stored in the same repository.

At the lower layer, the GPU drivers interact with hardware from different manufacturers.

At the upper layer, KUDA provides source-level compatibility for the CUDA Driver API, allowing developers to continue using the familiar CUDA programming method.

In this way, no matter which manufacturer's GPU is used at the lower layer, the code at the upper layer can run normally as usual.

Even this solution has successfully run the same large model on NVIDIA and Qualcomm GPUs, with no code modification and no re-conversion of model files required.

Then I scrolled down further and realized I still underestimated the scale of work this developer has done.

Because the GPU drivers and CUDA compatible framework are just the tip of the iceberg of this project, he directly built a set of microkernel operating system completely from scratch.

From boot loader, kernel, file system, network, USB, Bluetooth, to desktop environment, even the browser engine and JS runtime are all implemented independently.

He even implemented simulators for NES game consoles and Macintosh by himself...

However, the compatibility problem is only the first hurdle, and there is another more critical problem: performance.

After all, the reason why developers cannot leave CUDA is largely due to the years of accumulated performance optimization by NVIDIA.

Then a set of actual test data released by the project side completely blew my mind.

The developer used NVIDIA's own Jetson Orin Nano Super (8GB RAM) as the test platform.

By switching between EwokOS and Linux dual systems, KUDA went head-to-head with two mature inference solutions —

One is llama.cpp (CUDA backend), the other is NVIDIA's official TensorRT Edge-LLM 0.12.0, both using 4-bit quantization.

As a result, NVIDIA's home advantage was even surpassed in some tests...

Do you understand this table? It's almost a total reversal of the home advantage.

On Llama-3.2-1B and Qwen3-4B —

The decoding speed of EwokOS KUDA is 1.46—1.53 times that of llama.cpp, and 1.10—1.48 times that of TensorRT at the same quantization level.

Using NVIDIA's GPU, bypassing NVIDIA's CUDA, and even outperforming NVIDIA's own inference engine...

But that's not the most impressive part, you can look at the last two lines of the table, the column for Gemma4-E4B.

There is a horizontal line for llama.cpp and TensorRT, which does not mean the test was not carried out, but that the model cannot run at all.

The reason is very simple: the model itself takes up 4.6GB, and the 8GB RAM Orin Nano already uses about 1.5GB just after Linux boots. Adding extra overhead such as the CUDA runtime, the memory is completely exhausted.

In contrast, the resident memory of EwokOS after system startup is only about 330MB.

Just at the boot step, it frees up more than 1GB of extra space for large models, what the heck???

Writing 600,000 lines of code from scratch in 8 years, what exactly did this Chinese developer do?

Seeing this, you may ask: Isn't it just making a CUDA compatibility layer? Many people have tried this before, why do you have to redo the entire operating system together?

I was also curious, so I specifically went through the developer's code tree.

After checking, I was completely speechless. To achieve a completely black-box-free system, look at all the things the developer put in the repository:

From the lowest level boot loader code, microkernel, BSP (Board Support Package) for each device model;

To full sets of hardware drivers for GPU, storage, network, USB/Bluetooth, display and other components;

Then to graphics and computing frameworks (GLES2/EGL, Vulkan, OpenCL, KUDA), the native C library libewoksys and X-style desktop stack;

Even at the application layer, he also wrote the Macintosh simulator, NES game console, Git client, video player...

The most outrageous part is that the project tree even includes a self-developed browser engine ewebview and a self-developed JS runtime mario_js.

All of them are independent open-source projects written entirely by himself (all open-sourced under the Apache-2.0 license).

(Other developers write code by calling existing packages, but this master thinks the existing ecosystem is too redundant, so he decides to build a creation engine from scratch first... o(╥﹏╥)o)

Talking about this, many friends working on low-level development may wonder: The Linux ecosystem is so mature, why do you have to work on a microkernel in the edge AI era?

You will understand when you think about the real situation of edge devices.

Regular Linux is a monolithic kernel — drivers, file systems, and networks all run directly in the kernel mode without isolation.

Once a memory out-of-bounds error occurs in a hastily written GPU driver or operator, the whole device will crash and restart immediately...

The microkernel idea of EwokOS is to shrink the kernel to an extremely small size, which only manages memory, scheduling, interrupts and inter-process communication. All GPU drivers, network and graphics components are moved to user mode and isolated from each other.

What amazes me even more is an insight written by the author in the README — Why EwokOS is suitable for the AI era:

As we all know, a lot of low-level operator and driver code is now being automatically generated and iterated by AI Agents.

But on Linux, who dares to let AI modify the kernel driver directly...

The codebase with tens of millions of lines of code is too large for AI to process the full context. If one line of code is modified incorrectly, the whole system will crash. EwokOS provides five extremely hardcore microkernel solutions:

AI can fully understand the entire system: The kernel is small enough for AI to complete the full closed loop of coding, building and testing within minutes.

Hot driver replacement: Bugs will not crash the entire system, no device restart is required for upgrades.

Modular system: By adding or removing modules, it can adapt to different devices from sensor nodes to full GPU desktops.

Hot-pluggable applications: Adding new AI capabilities only requires importing a .so plugin, no firmware reflashing is needed.

Cross-hardware application reuse: Reuse application binaries on compatible platforms, with hardware such as GPU and NPU responsible for accelerating computing.

It is quite thought-provoking that a personal open-source project can cause such a huge stir in the developer community.

Because we have suffered too much from software limitations for a very long time. The extremely high premium of the closed-source ecosystem in the past is completely built on the premise that "you have no other choice".

The full open-source base of EwokOS and KUDA with 600,000 lines of code is equivalent to directly overturning the black box on the table...

Isn't this like having an all-you-can-eat tech stack buffet? (lol)

At the end of the story, I suddenly noticed another detail: the developer's signature on GitHub is Misa Zhu...

This name is not very common, and the most well-known person with this name lives in Xixi, Hangzhou, but that Misa is working on AI glasses...

Are these two Misa the same person?

Reference link: https://github.com/MisaZhu/ewokos?sessionid=

This article is from the WeChat Official Account "QbitAI" (ID: QbitAI), Author: Focus on cutting-edge technology, published by 36Kr with authorization.