Developer Thomas Haschka has released qe, a program that runs Alibaba’s open-weight AI model Qwen3.8-Flash-Next on a desktop processor with no graphics card. By his measurements on his own PC, it writes text twice as fast as llama.cpp, the open-source C/C++ inference engine.
Haschka announced qe on the Hacker News forum on December 5, 2026. He said the model itself, running on that PC, wrote the first version before he refined it with Anthropic’s Claude.
A C program for one model and one machine
The qe inference engine is MIT-licensed C code in 21 source files and links only three system libraries: libpthread, libm and libdl. The project’s README says it is not a fork of llama.cpp and does not wrap it.
Every part lives in the repository: the reader for GGUF model files, the image encoder, the web server and the kernels, the routines that do the math. It has no code for CUDA, Metal, Vulkan, ROCm, OpenCL or SYCL, the interfaces used to program graphics chips.
The engine does not link libggml, the ggml library llama.cpp is built on. A ref/ folder does keep some llama.cpp source files, fetched on November 11, 2026, to audit qe’s model math, but the build does not compile them.
The server speaks the same HTTP interface as OpenAI’s API, streams its replies and accepts images inside a request. The engine refuses any file other than a Qwen3.8-Flash-Next model or its vision projector, the add-on that reads images. It handles no video or audio.
Alibaba’s Qwen team posted Qwen3.8-Flash-Next on the model-sharing site Hugging Face in August 2026 under its own qwen-community-1.0 license. It is a mixture-of-experts model with 48 layers: a router sends each token, or word fragment, to 10 of 512 specialized blocks, called experts, plus one shared expert.
The model card lists 125 billion parameters, the values learned in training, of which 6 billion work on any given token. It adds a 51-billion-parameter n-gram embedding table and 4 billion parameters for multi-token prediction, and Hugging Face counts 180 billion in all.
The benchmark on the author’s desktop
Haschka’s PC has an Intel Core Ultra 7 265 processor and 128 GB of DDR5 memory. The chip has 20 cores: 8 fast performance cores and 12 slower efficient ones. Intel’s widest vector math instructions, AVX-512, are disabled on it, so qe uses the narrower AVX2 and AVX-VNNI.
Haschka ran qe with default settings on 19 of the 20 cores, one request at a time, and llama.cpp on the same model file and machine. The README says the two engines were never loaded together.
Reading a prompt in batches of 512 tokens, qe processed 87 to 93 tokens per second, against 51.33 for llama.cpp, or 1.7 to 1.8 times faster. Writing the answer, it produced 15.3 to 15.6 tokens per second against 7.65, or 2.0 times as fast. No independent rerun of these tests had been published by December 6, 2026.

