跳到正文
lemon👑· 来源· @lemonDefi1 · X·· 43 分钟前AI 评分72
正文 · 原文

Someone just ran Qwen4-35B-A3B on a single RTX 3090 without Linux, CUDA, or even an NVIDIA driver.

No traditional operating system. No conventional GPU software stack. No heavyweight runtime sitting between the model and the hardware.

Just an x86-64 UEFI bootloader, custom SM86 GPU assembly kernels, an AI agent harness and a Tiny C compiler running directly on the hardware.

But the most interesting part isn’t simply running an LLM without Linux.

The developer has built something closer to a self-evolving operating environment, where the AI can write, compile, execute and modify applications while the system remains fully interactive.

An AI-powered operating environment

The interface is divided into two sections:

Left: A chat interface where you interact with Qwen4-35B-A3B.
Right: A live environment where compiled C applications run.

The model can generate code, compile it and launch applications without interrupting the running environment.

In the demonstration, the developer gives Qwen4 several instructions:

Change the entire operating system interface to a cyberpunk theme.
Build a playable Space Invaders game using C.
Create a calculator while Space Invaders continues running.
Modify the game’s colours while the game is still active.

That last demonstration is particularly interesting.

Qwen4 reads its own C source code, rewrites the game, recompiles it and hot-reloads the updated version while the developer continues playing.

No need to close the game, restart the application or interrupt the session.

The entire process happens live at approximately 12K context.

The inference performance is impressive, too.

Despite running directly on a single RTX 3090, the setup delivers:

Model: Qwen4-35B-A3B
GPU: Single RTX 3090
KV cache: 64K FP16
VRAM usage: Approximately 22GB
Generation speed: 145–150 tokens/s
Generation speed at 12K context: 134.8 tokens/s

The 64K FP16 KV cache fitting within 22GB of VRAM is particularly notable.

This is a highly customised inference environment, not a conventional llama.cpp, Ollama or CUDA-based deployment.

Why this experiment is interesting

Most local AI setups depend on several layers of software infrastructure: an operating system, GPU drivers, CUDA or another compute runtime, inference engines and application frameworks.

This project takes a radically different approach.

The developer has built a minimal environment that communicates with the GPU through custom assembly kernels and gives the model access to a compiler and execution environment.

More importantly, Qwen4 isn’t restricted to generating code that someone else must manually copy, compile and run.

It can interact with the environment, create applications, inspect existing source code and modify running software.

That changes the nature of the interaction.

You’re no longer just asking an AI to build an application. You’re interacting with an environment where the AI can continuously develop and modify the software around you.

And the fact that Space Invaders keeps running while Qwen4 rewrites and reloads its code makes the demonstration even more interesting.

Local AI is becoming more than running models on consumer GPUs. We’re starting to see experiments where the model, compiler, applications and execution environment operate as one integrated system.

The developer says three more live demonstrations and the GitHub repository are coming. https://x.com/superalesha/status/2128905861015773257/video/1

来源:lemon👑 · x.com