The 'alesha-pro/llm.asm' project is a collection of three minimalist, bare-metal, and fully assembly-written projects for language model inference, operating system, and training, designed to showcase the capabilities of x86-64 NASM assembly.
Source: Official README and linked documentation View on GitHub →This project is attracting attention due to its unique approach of using 100% pure x86-64 NASM assembly without any dependencies, showcasing the potential of low-level programming for performance-critical applications. It addresses the pain point of high-level language overhead and fills the gap in the market for minimalistic, bare-metal solutions. The project differs through its hand-written math kernels, GEMM/GEMV engine, tokenizer, thread pool, SMP kernel, optimizer, and Braille TUI.
Source: Official README and linked documentationA static Linux ELF running Qwen/Qwen3-0.6B with a built-in BPE tokenizer, supporting single-shot and multi-turn KV-cache REPL, and achieving high decode speeds with low latency.
Source: Official README and linked documentationA bootable bare-metal OS with no Linux or Windows dependencies, capable of running Qwen3-0.6B and supporting SMP and multi-turn chat interfaces.
Source: Official README and linked documentationA from-scratch FP32 Mini-GPT trainer and sampler with a register-blocked AVX2+FMA SGEMM, full analytical backward pass, and a live 80x24 Braille TUI for interactive training and inference.
Source: Official README and linked documentationThe project is structured into three distinct phases: inference, operating system, and training. Each phase is modular, with a clear separation of concerns. The code is organized into shared libraries for common functions and separate directories for each phase. The data flow is linear, with each phase building upon the outputs of the previous one.
Source: Official repository tree and dependency filesNoneThis project is suitable for developers interested in low-level programming, bare-metal OS development, and performance-critical applications. It can be used for educational purposes, as a reference for minimalist assembly programming, or as a starting point for developing custom, high-performance systems.
Source: Official README and linked documentationNot enough information.
Source: Official releasesThe 'alesha-pro/llm.asm' project is a remarkable demonstration of the capabilities of assembly language and low-level programming. It is an invaluable resource for developers looking to examine the intricacies of system architecture and performance optimization, particularly in the context of bare-metal development and language models.