With 128k tokens already in context, qe still read prompts at 82.1 tokens per second and generated 14.5, with no llama.cpp figure given at that length. Encoding a 640×480 photo took qe 1.0 second against 2.1 seconds for llama.cpp. On a 5760×2160 screenshot, the gap narrowed to 69 against 77 seconds.
At startup the engine copies all 87.25 GiB (binary gigabytes) of weights into RAM and locks them there. Load-time copies totaling 7.7 GiB come on top, so the README asks for about 95 GiB of free memory. For qe, that figure decides which machines can run a model of this size locally.
Where the speed comes from
Haschka credits most of the speed to fitting the code to this hardware rather than to clever generic kernels. By his account, the biggest gain in generation came from how work is shared between cores.
Each generation step, which produces one token, used to split its work into equal slices for 19 threads. The fast cores finished first and then waited for the slow ones at a barrier, a sync point every thread must reach.
By the README’s measurement, that wait took 32.5 milliseconds of an 89-millisecond step, about a third. The engine now hands out rows of work from a shared counter, so a fast core takes more rows. The wait fell to 2.1 milliseconds, and Haschka says the change took generation from 10.9 to 15.6 tokens per second.
The model file stores its output head, the final layer, in Q6_K, a 6-bit format this processor reads slowly. At load, the engine makes an 8-bit Q8_0 copy of that head, 644 MiB instead of 497.
It also converts the 496 dense matrices into 1.9 GiB of 4-bit IQ4_NL rows. The README says these copies make each step 1.19 times faster. A built-in test measures how much each adds to the prediction error.
Only a few experts work on each token, so one generation step reads 5.44 GiB of the 87.25 GiB of weights, according to qe’s MANUAL. The README describes that step as limited by memory bandwidth, the speed at which data comes out of RAM.
Haschka measured this machine’s ceiling for a generation step’s reads at 76 to 79 GB per second on 19 threads. He says qe’s main 8-bit kernel reaches 74 to 83 GB per second.
The MANUAL says the integrated graphics was set aside. An expert kernel on it ran three times slower than the CPU, and the cores dropped to about 2 GHz while it was busy.
How the engine was written
Haschka’s Hacker News post says: “How it started: I used Qwen3.8-Flash-Next, running locally, to write an inference engine for itself. It got far enough to beat llama.cpp on my box. Then I worked on it with Claude, measuring and refining, with one goal: the fastest inference engine for this particular machine.”
The project’s documentation does not say which parts came from Qwen, Claude or Haschka. The repository’s 11 public commits, from November 21 to December 2, 2026, all list Haschka as author, with no co-author line. It also holds AGENTS.md, a rule file for AI agents.
By about 00:25 UTC on December 6, the post had 27 points and 5 comments. Commenters praised the from-scratch build, raised porting it to ARM and CUDA hardware and suggested having another model review the code. One found Qwen 3.8 and 4.0 less reliable than Qwen 3.6 in his work.
Limits and open questions
The origin story rests on Haschka’s word. The first version, which he says got “far enough to beat llama.cpp,” has no published benchmark.
The llama.cpp build used for generation, b12110, was published on November 4, 2026, a month before the announcement. Build b12359, used for prompts and images, followed on November 13. The latest llama.cpp release, b13023, came out late on December 5, and no comparison against a December build has been published.
By default the two engines do not run the same arithmetic on the same file, because qe replaces the dense layers with its 4-bit IQ4_NL copies at load. The author’s README measures that cost in prediction error, and no third party has checked it.
The MANUAL calls qe’s forward pass, the computation behind each prediction, “a working model” that produces “coherent greedy text.” It measures prediction error in nats, where lower is better.
On the 7 positions where the author’s reference is confident, qe scores 0.442 nats to the reference’s 0.452. It picks the same top token on all 7.
The MANUAL also records two model-loader bugs found during development. It says that “no kernel number produced before those fixes was reading the bytes it claimed to.”
The README calls the numbers “not portable.” It requires Linux on a single NUMA node (one memory domain) and an x86-64 chip with AVX2 and AVX-VNNI. It also asks users to compile the engine on the machine that will run it.
The engine is not built to serve many users at once. Batching several requests adds 0.060 nats of prediction error and slows each client.
Speculative decoding, which guesses tokens ahead, ships turned off. The engine can draft them two ways, from the model’s multi-token prediction head or from an n-gram table, but the README says “at today’s step speed neither beats the plain loop.”
What it means
In its author’s measurements, qe runs a 180-billion-parameter model at about 15 tokens per second on a desktop processor with no graphics card. The mixture-of-experts design makes that workable: the whole model has to fit in RAM, but each token reads only a small share of it.
For people who run open models locally, that moves the hardware question toward memory size and speed. Other projects take other routes: SGLang 1.0 says DeepSeek-V4-Flash runs on a 16 GB graphics card with help from an SSD, and Axel Labs says it served a far larger DeepSeek model with one RTX 4090 and a large pool of system RAM.
Haschka’s engine drops the graphics card altogether. It follows llm.asm, a 24 KB kernel that runs Qwen3-0.6B without Linux or Windows, another one-person engine for a Qwen model, published on November 25.
The finding most likely to travel is the scheduling fix. On a chip that mixes fast and slow cores, qe’s earlier equal slices left a third of each step idle. The cure came from measuring where the time went.
Haschka’s claim that the model wrote its own engine draws attention, yet it has the least evidence: one paragraph on Hacker News. The speed figures come with test tools anyone with the same hardware can rerun.
Three things remain unproven: who wrote which code, whether a current llama.cpp build narrows the gap, and how qe behaves on any other processor. The test to watch for is a rerun by someone else, against a December llama.cpp build, on a second x86 desktop.
Sources
- haschka/qe: A CPU Only Inference Engine for Qwen3.8-flash-next (README), Thomas Haschka on GitHub, November 27, 2026
- qe MANUAL.md, Thomas Haschka on GitHub, November 27, 2026
- Qe: Qwen3.8-Flash-Next wrote its own inference engine, 2x llama.cpp, Hacker News, December 5, 2026
- Qwen3.8-Flash-Next, Qwen (Alibaba) on Hugging Face, August 24, 2026
- llama.cpp b12110, ggml-org on GitHub, November 4, 2026
- llama.cpp b12359, ggml-org on GitHub, November 13, 2026
- llama.cpp releases (latest: b13023), ggml-org on GitHub, December 5, 2026



