This page is also available in

Home › Vibe Coding / AI Programming › llm.asm

Model

llm.asm

alesha-pro/llm.asm

Vibe Coding / AI Programming Source: GitHubScore 0.7617 stars/day (5,698 total)· First listed Nov 27, 2026

Visit the llm.asm website / project page →

Verdict must be set up on a computer first and cannot run on phones;implements Qwen3-0;6B inference in pure x86-64 NASM assembly

What is llm.asm

An LLM project implemented entirely in x86-64 NASM assembly language, including Qwen3-0.6B inference (12KB), a bare-metal bootable OS (22KB) and a from-scratch Mini-GPT trainer (32KB), all with zero C, zero libc and zero dependencies.

Key features

  • Implements Qwen3-0.6B inference in pure x86-64 NASM assembly, supporting Q8_0 quantisation, BPE tokenisation and KV-cache conversation
  • Provides a bare-metal bootable OS that runs Qwen3-0.6B multi-turn chat directly on hardware without an operating system
  • Includes a from-scratch Mini-GPT trainer supporting FP32 forward pass, parsed backpropagation and AdamW optimisation
  • Hand-written all mathematical kernels (expf, RMSNorm, RoPE, Softmax) and AVX2+FMA GEMM engine
  • Built-in real-time Unicode Braille TUI interface supporting multi-threading and SMP

Who it is for

For low-level developers, reverse engineers and geek enthusiasts interested in extremely small binary sizes and pure assembly LLM implementations.

Who it is NOT for

For regular AI application developers who need rapid development, cross-platform support or advanced frameworks.

How to get started

  1. Visit https://github.com/alesha-pro/llm.asm
  2. Clone the repository and install NASM and ld
  3. Enter the corresponding project directory (e.g. 01-qwen3-inference) and run make to build
  4. Run the generated executable to start inference, training or launch a bare-metal OS

Pricing:Not published

Compiled from public descriptions on the tool's official website / README / launch page. Pricing and user numbers have not been verified; please check the official website. Some sections were drafted with AI assistance. Written in Chinese and English.

Similar alternatives (Vibe Coding / AI Programming)

Get a “Featured on AI Hot List” badge · Submit a tool

← Back to “Vibe Coding / AI Programming” · Full hot list · Use-case lists