machine-code-llm-battle

alesha-pro

A benchmark comparing Qwen3-0.6B inference engines written directly in raw x86-64 machine code by Gemini 4 Neon and Claude Opus 5.5.

PythonCreated

What is alesha-pro/machine-code-llm-battle?

machine-code-llm-battle is a Python-harnessed benchmark comparing Qwen3-0.6B (Q8_0) inference engines hand-written directly in raw x86-64 machine code (engine.hex, with no compiler, assembler, or linker) by Gemini 4 Neon and Claude Opus 5.5.

Both model-authored raw binary engines run on Linux CPU and are benchmarked against llama.cpp.

LLM researchers and low-level systems programmers curious about frontier models generating raw machine code can inspect the hex engines and benchmark scripts.

Before you startThe README says

Runs on
Linux x86-64 CPUs with AVX2, FMA and F16C; tested on AMD EPYC 7642
Needs
Qwen3-0.6B Q8_0 weights exported with scripts/export_weights.py from alesha-pro/llm.asm; Python 3 for verification
How you get it
Build with scripts/build_hex.sh using only sed, tr and xxd; no compiler needed
Not yet
Thread pinning is tuned for the EPYC 7642; other CPUs still run and match, but speeds differ

Facts from GitHub (updated Dec 1, 2026) and the project's README. License summaries are simplified: check the license file. RepoRanking reviews listings for relevance and spam, and doesn't test or vouch for code.