llm.asm: Three x86-64 Projects in Pure NASM Assembly

GitHub project GitHub · Project presentation, not our own hands-on test.

This repository brings together three x86-64 projects written in pure NASM assembly: Qwen3-0.6B inference, a bootable bare-metal operating system, and a mini-GPT trainer with a live Braille TUI. Their stated sizes are 12 KB, 22 KB, and 32 KB. For developers exploring machine learning and low-level systems programming, the stated absence of C, libc, and dependencies is especially relevant.

Highlights

  • The repository includes inference for Qwen3-0.6B, listed at 12 KB.
  • It includes a bootable bare-metal operating system, listed at 22 KB.
  • It includes a from-scratch mini-GPT trainer with a live Braille TUI (32 KB); all projects are implemented in pure x86-64 NASM assembly without C, libc, or dependencies.

The three examples combine a small inference project with bootable bare-metal code and a trainer with a Braille interface, while retaining the stated pure-assembly approach. The original source is the place to follow the project’s structure and further technical details directly.

🇬🇧 https://github.com/alesha-pro/llm.asm

Leave a Comment

The weekly brief: selected developments, projects and videos