A GitHub user named stguller reported on November 28 that they reproduced llm.asm binaries byte-for-byte and booted its bare-metal system on an AMD Ryzen 7 7800X3D. Their direct comparison with llama.cpp used the project’s separate Linux assembly inference engine, not the bare-metal OS. Stguller’s test report describes both results.

Which part of llm.asm did the Ryzen tester reproduce?

Stguller reported building and running the bare-metal system on an AMD Ryzen 7 7800X3D with 32 GB of DDR5 memory, using Ubuntu 22.04.5 on WSL2. The report also describes a separate boot test: the time to an interactive prompt ranged from 89 to 281 milliseconds as the virtual CPU count changed.

That boot result is distinct from developer Alexey Fateev’s reported 74–94 milliseconds to reach 64-bit Long Mode. The two figures refer to different systems and endpoints.

What did the Ryzen performance comparison measure?

A black terminal interface for asm-llm OS with AMD EPYC and Qwen3-0.6B labels, a sample cache explanation, performance readouts, and an interactive prompt.

Stguller’s five-run, interleaved A/B comparison measured the Linux llm.asm inference engine against llama.cpp on the Ryzen system. The tester reported a mean decode ratio of 1.05× across the tested thread counts and described the WSL2 results as indicative because runs varied.

Decode measures generated tokens; prefill measures prompt processing. The reported rates show why the distinction matters: decode was close between the two engines, while llama.cpp processed prompts much faster in the four- and eight-thread tests.

ThreadsLinux llm.asm decode (tok/s)llama.cpp decode (tok/s)Decode ratioLinux llm.asm prefill (tok/s)llama.cpp prefill (tok/s)
134.5032.871.05×45.2121.7
432.3631.391.03×48.3310.0
832.8634.540.95×47.4428.1
1629.6024.391.21×40.5316.0

On November 29, stguller corrected an initial accuracy comparison. The NumPy reference used FP32 activations, while FAST_Q8=1 quantized activations, so the two paths were not equivalent. Stguller said the matching PyTorch comparison had not been run in that test. The issue records the correction and test details.

Where does the reported 54% speed gain come from?

Watch Alex Hitt’s English-language walkthrough of the llm.asm repository architecture

Fateev’s 54% figure refers to a separate four-thread comparison on an AMD EPYC 7642: he reported 78.89 tokens per second for the bare-metal llm.asm system versus 51.08 tok/s for CPU-only llama.cpp Q8_0. Fateev’s November 25 post gives those figures; the project’s Phase 2 README labels 78.89 tok/s as a peak and lists 78.17 tok/s as its four-vCPU table result.

Against the same 51.08 tok/s baseline, 78.17 tok/s is about 53.0% higher; the 78.89 tok/s peak is about 54.4% higher. The Ryzen A/B measures the Linux assembly engine on different hardware, so its results describe a separate comparison.

What does llm.asm’s bare-metal system contain?

llm.asm is an x86-64 assembly project with a Linux inference program, a bare-metal operating system and a Mini-GPT trainer. Bare-metal means the operating system runs without a conventional host OS such as Linux or Windows. Alex Hitt’s English-language walkthrough discusses the repository’s components and its bare-metal memory and hardware approach.

Fateev described the bare-metal system as running Qwen3-0.6B Q8_0 and identified its Multiboot binary as 24,252 bytes. The model weights are separate from that operating-system binary. The reported interface uses VGA, a PS/2 keyboard and serial communications.

A GitHub user named eabase requested a 120×40 default terminal, saying the existing terminal felt too small or narrow. The issue documents the request.

Keep the boot result, decode rate and prefill rate tied to the exact implementation and test that produced each.