Skip to main content
ToolPotion
AI Advisor
Submit a Tool (Free)

llm.asm

llm.asm is an open-source GitHub project featuring Qwen3-0.6B inference, a bare-metal bootable OS, and a Mini-GPT trainer. Developed in 100% pure x86-64 NASM assembly, it boasts zero C, zero libc, and zero dependencies. This project offers compact and efficient implementations for various AI and system-level tasks, making it ideal for low-level development and research.

View Repository
Share
View Repository
Share

llm.asm is a unique open-source project hosted on GitHub, distinguished by its implementation entirely in 100% pure x86-64 NASM assembly. This repository provides several distinct components, each showcasing highly optimized and dependency-free code for specific functionalities.

Read More

The project includes a Qwen3-0.6B inference engine, which is remarkably compact at just 12 KB. This component demonstrates efficient large language model inference capabilities within an extremely small footprint, making it suitable for environments with severe memory or resource constraints. Its bare-metal nature ensures maximum performance and control over hardware.

Another core offering is a bare-metal bootable operating system, weighing in at only 22 KB. This OS provides a foundational environment built from scratch, without relying on C, libc, or any external dependencies. It serves as an excellent resource for understanding operating system fundamentals and for developing highly specialized, minimal systems.

Furthermore, llm.asm features a from-scratch Mini-GPT trainer, complete with a live Braille TUI (Text User Interface), all within a 32 KB package. This trainer allows for experimentation with GPT-like models at a fundamental level, offering insights into model training processes and user interaction through a unique Braille interface. The compact size and pure assembly implementation highlight the potential for highly efficient AI development.

The project emphasizes a "zero dependencies" philosophy, meaning it avoids common libraries and frameworks to achieve ultimate control and minimal overhead. This approach is invaluable for embedded systems, security-critical applications, or educational purposes where a deep understanding of every code layer is paramount. The repository is actively maintained, with recent commits indicating ongoing development and feature enhancements, such as the addition of FAST_Q8=1 INT8xINT8 AVX2+F16C kernel and .asmbin v2 FP16 scales.

  • CategoryMachine Learning Platforms
  • Pricing ModelOpen source
  • DeploymentSelf-hosted
  • PlatformsLinux

  • Qwen3-0.6B inference engine (12 KB)

  • Bare-metal bootable OS (22 KB)

  • From-scratch Mini-GPT trainer (32 KB)

  • Live Braille TUI for Mini-GPT trainer

  • 100% pure x86-64 NASM assembly implementation

  • Zero C dependencies

  • Zero libc dependencies

  • Zero external dependencies

  • Compact code footprint for all components

  • Includes FAST_Q8=1 INT8xINT8 AVX2+F16C kernel

  • .asmbin v2 FP16 scales support

  • Open-source project on GitHub

  • Actively maintained with recent commits

  1. Clone the repository: Use `git clone https://github.com/alesha-pro/llm.asm.git` to get the project files.

  2. Review the Makefile: Examine the `Makefile` to understand the build process and available targets.

  3. Build components: Use `make` commands to compile individual components like the Qwen3 inference or bare-metal OS.

  4. Run inference: Execute the compiled Qwen3 inference binary to perform language model predictions.

  5. Boot the OS: Create a bootable medium and launch the bare-metal OS to explore its functionalities.

  6. Train Mini-GPT: Run the Mini-GPT trainer to experiment with model training and its Braille TUI.

  • Low-Level AI Inference
  • Bare-Metal OS Development
  • Mini-GPT Model Training
  • Assembly Language Education
  • Embedded Systems AI
  • Resource-Constrained Computing

llm.asm Reviews

Loading...

Popular AI Tools Like llm.asm

bitsandbytes

AI GitHub Repos

Bitsandbytes is a GitHub project focused on making large language models more accessible through k-bit quantization for PyTorch. It aims to optimize model performance and reduce…

Machine Learning Platforms
View Tool

AI GitHub Repos

GitHub project focused on making large language models more accessible through k-bit quantization for PyTorch. It aims to optimize model performance and reduce…Bitsandbytes is a GitHub project focused on making large language models more accessible through k-bit quantization for PyTorch. It aims to optimize model performance and reduce…

Machine Learning Platforms
See the Top 250 AI GitHub Repos

AirLLM

