Instructions to use alesha-pro/I-Deleted-Linux-ZeroApp-2B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use alesha-pro/I-Deleted-Linux-ZeroApp-2B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="alesha-pro/I-Deleted-Linux-ZeroApp-2B") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("alesha-pro/I-Deleted-Linux-ZeroApp-2B") model = AutoModelForCausalLM.from_pretrained("alesha-pro/I-Deleted-Linux-ZeroApp-2B", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use alesha-pro/I-Deleted-Linux-ZeroApp-2B with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf alesha-pro/I-Deleted-Linux-ZeroApp-2B:Q8_0 # Run inference directly in the terminal: llama cli -hf alesha-pro/I-Deleted-Linux-ZeroApp-2B:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf alesha-pro/I-Deleted-Linux-ZeroApp-2B:Q8_0 # Run inference directly in the terminal: llama cli -hf alesha-pro/I-Deleted-Linux-ZeroApp-2B:Q8_0
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf alesha-pro/I-Deleted-Linux-ZeroApp-2B:Q8_0 # Run inference directly in the terminal: ./build/bin/llama cli -hf alesha-pro/I-Deleted-Linux-ZeroApp-2B:Q8_0
Use Docker
docker model run hf.co/alesha-pro/I-Deleted-Linux-ZeroApp-2B:Q8_0
- Llama new
- LM Studio
- Jan
- vLLM
How to use alesha-pro/I-Deleted-Linux-ZeroApp-2B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "alesha-pro/I-Deleted-Linux-ZeroApp-2B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "alesha-pro/I-Deleted-Linux-ZeroApp-2B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/alesha-pro/I-Deleted-Linux-ZeroApp-2B:Q8_0
- SGLang
How to use alesha-pro/I-Deleted-Linux-ZeroApp-2B with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "alesha-pro/I-Deleted-Linux-ZeroApp-2B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "alesha-pro/I-Deleted-Linux-ZeroApp-2B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "alesha-pro/I-Deleted-Linux-ZeroApp-2B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "alesha-pro/I-Deleted-Linux-ZeroApp-2B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use alesha-pro/I-Deleted-Linux-ZeroApp-2B with Ollama:
ollama run hf.co/alesha-pro/I-Deleted-Linux-ZeroApp-2B:Q8_0
- Unsloth Desktop
- Pi
How to use alesha-pro/I-Deleted-Linux-ZeroApp-2B with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf alesha-pro/I-Deleted-Linux-ZeroApp-2B:Q8_0
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "alesha-pro/I-Deleted-Linux-ZeroApp-2B:Q8_0" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use alesha-pro/I-Deleted-Linux-ZeroApp-2B with Docker Model Runner:
docker model run hf.co/alesha-pro/I-Deleted-Linux-ZeroApp-2B:Q8_0
- Lemonade
How to use alesha-pro/I-Deleted-Linux-ZeroApp-2B with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull alesha-pro/I-Deleted-Linux-ZeroApp-2B:Q8_0
Run and chat with the model
lemonade run user.I-Deleted-Linux-ZeroApp-2B-Q8_0
List all available models
lemonade list
- Hermes Agent
How to use alesha-pro/I-Deleted-Linux-ZeroApp-2B with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf alesha-pro/I-Deleted-Linux-ZeroApp-2B:Q8_0
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:9931/v1 hermes config set model.default alesha-pro/I-Deleted-Linux-ZeroApp-2B:Q8_0
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use alesha-pro/I-Deleted-Linux-ZeroApp-2B with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf alesha-pro/I-Deleted-Linux-ZeroApp-2B:Q8_0
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "alesha-pro/I-Deleted-Linux-ZeroApp-2B:Q8_0" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf alesha-pro/I-Deleted-Linux-ZeroApp-2B:Q8_0# Run inference directly in the terminal:
llama cli -hf alesha-pro/I-Deleted-Linux-ZeroApp-2B:Q8_0Build from source code
git clone https://github.com/ggml-org/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-app# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama serve -hf alesha-pro/I-Deleted-Linux-ZeroApp-2B:Q8_0# Run inference directly in the terminal:
./build/bin/llama cli -hf alesha-pro/I-Deleted-Linux-ZeroApp-2B:Q8_0Use Docker
docker model run hf.co/alesha-pro/I-Deleted-Linux-ZeroApp-2B:Q8_0- I Deleted Linux (Zero-App OS v2.1 / MiniCPM5-2B)
I Deleted Linux (Zero-App OS v2.1 / MiniCPM5-2B)
Operating systems have too many apps. Linux has too many lines of C. So I deleted both, wrote a 113 KB x86-64 NASM kernel from scratch, and trained a 2.5B model to hallucinate playable x86-64 assembly games straight into Ring 3.
No Linux. No Windows. No C. No Rust. No gcc. No filesystem. No preinstalled apps.
You boot a 115,160-byte (113 KB) handwritten x86-64 NASM kernel with 0 GB of disk, map a 2.50 GiB Q8_0 fine-tune of openbmb/MiniCPM5-2B directly into physical RAM over NVDIMM, type flappy bird (or tetris, arkanoid, pong, dino, falling sand), and the model streams raw x86-64 assembly into a built-in Ring-0 micro-assembler and launches it live in a hardware-isolated Ring-3 W^X sandbox.
When a generated app crashes with a real CPU #PF page fault or #UD invalid opcode, Ring 0 traps the exception, pops a red diagnostic HUD, feeds the exact faulting line and CR2 address back to the local 2B model, and applies a 10 to 20 token surgical PATCH in ~0.3s.
- Pure NASM OS source code: github.com/alesha-pro/llm.asm
- Base model:
openbmb/MiniCPM5-2B(Apache 2.0)
Live Screenshots (0 GB Disk, 0 Preinstalled Apps, 0% GPU)
Every frame below was generated on bare-metal CPU by this exact model inside the 113 KB pure NASM kernel:
flappy bird (0-shot, 1,595 tok, 230 instr, 1,074 B) |
arkanoid (0-shot, 1,243 tok, 177 instr, 755 B) |
|---|---|
![]() |
![]() |
Ring-0 #PF Hardware Trap HUD |
27-Color Emerald Mandelbrot after 10-tok PATCH (~0.3s) |
![]() |
![]() |
What Is Inside This Crime Scene
Everything you need to either boot the OS in 10 seconds or inspect the weights in transformers / llama.cpp:
| Path | Size | What it is |
|---|---|---|
model.safetensors + config.json + tokenizer |
4.7 GiB | Full merged BF16 MiniCPM5-2B v2.1 fine-tune (SFT + 120-step QEMU GRPO + arcade pass) |
zappm/minicpm5-2b-zeroapp-v21-q8_0.zappm |
2.50 GiB | Packed bare-metal Q8_0 NVDIMM image (2,684,620,800 bytes) for Zero-App OS |
gguf/minicpm5-2b-zeroapp-v21-q8_0.gguf |
2.50 GiB | Standard Q8_0 GGUF for llama.cpp |
os/zero-app-os.elf |
113 KB | The entire OS (115,160 bytes, 19,138 lines of handwritten NASM, 0 lines of C, 0 gcc calls) |
os/zero-app-os.iso |
11.6 MB | Bootable GRUB2 ISO for QEMU KVM or Proxmox |
Boot It Yourself in 10 Seconds (Zero Linux Required)
1. Download only the OS + bare-metal weights (~2.5 GiB total)
hf download alesha-pro/I-Deleted-Linux-ZeroApp-2B \
os/zero-app-os.elf \
os/zero-app-os.iso \
zappm/minicpm5-2b-zeroapp-v21-q8_0.zappm \
--local-dir ./zero-app-os
2. Boot in QEMU KVM (0 GB disk, 0% GPU)
Requires an x86-64 CPU with AVX2 + FMA + F16C (runs fine even on a 2014 Intel Xeon E5-2670 v3):
cd zero-app-os
qemu-system-x86_64 -enable-kvm -cpu host \
-machine pc,nvdimm=on \
-smp 16 \
-m 3G,slots=2,maxmem=8G \
-vga std \
-object memory-backend-file,id=zmodel,mem-path=zappm/minicpm5-2b-zeroapp-v21-q8_0.zappm,size=2684620800,readonly=on \
-device nvdimm,id=nv1,memdev=zmodel,unarmed=on \
-kernel os/zero-app-os.elf
Prefer booting through GRUB2 instead of -kernel? Swap -kernel os/zero-app-os.elf for -cdrom os/zero-app-os.iso.
3. Boot on Proxmox VE (Diskless VM, 0 GB Storage)
Copy zappm/minicpm5-2b-zeroapp-v21-q8_0.zappm and os/zero-app-os.elf to /var/lib/vz/zero-app-os/ on your Proxmox host, create a VM with 0 GB disk, cpu: host, cores: 16, memory: 3072, vga: std, bios: seabios, and add:
args: -machine type=pc+pve0,nvdimm=on -m 3G,slots=2,maxmem=8G -object memory-backend-file,id=zmodel,mem-path=/var/lib/vz/zero-app-os/minicpm5-2b-zeroapp-v21-q8_0.zappm,size=2684620800,readonly=on -device nvdimm,id=nv1,memdev=zmodel,unarmed=on -kernel /var/lib/vz/zero-app-os/zero-app-os.elf
4. What to type at zero-app>
- Zero-shot generated games (written in raw x86-64 asm at runtime):
flappy bird(20-color animated Flappy Bird,Spaceto flap)tetris(10-column Tetris, arrow keys)arkanoid(5 neon brick rows, arrow keys)pong(paddle vs AI)dino(runner,Spaceto jump)falling sand(interactive particle sandbox)
- Instant Ring-0 hardware self-healing demos (keys
1to5):1Ocean Waves (#PFnull deref -> surgicalPATCH-> 60 Hz recovery)2Emerald Mandelbrot (#PFframebuffer guard page -> 10-tokPATCH-> 27-color fractal)3Cyan Matrix Rain (#UDinvalid opcode -> surgicalPATCH)4Blue Mandelbrot (#DEdivide by zero -> surgicalPATCH-> 28-color fractal)5Canary Crossing (#PFguard page -> surgicalPATCH)
- Press
ESCat any time to kill the Ring-3 sandbox and return tozero-app>.
How It Was Trained (4x RTX 3090 + 16 Live QEMU KVM Oracles)
Pure SFT completely collapsed on held-out prompts (0/32 compiled) because the 2B model got trapped unrolling memory loops until hitting the token ceiling.
Running 120 steps of GRPO against 16 live bare-metal QEMU KVM oracles fixed it. Every candidate rollout had to assemble cleanly inside the Ring-0 micro-assembler, survive 60 frames in Ring 3 without faulting, draw multicolor animation, and respond to keyboard/mouse input. A final v2.1 arcade SFT pass on QEMU-verified programs pushed validation surgical PATCH@1 to 90.0% and token accuracy to 93.04%.
| Stage / Metric | Result |
|---|---|
Held-out 0-shot compile_ok (pure SFT -> GRPO step 90) |
0.0% -> 56.2% |
Validation closed-loop pass@6 (73 prompts) |
0.0% -> 24.7% |
Ring-0 surgical PATCH@1 on #DE divide-by-zero and #PF null deref |
100.0% |
Ring-0 surgical PATCH@1 on #UD invalid opcode and #PF FB guard |
87.5% |
Average surgical PATCH length |
11.8 tokens (~0.3s on bare-metal CPU) |
v2.1 validation PATCH@1 (20 held-out arcade faults) |
90.0% (18/20) |
v2.1 validation token accuracy |
93.04% (eval_loss = 0.2427) |
Pure Handwritten x86-64 NASM vs GCC -O3
Porting the final 3 C modules (zapp_smp.c, zapp_llm.c, zapp_ai.c) to pure handwritten NASM shrunk the binary by 37.6% (181 KB -> 115,160 bytes), matched C greedy output byte-for-byte, beat GCC -O3 on both prefill and decode, and added an honest bare-metal Longest-Common-Prefix (LCP) KV-Cache.
Benchmark (20T AMD EPYC 7642, Q8_0, 0% GPU) |
C+ASM (GCC -O3) |
100% Pure NASM | Delta |
|---|---|---|---|
| Kernel ELF size | 181 KB |
115,160 B (113 KB) |
-37.6% |
| Prefill throughput | 248.7 tok/s |
277.6 tok/s |
+11.6% |
| Decode throughput | 34.3 tok/s |
37.6 tok/s |
+9.6% |
| 2,354-token Prefix KV-Cache (cold -> warm) | 13,277 ms |
93 ms |
142.8x faster |
Side Effects & Disclaimers
- No filesystem can be corrupted because there is no disk.
- No bloatware because there are literally zero apps installed until you ask for one.
- Strict hardware sandbox: generated apps run in Ring 3 with
W^X/NXpage tables, framebuffer guard pages, and a bounded instruction budget. Still, please do not run your production database or banking app on a 2B model writing raw x86-64 assembly. - Prompting reality check: this is a specialist bare-metal x86-64 micro-assembler model, not a general-purpose chatbot. Stick to short arcade/graphics prompts (
flappy bird,tetris,arkanoid,pong,dino,falling sand) or the built-in#PF/#UDself-healing presets (1to5). Creative open-ended prompts may either invent something unexpectedly cool or spend 2,600 tokens trying to reinvent Pong.
License & Attribution
Released under Apache 2.0, inheriting the license of openbmb/MiniCPM5-2B.
- Downloads last month
- 1,250






Install (macOS, Linux)
# Start a local OpenAI-compatible server with a web UI: llama serve -hf alesha-pro/I-Deleted-Linux-ZeroApp-2B:Q8_0# Run inference directly in the terminal: llama cli -hf alesha-pro/I-Deleted-Linux-ZeroApp-2B:Q8_0