{"name":"llm.asm: Run Qwen4 on a Bare-Metal UEFI AI OS","description":"llm.asm is a bare-metal x86-64 NASM AI operating system and GPU inference engine built around Qwen4-35B-A3B and hand-assembled NVIDIA Ampere SASS. It boots through UEFI on an RTX 3090 without Linux, CUDA, or NVIDIA drivers, and supports live Ring-0 app development.","github":"https://github.com/alesha-pro/llm.asm","url":"https://osrepos.com/repo/alesha-pro-llm.asm","source":"osrepos.com","sourceDescription":"This repository profile is provided by osrepos.com, an open source repository discovery platform.","repositoryProfile":"https://osrepos.com/repo/alesha-pro-llm.asm","generatedFor":"open source discovery and AI-assisted research","markdown":"https://osrepos.com/repo/alesha-pro-llm.asm.md","json":"https://osrepos.com/repo/alesha-pro-llm.asm.json","topics":["assembly","llm","machine-learning","bare-metal","uefi-operating-system","gpu-inference","nvidia-sass"],"keywords":["assembly","llm","machine-learning","bare-metal","uefi-operating-system","gpu-inference","nvidia-sass"],"stars":null,"summary":"llm.asm is a bare-metal x86-64 NASM AI operating system and GPU inference engine built around Qwen4-35B-A3B and hand-assembled NVIDIA Ampere SASS. It boots through UEFI on an RTX 3090 without Linux, CUDA, or NVIDIA drivers, and supports live Ring-0 app development.","content":"## Overview\n\nllm.asm is a bare-metal AI operating system and GPU inference engine built around Qwen4-35B-A3B and hand-assembled NVIDIA Ampere SASS. Written in x86-64 NASM, it boots directly through UEFI on an RTX 3090 and aims to run local inference without Linux, CUDA, NVIDIA drivers, or libc.\n\nAlongside inference, the project provides a Ring-0 workspace where the model can create and hot-reload small native apps. The repository also includes Linux GPU engines and separate CPU inference, bare-metal OS, training, hypervisor, and eBPF projects, but its defining focus is the UEFI GPU system.\n\n## Key Features\n\n- Boots as a UEFI Ring-0 system and initializes NVIDIA Ampere GPU hardware without a Linux host or CUDA runtime.\n- Runs Qwen4-35B-A3B with a 64K context on a single RTX 3090, according to the project’s reported measurements.\n- Uses custom hand-assembled SM86 SASS kernels for inference workloads including MoE, attention, and tensor-core prefill.\n- Includes a small C-subset compiler and RAM-based app filesystem for compiling and hot-reloading sandboxed apps.\n- Provides a framebuffer interface with chat, GPU telemetry, an app launcher, and a live app pane.\n- Offers a pure-assembly Intel e1000/e1000e network stack with an OpenAI-compatible HTTP/SSE API.\n- Includes other low-level AI projects, including a pure-assembly CPU inference engine and a from-scratch Mini-GPT trainer.\n\n## Use Cases\n\n- GPU and OS developers exploring UEFI boot, NVIDIA Ampere initialization, or GPU inference without a conventional driver stack.\n- Researchers and performance engineers studying custom SASS kernels and low-level inference execution on an RTX 3090.\n- Developers experimenting with AI-assisted native app creation in a constrained Ring-0 environment.\n- Assembly enthusiasts looking for examples spanning inference, operating systems, training, hypervisors, and eBPF.\n\n## Our Take\n\nThis is an unusually ambitious, rapidly changing low-level project, best treated as an experimental system rather than a turnkey alternative to a conventional inference stack.\n\n**Good fit if:**\n- You have compatible UEFI hardware and an RTX 3090, and want to investigate bare-metal GPU inference.\n- You are comfortable building from NASM and working with GPU firmware, PCIe, and low-level system code.\n- You want to study a broad assembly-focused repository with active contributions and reported verification results.\n\n**Look elsewhere if:**\n- You need an inference service that runs on ordinary Linux or across a broad range of GPUs without hardware-specific setup.\n- Your project depends on stable, versioned releases. The repository is new and fast-moving, with no release in the measured period.\n- You need a conventional supported application stack rather than a low-level experimental OS and engine.\n\n## Project Health\n\n| Signal | Value |\n|---|---|\n| Status | **New**: less than six months old and changing fast |\n| Last commit | 2026-12-05 (today) |\n| Commits, last 90 days | 100+ |\n| Releases, last 12 months | 0 |\n| Contributors | 29 (top contributor: 58% of commits) |\n| Issues closed, last 90 days | 24+ (typically closed in 1 day) |\n| Pull requests merged, last 90 days | 66 (typically merged in 1 day) |\n| Project age | 10 days |\n\nChecked on 2026-12-05 with the GitHub API.\n\n## Project Facts\n\n- Language: Assembly\n- License: MIT\n- Stars: 6k\n- Forks: 880\n- Topics: assembly, avx2, bare-metal, gpu, llm, machine-learning, nasm, nvidia\n- Archived: no\n\n## What You Need\n\nDetected in the repository:\n\n- Assembly (main language on GitHub)\n- A test suite and automated checks on GitHub Actions\n\n## Getting Started\n\nInstall the host build tools and build a UEFI ISO with a model file:\n\n```bash\nsudo apt-get install nasm binutils dosfstools mtools xorriso python3\ngit clone https://github.com/alesha-pro/llm.asm.git && cd llm.asm\nmake -C 00-engine/baremetal iso GGUF=/path/to/model.gguf TARGET=nvidia-ga10x ISO_OUT=llm-asm.iso\n```\n\nSee the [README](https://github.com/alesha-pro/llm.asm#quick-start) for model-specific build instructions, hardware setup, and other repository modules.\n\n## License in Plain Words\n\n**MIT** (permissive).\n\n- Commercial use: yes\n- Modify and redistribute: yes\n- You must keep: the copyright and license notice\n- Share your changes: no\n\nA summary, not legal advice: the LICENSE file is what applies.\n\n## Alternatives\n\n- [TensorRT-LLM](https://osrepos.com/repo/nvidia-tensorrt-llm): TensorRT-LLM runs optimized inference on NVIDIA GPUs through software frameworks, while llm.asm targets bare-metal execution with hand-assembled SASS.\n- [llama-cpp-python](https://osrepos.com/repo/abetlen-llama-cpp-python): llama-cpp-python runs GGUF models through llama.cpp with Python APIs and supported hardware backends, rather than booting a bare-metal inference OS.\n\n| Project | Language | License | Stars | Status |\n|---|---|---|---|---|\n| **llm.asm** | Assembly | MIT | 6k | New |\n| [TensorRT-LLM](https://osrepos.com/repo/nvidia-tensorrt-llm) | Python | – | 15.2k | Active |\n| [llama-cpp-python](https://osrepos.com/repo/abetlen-llama-cpp-python) | Python | MIT | 10.6k | Active |\n\n## Considerations\n\n- The flagship UEFI path is hardware-specific: it targets NVIDIA Ampere, with the README’s primary setup centered on a single RTX 3090. The project also documents Linux static GPU builds and other modules, but these are distinct from the bare-metal path.\n- Building requires host tools and model files; booting requires suitable UEFI and GPU setup. The README describes using an attached Intel e1000/e1000e NIC for its network API.\n- The project is marked new and changing fast. It has recent commit and contribution activity, but no releases in the measured period, so interfaces and build steps may evolve.\n- The measured contributor base is not concentrated around one person, which reduces single-maintainer dependence, but does not replace the need to assess compatibility and verification for your own hardware.\n- The repository is MIT-licensed. Review the license and any model-weight licensing separately before redistribution or deployment.","metrics":{"detailViews":0,"githubClicks":0},"dates":{"published":null,"modified":"2026-12-05T15:20:23.000Z"}}