Skip to content

Releases

v0.2.0: shared-prompt reuse for --multi, quick speed check, 22 fixes

Choose a tag to compare

@0xaron 0xaron released this 26 Nov 10:38
8d824af

Shared-prompt reuse for --multi, a 3-minute speed check, Docker Compose, and 22 fixes to the installer, server scripts and benchmark harness.

Added

  • ./serve --multi N reuses a shared system prompt. A system prompt and tool list that the streams share is read once, kept on disk and loaded by any stream that needs it. On 8 vCPU / 8 GB, a step of all agents was 1.8–2.8× faster at 2, 4 and 6 streams, with replies identical to --no-resume and no extra memory (#17).
  • bench/quick.sh: a 3-minute speed check that prints a block you can paste into a "Measurement on my machine" issue (#7).
  • docker-compose.yml: docker compose up builds the image, keeps the model in a named volume and waits on /health (#8).
  • Unit tests for the installer, serve, start, the model graft and the benchmark harness, run by CI (#75).

Fixed

  • A saved prompt-state file that was cut short on disk could make the server abort. It is now detected and written again (#17).
  • patches/apply.sh carried on after a patch failed to apply; it now stops at the first failure (#36).
  • install.sh --bin-url: a broken prebuilt archive no longer replaces a working engine (#72).
  • install.sh: restarts a download when a mirror ignores resume requests (#74); checks for git before downloading weights (#58); smaller fixes (#60, #62).
  • scripts/graft_mtp.py: refuses an output path that is one of its inputs (#68) and keeps the model file's tensor alignment (#70).
  • ./serve reads numbers with leading zeros as decimal (#64); ./start honours --host and --no-webui (#66).
  • Benchmark harness: 11 fixes to error handling, process clean-up and resume (#38–#56). No published number changes.

Upgrade

Run git pull && ./install.sh in your clone.

The model file is unchanged. Saved prompt states from 0.1.0 are rebuilt once on first use.

Thanks

@Afloat16 for the 20 fixes in #36–#74, @revaldianggara for #6, @recranvvi5c for #8.

Full list: CHANGELOG.md

openset-llm 0.1.0

Choose a tag to compare

@0xaron 0xaron released this 25 Nov 17:28
2cca6ca

First public release of openset-llm: fast LLM inference on plain CPUs. No GPU, 8 GB of RAM.

What it does

Runs a 27B model (Qwen3.8-27B as PrismML's ternary Bonsai-2-27B, 5.95 GB) at 17–20 tokens per second on a CPU-only machine with 8 cores and 8 GB of RAM. On the same box, same model and same prompts, that is about 4× ik_llama.cpp and about 6× PrismML's own llama.cpp fork. Method, both benchmark runs and the scripts are in the README.

Install

git clone https://github.com/opensetlabs/openset-llm && cd openset-llm && ./start

The first run builds the engine, downloads the model (~7.3 GB) and opens a chat page. ./serve gives an OpenAI-compatible API at http://127.0.0.1:8080/v1.

Requirements: Linux x86-64 (WSL2 works), a CPU with AVX-512 VNNI + VBMI (Intel Ice Lake or newer Xeon, AMD Zen 4 or newer), 8 GB of RAM, ~15 GB of free disk during install, git, cmake and a C++ compiler.

In this release

  • New AVX-512 kernels for the ternary weights, for generating and for reading prompts
  • Speculative decoding with the model's own multi-token-prediction head
  • A fused attention kernel that keeps long contexts fast
  • Several requests in one pass (./serve --multi N)
  • Agent-loop resume: a resent long prompt with a changed ending continues from where the two diverge
  • ./serve --kv6 / --kv5 (experimental): smaller attention caches for longer context on 8 GB (speculation to 12k / 16k, plain decoding to 32k / 64k)
  • LoRA adapters through ./serve -- --lora <file> (#1, #2)
  • A chat page, a Dockerfile, and the benchmark harness behind every number (bench/)

Known limits

  • One model, Linux x86-64 only. CPUs without AVX-512 get a much slower fallback. No macOS build yet.
  • 17–20 tok/s is on our benchmark prompts; everyday chat questions run slower because speculation gains less on open-ended text.
  • It is a ternary model, not full-precision Qwen. The speed-ups cost nothing measurable on the small quality sets we ran; how ternary compares with full precision is PrismML's result.
  • Measured on cloud VMs (Intel Ice Lake, AMD Zen 4 / Zen 5). Numbers from your own hardware are very welcome: open an issue.

Full list: CHANGELOG.md. Built on PrismML's llama.cpp fork; credits in NOTICE.