HackerByte

Bare Metal Qwen

Running the Qwen large language model independently on bare metal hardware.

AI-generated summary

This project presents three LLM implementations entirely in x86-64 NASM assembly, without any external C or libc dependencies. It includes a 14 KB Qwen3-0.6B inference engine, a 24 KB bare-metal OS capable of running the LLM, and a 32 KB from-scratch Mini-GPT trainer with a Braille TUI. All projects are designed for maximum performance and minimal size.

Hacker News submitter: miohtama

Submitted to Hacker News:

Original source Hacker News discussion