Skip to content

Releases

v0.3.6

Choose a tag to compare

@0xaron 0xaron released this 02 Dec 18:04
521d8b0

Fixes from contributors. Speed and the model file are unchanged.

Fixed

  • Installer: when the model is already at models/model.gguf, the free-disk check asks only for the room the engine needs (2 GB), not for the download as well. Before, a prepared model on a small disk was refused (#159).
  • Engine: the attention kernel reads its settings once, safely across threads. Before, workers that used it for the first time at the same moment raced on them (#163, fixes #162). Answers and speed are unchanged.

Upgrade

Run openset-llm update, or git pull && ./install.sh in your clone. A kernel changed, so the engine is rebuilt once. The model is not downloaded again.

Thanks

Thank you to @SuperMarioYL for the installer fix (#159) and to @Afloat16 for the engine fix (#163).

Full list: CHANGELOG.md

v0.3.5

Choose a tag to compare

@0xaron 0xaron released this 30 Nov 13:38
8732da8

Fixes from contributors. Speed, the engine and the model file are unchanged.

Fixed

  • Installer: a model download that is not a model file (a sign-in or error page sent by a proxy, mirror or captive network) is now refused with a clear message, not installed as the model (#147, fixes #146).
  • openset-llm update with a custom install directory: it now updates that install in place. Before, it installed into the default directory (#157, fixes #151).
  • Benchmark harness: a reply that contains only the function body is now graded, not discarded (#155, fixes #154). The published scores are unchanged.
  • Benchmark harness: the grader no longer keeps a program's whole error output in memory (#153, fixes #152).
  • Benchmark harness: a failed write of a logprob result no longer leaves an incomplete file that every retry skips (#149, fixes #148).

Upgrade

Run openset-llm update, or git pull in your clone. Nothing is rebuilt and the model is not downloaded again.

If you installed into a custom directory (OPENSET_LLM_APP, OPENSET_LLM_BIN_DIR) before this release, run the install command once more with your two variables. After that, openset-llm update stays in your directory.

Thanks

Thank you to @SuperMarioYL for the installer fix (#147) and to @Afloat16 for the launcher and benchmark fixes (#149, #153, #155, #157).

Full list: CHANGELOG.md

v0.3.4

Choose a tag to compare

@0xaron 0xaron released this 27 Nov 20:06
4c9922b

Install with one command, and a container image on every release. Speed and the model file are unchanged.

Added

  • One-command install. No clone and no compiler: it installs the latest release with its prebuilt engine, downloads the model, and adds an openset-llm command. A failed install leaves the previous version in place (#141).
  • Container image on every release. Publishing a release now builds the image and pushes it as ghcr.io/opensetlabs/openset-llm:<tag> and :latest (#141).

Fixed

  • Benchmark harness: when an arm's launcher exits after a failed request, its server children are now stopped before the replacement starts, so two servers no longer overlap or outlive the run (#139, fixes #138).

How to use it

curl -fsSL https://raw.githubusercontent.com/opensetlabs/openset-llm/main/get.sh | bash
openset-llm

openset-llm starts the server and opens the chat page. openset-llm serve runs the server only, and openset-llm update moves to the latest release. It needs x86-64 Linux with glibc 2.35 or newer (Ubuntu 22.04, Debian 12, or WSL2 with either), curl, tar and python3.

With Docker:

docker run --rm -p 127.0.0.1:8080:8080 -v openset-llm-models:/data/models ghcr.io/opensetlabs/openset-llm

The image appears a few minutes after a release is published. The first run downloads the model (~7.3 GB) into the volume.

Upgrade

Run git pull in your clone. The engine and the model file are unchanged, so nothing is rebuilt.

Thanks

Thank you to @Afloat16 for the benchmark fix (#139).

Full list: CHANGELOG.md

v0.3.3: install without a compiler

Choose a tag to compare

@0xaron 0xaron released this 27 Nov 14:01
1a69e6b

Install without a compiler: from this release on, every release carries a prebuilt engine.

Added

  • Prebuilt engine on every release. Publishing a release now builds the portable x86-64 engine and attaches openset-llm-linux-x86_64.tar.gz and SHA256SUMS to it.
  • ./install.sh --prebuilt installs that engine instead of building one. No compiler is needed. It checks the download against the release's SHA256SUMS before unpacking, and refuses an engine built from other patches or kernels than your checkout. If anything fails, the engine you already have is left as it was.
  • The README and CONTRIBUTING now point to the smoke test, the deployment guide and how to run the tests (#136).

How to use it

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

It needs x86-64 Linux with glibc 2.35 or newer (Ubuntu 22.04, Debian 12, or WSL2 with either). On a clean 8 vCPU / 8 GB machine the prebuilt engine ran at the same speed as one built on the machine (18.5–19.2 against 17.7–18.9 tokens per second).

The engine attaches a few minutes after a release is published. SHA256SUMS comes from the same release, so it detects a damaged download, not a tampered release.

Upgrade

Run git pull && ./install.sh in your clone. install.sh changed, so the engine is rebuilt once. The model file is unchanged.

Thanks

Thank you to @cioffivictor for the packaging workflow this builds on (#22).

Full list: CHANGELOG.md

v0.3.2: graft safety fix and benchmark tool fixes

Choose a tag to compare

@0xaron 0xaron released this 27 Nov 11:36
5eefdd3

A small bug-fix release. Speed and the model file are unchanged.

Fixed

  • Model grafting: a failed graft no longer truncates an existing output model. The new file is written beside it and published with one rename (#91).
  • Benchmark grader: binary output from a generated program no longer aborts the batch (#128), and backticks inside a fenced Python reply are kept (#129).
  • Long-context benchmark: each job stops its own server process group on every exit, and no longer kills other llama-server processes on the machine (#133).

Added

  • docs/deployment.md: giving WSL2 enough memory, and running ./serve as a systemd user service (#9).

Upgrade

Run git pull in your clone. The engine itself did not change, so no rebuild is needed.

Thanks

Thank you to @Afloat16 and @PhilJHolland for these changes.

Full list: CHANGELOG.md

v0.3.1: 20 community bug fixes

Choose a tag to compare

@0xaron 0xaron released this 27 Nov 09:04
c5644a3

A bug-fix release: 20 fixes from the community. Speed and the model file are unchanged.

Fixed

  • Engine: the attention fast path frees its per-thread workspaces when worker threads exit (#100) and keeps split-mode scratch inside each graph's own workspace (#103). Adaptive speculation depth is bounded before it indexes its tables (#117).
  • Resume from disk: saved prefix states are invalidated when the model file is replaced (#101), are not used or written while a LoRA adapter is active (#116), and a failed save no longer leaves a temporary file behind (#119).
  • Model grafting: metadata types and string bytes are kept as they are (#90), big-endian files keep their byte order (#102), and an incompatible MTP sidecar is rejected before any output is written (#118).
  • install.sh: numpy and pyyaml installed with pip install --user no longer make the graft fail (#78). A native build is staged before it replaces a working engine (#109). A cached engine is rebuilt when the build recipe changes (#110).
  • ./serve: --ctx, --multi, --threads, --port and --spec-depth values outside the 32-bit range are rejected with a clear message (#108).
  • Benchmark tools: server processes are stopped on every exit path (#84, #85). Failed or incomplete response streams are reported as failures (#86) and left out of identity comparisons (#111). Multi-stream ratios are compared within one CPU class (#87). A failed phase in bench/jobs.sh stays resumable (#106). main-guard examples inside Python strings are preserved (#107).

Added

  • scripts/smoke-test.sh, a three-check smoke test for a running server (#24).
  • .gitattributes that keeps LF line endings (#20) and a dependabot config for GitHub Actions (#33).

Upgrade

Run git pull && ./install.sh in your clone. The engine is rebuilt once. The model file is unchanged.

Thanks

Thank you to @Afloat16, @Johnbjoseph-cybersec, @stevenmessinger, @shivanipoddariiith and @kcalvinaIvin. Every change in this release came from the community.

Full list: CHANGELOG.md

v0.3.0: runs on CPUs without AVX-512

Choose a tag to compare

@0xaron 0xaron released this 27 Nov 04:52
3c6725b

openset-llm now runs on its own kernels on CPUs without AVX-512, and a start-up bug on those CPUs is fixed.

Added

  • 256-bit kernels for CPUs without AVX-512 (AVX2, and AVX-VNNI where the CPU has it): Intel Core, 12th gen and newer included, and AMD Zen 1 to 3. ./install.sh and --portable builds pick them by themselves. Measured on Ice Lake server VMs with AVX-512 disabled: plain decoding 6.1–7.7 tok/s, 3.5× the previous path, 1.5× ik_llama.cpp and 2.2× PrismML's current fork on the same box (#76).
  • ./serve --spec on these CPUs turns speculative decoding on and drafts 2 tokens ahead: 7.2–8.7 tok/s on the benchmark prompts. It is off by default there because it speeds up code and JSON and slows down prose. ./bench/quick.sh --plain --spec measures both on your machine (#76).
  • A kernel test against a scalar reference, bit-exact, run by CI (#76).

Fixed

  • In 0.2.0 and earlier, a --portable build could not start on a CPU without AVX-512. The Docker image and --bin-url binaries are made from that build. Found and checked under emulated Haswell and Alder Lake CPUs (#76).

Upgrade

Run git pull && ./install.sh in your clone. Machines with AVX-512 are unchanged. The model file is unchanged.

What is next

  • We are making this path faster.
  • Measurements on real AVX2-only desktop and laptop chips come next, and we will publish the numbers.
  • Phones are the next target we are working on.

If you run it on a CPU without AVX-512, please post the block that ./bench/quick.sh --plain --spec prints as a "Measurement on my machine" issue.

Thanks

Thank you to everyone who told us openset-llm was slow on laptops and desktops without AVX-512. This release is for you.

Details: CPUs without AVX-512 · Full list: CHANGELOG.md

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.