Browse workflows
AI models

Open Set Labs runs a ternary-compressed 27B Qwen model on 8 GB RAM CPUs without a GPU

Open Set Labs released an MIT-licensed CPU inference engine that runs a 5.95 GB ternary 27B Qwen model inside 8 GB of system RAM.

From the makerFreeOpen sourceLocal
Screenshot of the local openset-llm web chat page answering a user prompt.
Image: Open Set Labs

Open Set Labs open-sourced openset-llm under the MIT licence, a CPU inference engine built with custom vector kernels and speculative decoding for ternary-quantized weights (-1, 0, 1). Running a ~5.9 GB ternary-compressed 27B Qwen variant (such as PrismML's Bonsai 2.5 27B), its developers report 17 to 20 tokens per second on an ordinary x86 PC with 8 GB of RAM and no discrete GPU, though ternary compression trades off some accuracy on strict multi-step tool calling.

Why it mattersShows how 1.58-bit ternary engines can keep a capable 27B assistant running strictly on CPU while your GPU renders.

What is new

Open Set Labs published openset-llm as an open-source runtime built on PrismML's fork of llama.cpp. It currently serves Qwen3.8-27B in PrismML's ternary Bonsai-2-27B build, where weights use just three values (-1, 0, 1) to shrink the model file to 5.95 GB.

How it works

To run quickly without a GPU, the engine pairs custom AVX-512 kernels (for recent Intel Xeon and AMD Zen 4 or 5 processors) and 256-bit AVX2 kernels (for older Intel Core and AMD Zen 1 to 3 chips) with a fused attention kernel and speculative decoding, which drafts multiple tokens ahead before checking them.

For coding agents, an agent-loop resume feature stores up to 8 prompt prefix states on disk so follow-up steps continue from where prompts diverge. On an 8-vCPU, 8 GB Ice Lake cloud machine, Open Set Labs measured 17 to 20 tokens per second for chat and 55 seconds per 16k-context agent step, compared with 314 seconds on ik_llama.cpp. PrismML reports its ternary Bonsai-2-27B weights retain 98.2% of full-precision benchmark scores overall, with agentic tool calling at 74.92.

  • Defaults to a 4,096-token context on 8 GB machines to leave room for the system
  • Optional --kv8, --kv6, and --kv5 cache flags extend context up to 64k
  • Supports parallel requests via --multi and GGUF LoRA adapters

Price and availability

The engine is free under the MIT licence on GitHub, and the Apache-2.0 model weights download automatically from Hugging Face (about 7.3 GB including the draft head). It runs on x86-64 Linux or Windows WSL2 with 8 GB RAM and roughly 15 GB of free disk space, offering one-line shell install, Docker images, a local chat UI, and an OpenAI-compatible API.

More from this issue

All 81 stories
Make videos with these toolsOur workflows turn Blender, Unreal, ComfyUI and AI video into finished Shorts, explainers and reels. Claude sets them up for you.
Browse workflows