alesha-pro/llm.asm
The repository puts Qwen3 inference, a bootable LLM operating system and a Mini-GPT trainer entirely in x86-64 assembly.
All three use hand-written math kernels and have no runtime library dependencies. The Linux inference executable is about 14.7 KB, with Qwen3-0.6B weights stored separately in a roughly 614 MiB file. The author reports 18–36% faster decoding than llama.cpp across 1–40 threads in the supplied CPU benchmark on an AMD EPYC 7642. The bare-metal version supports multi-turn chat without Linux or Windows, while the trainer includes backpropagation, AdamW and a live loss display.
GitHub · LLM repos' note
All three use hand-written math kernels and have no runtime library dependencies. The Linux inference executable is about 14.7 KB, with Qwen3-0.6B weights stored separately in a roughly 614 MiB file. The author reports 18–36% faster decoding than llama.cpp across 1–40 threads in the supplied CPU benchmark on an AMD EPYC 7642. The bare-metal version supports multi-turn chat without Linux or Windows, while the trainer includes backpropagation, AdamW and a live loss display.
GitHub · LLM repos' note
score 5