← all repositories
opensetlabs/openset-llm

A 27B model at 20 tok/s on 8 GB of RAM and no GPU

openset-llm rewrites the kernels under a ternary Qwen model so ordinary AVX-512 CPUs run it comfortably, with an OpenAI-compatible API on top.

★908 stars C++ Inference · Serving
openset-llm
Too new to rank. Velocity needs a few days of history.
not enough history yet
star history

What it does: openset-llm is a C++ inference engine that runs Qwen3.8-27B, as PrismML’s ternary Bonsai-2-27B GGUF (5.95 GB), entirely on x86 CPUs with AVX-512. It serves an OpenAI-compatible API, so existing clients and agents work unchanged, and it ships with an experimental chat page. The trick is a set of new matmul, attention and decoding kernels plus runtime patches layered on PrismML’s llama.cpp fork.

The interesting bit: The speedups stack. Speculative decoding roughly doubles decode speed (19.67 vs 10.01 tok/s median on the reference box), and an attention kernel plus agent-loop resume keep long-context work fast: on a recorded 11-step coding-agent session at 16k context it re-reads 19,101 prompt tokens instead of 96,386, cutting a step from 314 s (ik_llama.cpp) to 55 s.

Key highlights

  • 17–20 tok/s decode for one user on an 8 vCPU / 8 GB Ice Lake Xeon: 4.2–4.3× ik_llama.cpp and 5.9–6.1× PrismML’s fork, each in its fastest setting on the same CPU
  • Fits a 27B model in 8 GB where a standard 4-bit build is a 16–19 GB file; mainline llama.cpp’s 7.63 GB packing of the same model pages from disk on the same machine
  • No measurable quality loss: GSM8K 39/40, coding pass@1 83.1 %, WikiText-2 perplexity unchanged within the estimate’s own uncertainty
  • Long-context decode holds up: 13.4 tok/s at 16k and 11.3 at 32k on Zen 4
  • --multi mode serves 4 concurrent requests at 2.3× total tokens/s on short prompts

Caveats

  • The fast path needs AVX-512: Intel Xeon Ice Lake or newer, or AMD Zen 4 or newer. Intel Core 12th gen and later lack it and fall back to a much slower path
  • One model only for now (plus a 1-bit 26B alternative), Linux or WSL2, and it builds from source
  • The chat page is experimental and the first reply takes several seconds to start

Verdict: If you have an AVX-512 box and want a genuinely large model running locally without a GPU, this is worth a close look. If your CPU lacks AVX-512 or you need model variety, wait for the promised follow-ups.

Frequently asked

What is opensetlabs/openset-llm?
openset-llm rewrites the kernels under a ternary Qwen model so ordinary AVX-512 CPUs run it comfortably, with an OpenAI-compatible API on top.
Is openset-llm open source?
Yes — opensetlabs/openset-llm is open source, released under the MIT license.
What language is openset-llm written in?
opensetlabs/openset-llm is primarily written in C++.
How popular is openset-llm?
opensetlabs/openset-llm has 908 stars on GitHub.
Where can I find openset-llm?
opensetlabs/openset-llm is on GitHub at https://github.com/opensetlabs/openset-llm.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.