24KB assembly kernel runs Qwen3-0.6B with token-exact parity from 1 to 32 vCPUs

petrusenko_max · x · 2026-11-26

The GitHub project alesha-pro/llm.asm runs Qwen3-0.6B inference inside a 24KB assembly kernel, achieving token-exact output parity from 1 to 32 vCPUs. The repo also ships a 12KB bare-metal bootable inference implementation, a 22KB bare-metal OS, and a from-scratch Mini-GPT trainer with a live Braille TUI (32KB), with about 1k stars.

If the cross-core determinism holds, inference autoscaling could be validated by testing bit-identical output across core counts, instead of watching outputs drift as the scheduler adds workers.

Original post →

More from Infra

Infra channel →