AI News
All projects
Tool

openset-llm: a CPU-only inference engine that runs a 27B model in 8 GB of RAM

The engine runs a 27B Qwen3.8 model on ordinary x86 CPUs with 8 GB of RAM and serves it through an OpenAI-compatible API.

openset-llm by opensetlabs · 2,265 GitHub stars when we found it · added

openset-llm runs Qwen3.8-27B, in the form of PrismML's ternary Bonsai-2-27B (5.95 GB), on x86 CPUs and serves it through an OpenAI-compatible API. According to the README, the fastest speeds require AVX-512, which means Intel Xeon Ice Lake or newer, or AMD Zen 4 or newer. CPUs with only AVX2 use the project's own 256-bit kernels and run more slowly. The author reports 17 to 20 tokens per second for a single user on an 8 vCPU, 8 GB Ice Lake cloud VM. That is about 4.2 to 4.3 times the speed of ik_llama.cpp and 5.9 to 6.1 times the speed of PrismML's llama.cpp fork on the same machine. The author says the speed-ups leave GSM8K and coding scores statistically unchanged.

The project is a patch set on PrismML's llama.cpp fork, applied by install.sh. It adds new kernels for the ternary weights, speculative decoding that uses the model's own multi-token-prediction head, a fused attention kernel, and support for several requests in one pass through the --multi flag. Installation takes one curl command. The model download is about 7.3 GB, and the installer refuses to run with less than 8 GB of RAM. The README shows an MIT licence badge.

The README lists its own limits. The chat page is labelled experimental. Speculative decoding is off by default without AVX-512. install.sh does not support Apple Silicon, and ARM64 builds are untested. LoRA adapter support is also experimental, and on 8 GB it requires --no-spec. The longer-context flags were measured only on Ice Lake machines.

In the author's words

openset-llm is an inference engine for ordinary CPUs; more models and more hardware will follow.

From the README or the author's post. We checked that the sentence is there, not that it is true.

When to reach for it

A developer without a GPU, with code already written against the OpenAI client, can point that code at the local server and run a large model on a CPU. The README also gives a worked example of fitting a 27B model into 8 GB by rewriting the CPU kernels and reusing the model's own draft head.

Works with

OpenAI APIllama.cpp

See it

AI wrote this entry from the project's own README or its author's post. What the project does, and that AI built it where the entry says so, are the author's statements, quoted here. Nobody at IKANGAI ran or tested it. How this list is made