AI GitHub Repos

AirLLM is a GitHub project that enables 70 billion parameter inference using a single 4GB GPU. It is designed to optimize large language model performance on limited hardware,…

MLOps & Model Deployment

Ranked #79 in Machine Learning & Data Science

View Tool

AI GitHub Repos

GitHub project that enables 70 billion parameter inference using a single 4GB GPU. It is designed to optimize large language model performance on limited hardware,…AirLLM is a GitHub project that enables 70 billion parameter inference using a single 4GB GPU. It is designed to optimize large language model performance on limited hardware,…

MLOps & Model Deployment
Ranked #79 in Machine Learning & Data Science

BitNet

AI GitHub Repos

BitNet is an official inference framework for 1-bit large language models (LLMs) developed by Microsoft. It enables efficient processing and deployment of LLMs, optimizing…

AI Models & LLMs
View Tool

AI GitHub Repos

Official inference framework for 1-bit large language models (LLMs) developed by Microsoft. It enables efficient processing and deployment of LLMs, optimizing…BitNet is an official inference framework for 1-bit large language models (LLMs) developed by Microsoft. It enables efficient processing and deployment of LLMs, optimizing…

AI Models & LLMs
See the Top 250 AI GitHub Repos

Shimmy

AI GitHub Repos

Shimmy is a pure-Rust WebGPU inference engine that is OpenAI-API compatible and GGUF native. It runs on any GPU without the need for Python or llama.cpp, offering a single binary…

Machine Learning Platforms
View Tool

AI GitHub Repos

Pure-Rust WebGPU inference engine that is OpenAI-API compatible and GGUF native. It runs on any GPU without the need for Python or llama.cpp, offering a single binary…Shimmy is a pure-Rust WebGPU inference engine that is OpenAI-API compatible and GGUF native. It runs on any GPU without the need for Python or llama.cpp, offering a single binary…

Machine Learning Platforms
See the Top 250 AI GitHub Repos

openset-llm

AI GitHub Repos

OpenSet LLM enables fast local inference for large language models directly on CPUs, eliminating the need for a GPU. It requires only 8 GB of RAM and provides an OpenAI-compatible…

MLOps & Model Deployment
View Tool

AI GitHub Repos

OpenSet LLM enables fast local inference for large language models directly on CPUs, eliminating the need for a GPU. It requires only 8 GB of RAM and provides an OpenAI-compatible…

MLOps & Model Deployment
See the Top 250 AI GitHub Repos

TokenSpeed

AI GitHub Repos

TokenSpeed is a high-performance LLM inference engine designed to deliver rapid processing speeds. It is optimized for large language models, providing efficient and scalable…

Machine Learning & Data Science

Ranked #193 in AI GitHub Repos

View Tool

AI GitHub Repos

High-performance LLM inference engine designed to deliver rapid processing speeds. It is optimized for large language models, providing efficient and scalable…TokenSpeed is a high-performance LLM inference engine designed to deliver rapid processing speeds. It is optimized for large language models, providing efficient and scalable…

Machine Learning & Data Science
Ranked #193 in AI GitHub Repos

kimi-k3-in-c

AI GitHub Repos

Kimi K3 in C is a 2.78-trillion-parameter model capable of running inference on a single CPU with just 8.24 GB of RAM. It is implemented in portable C99, requiring no BLAS,…

AI Models & LLMs
View Tool

AI GitHub Repos

Kimi K3 in C is a 2.78-trillion-parameter model capable of running inference on a single CPU with just 8.24 GB of RAM. It is implemented in portable C99, requiring no BLAS,…

AI Models & LLMs
See the Top 250 AI GitHub Repos

vLLM

AI GitHub Repos

vllm-project/vllm is a high-throughput and memory-efficient inference and serving engine designed for large language models (LLMs). It optimizes performance while minimizing…

MLOps & Model Deployment

Ranked #24 in AI GitHub Repos

View Tool

AI GitHub Repos

High-throughput and memory-efficient inference and serving engine designed for large language models (LLMs). It optimizes performance while minimizing…vllm-project/vllm is a high-throughput and memory-efficient inference and serving engine designed for large language models (LLMs). It optimizes performance while minimizing…

FeaturedMLOps & Model Deployment
Ranked #24 in AI GitHub Repos
1 of 8