Fateev Claims 54% Gain with His AI Core

Developer Alexey Fateev presented a dedicated inference kernel on X on November 25, 2026, claiming a generation speed up to 54% faster than that of llama.cpp under Linux. However, his own Linux engine already accounts for most of the gap, while query processing lags behind in documented measurements.
Query Processing is Slower
To prepare a response, llama.cpp absorbs tokens from the request in batches; llm.asm receives them individually. On a prompt of 34 tokens, Fateev's documentation indicates a pre-filling throughput ranging from 26.7 to 160.8 tokens per second, compared to 56 to 1,113 for llama.cpp. This step precedes the generation on which the claimed gain is based.
SnackOnAI extrapolated these measurements to an input of 2,000 tokens followed by a response of 200 tokens. Their estimate gives about 3.7 seconds for llama.cpp, compared to around 14 seconds for llm.asm. This is a projection, not a timing of this request.
Generation generally depends on memory: each new token requires a complete traversal of the weights. Hardware Busters emphasizes that for larger models, this dependency further limits the benefits of optimized instructions. The peak of 134.94 tokens per second for the dedicated kernel corresponds to an estimated throughput of about 87 GB/s, which is approximately 42% of the theoretical 204.8 GB/s claimed by AMD. However, this ceiling assumes eight equipped memory channels, a configuration that Fateev does not detail.
Kernel Measurements Go Through Linux
The main test bench is based on an AMD EPYC 7642: a 2019 Rome processor with a Zen 2 architecture, featuring 48 cores. Fateev compares llama.cpp limited to the processor, his 14.7 KB engine running as a Linux program, and the bootable kernel. At four threads, his results yield 51.08, 69.24, and 78.89 tokens per second, respectively. However, the comparison retains the best run of the kernel against an average of three runs of llama.cpp.
Thus, according to these results, the Linux engine already provides a 35.6% advantage over llama.cpp. About two-thirds of the gap are therefore present without removing the operating system; the dedicated kernel adds between 7% and 14% depending on the number of threads. Fateev explains most of this additional gain by a memory organization in 2 MiB pages. Linux also offers this size with transparent huge pages or hugetlbfs, but llama.cpp has not been evaluated in this configuration.
Another distinction: on the EPYC, the dedicated kernel runs in QEMU/KVM, and KVM is part of the Linux kernel. A second test is based on Proxmox VE, also Linux-based, with a 2014 Xeon. The published elements do not report any measurements on a machine without virtualization. The 54% thus contrasts a guest hosted above Linux with llama.cpp running directly under Linux.
The AI brief the pros read every evening
The 7 best AI stories, the essentials in 5 min. Free.
Included when you join: our pick of the best AI guides & comparisons.
Choose your rhythm
Free · No spam · Unsubscribe in 1 click
A Kernel Limited to One Model
Distributed under the MIT license in the llm.asm repository, the system is entirely developed in x86-64 assembly with NASM, without C, Rust, or libc. Its Multiboot executable has increased from 24,252 bytes at launch to 25,404 bytes in its current version. The old weight file of 649 MiB represented about 28,000 times the size of the kernel. Fateev's announcement presented this achievement as a removal of Linux.
This scope excludes storage, networking, and GPUs: GRUB places the weights in RAM before launching the kernel. The processor must provide AVX2, FMA, and F16C, while a Python script converts the checkpoint. Only Alibaba's Qwen3-0.6B is supported, the smallest dense member of the Qwen3 family released in April 2025.
Fateev announces a boot time between 74 and 94 milliseconds in long 64-bit mode. The system initializes all cores, then allows for multi-turn conversation with a VGA console, a PS/2 keyboard, and a serial link. It includes a BPE tokenizer, an INT8 matrix engine, and a multicore boot device, all implemented in assembly.
The documentation indicates exact output regardless of the number of threads, consistent with the PyTorch reference for the 64 tokens of the greedy selection test; it also outlines the project's limitations. The NightRun team, another project that starts a model from UEFI firmware, avoids the term "bare metal" for precision.
Two Engines Generated for Linux
The day after his announcement, Fateev presented another experiment: Gemini 4 Neon and Claude Opus 5.5 each wrote a Linux engine for the same model. They produced hexadecimal directly, without assembly or compiler.
Fateev reports a peak of 188.93 tokens per second for Gemini at 32 threads, compared to 103.82 for llama.cpp, a base identical to that of his llm.asm tables. Pending confirmation, this Linux engine would exceed the dedicated kernel's 133.75 tokens per second by about 41% at the same number of threads. Claude's engine would reach 125.13 tokens per second, close to the result of Fateev's Linux engine.
A Hypervisor Tests Fixes Under Linux
Two days after the initial announcement, Fateev released a 74 KB hypervisor that places a 2B model under Linux at Ring -1. Its documentation describes the pairing of MiniCPM5-2B with an unmodified Linux 5.15 kernel. When an error occurs, the device suspends the guest system, requests a machine code fix from the model, validates it, copies it into memory, and then resumes execution.
The developer claims 119 successes out of 122 excluded scenarios, including when the expected decision is to make no correction. These errors are deliberately triggered by his test module. In the demonstration, the repair substitutes NOP instructions for the failing instruction: the machine continues, but the intended write is not completed.
Brief AI — AI news in French
The essentials of artificial intelligence news, decoded and explained every day.