Fast local LLM inference on plain CPUs. No GPU, 8 GB of RAM. OpenAI-compatible server.
Python aiavx512cpu-inferenceedge-aiggufinference-enginellama-cppllmllm-inferencelocal-ailocal-llmno-gpuon-device-aiopenai-apiopenai-compatiblequantizationqwenself-hostedspeculative-decodingternary
Changelog for 0.2.0; run the unit tests in CI (#75)
0xaron8d824af2390f
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 418219a..c9c4d39 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -12,6 +12,11 @@ jobs:run: for f in install.sh serve start scripts/package.sh scripts/verify-dispatch.sh scripts/cross-aarch64.sh patches/apply.sh docker/entrypoint.sh bench/box.sh bench/jobs.sh bench/quick.sh; do bash -n "$f"; done- name: Python compilesrun: python3 -m py_compile scripts/graft_mtp.py bench/*.py+ - name: Unit tests+ run: |+ python3 -m pip install -q --break-system-packages gguf numpy+ python3 -m unittest discover -s tests -p 'test_*.py'+ cd bench && python3 -m unittest discover -s . -p 'test_*.py'- name: Files the README links to existrun: |fail=0diff --git a/CHANGELOG.md b/CHANGELOG.mdindex ecc5398..292f980 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -4,13 +4,50 @@ All notable changes to openset-llm. Dates are YYYY-MM-DD.## Unreleased-- `bench/quick.sh`: a 3-minute speed check that prints a block to paste into a "Measurement on my machine" issue.-- `docker-compose.yml`: `docker compose up` builds the image, keeps the model in a named volume and waits on `/health`.+## 0.2.0 (2026-11-26)++Added+- `./serve --multi N`: a system prompt the streams share is read once and loaded from disk afterwards (the prefix partof agent-loop resume; it was off with `--multi`). Same replies as `--no-resume`, no extra memory. `--multi` now- writes prefix states to `~/.openset-llm/state` like the single-stream server does.+ writes prefix states to `~/.openset-llm/state` like the single-stream server does. (#17)+- `bench/quick.sh`: a 3-minute speed check that prints a block to 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)+- `./install.sh --check` is mentioned in the quick start. (#6)+- Unit tests for the installer, `serve`, `start`, the model graft and the benchmark harness (`tests/`,+ `bench/test_*.py`), run by CI.++Fixed: engine and install+- A prefix state file that was cut short on disk (for example by a full disk) made the server abort when a request- tried to load it. Such a file is now detected, removed and written again.+ tried to load it. Such a file is now detected, removed and written again. (#17)+- `patches/apply.sh` reported success and carried on after a patch failed to apply. It now stops at the first+ failure. (#36)+- `install.sh --bin-url`: a broken or unusable prebuilt archive no longer replaces a working engine; the new binaries+ are unpacked and checked in a staging folder first. (#72)+- `install.sh`: a download from a mirror that ignores resume requests restarts from the beginning. (#74)+- `install.sh`: checks for git before downloading weights when the speculation head has to be attached (#58), clears+ the plain-model marker after the head is attached (#60), and skips the Python setup when the model is already+ there (#62).+- `scripts/graft_mtp.py`: refuses an output path that is one of its inputs (#68) and keeps the tensor alignment the+ model file declares (#70).+- `./serve`: numbers with leading zeros (`--ctx 08192`) are read as decimal. (#64)+- `./start`: honours `--host` when it waits for the server and opens the page, and does not open a page with+ `--no-webui`. (#66)++Fixed: benchmark harness (no published number changes)++- `bench/quick.sh` exits with an error, and without a report, when a measurement fails. (#54)+- `bench/bench2.py`, `bench/multi.py`: memory samplers stop on every exit path (#38, #56); a failed stream is+ reported; `--rounds` above 3 keeps four prompts per round (#44); an interrupted last result line is repaired on+ resume (#52).+- `bench/rrun.py`: starts and stops only its own server (#46) and fails when the server never becomes ready (#48).+- `bench/evaluate.py`: keeps decorators when grading code (#40) and stops child processes of a timed-out+ program (#50).+- `bench/analyze.py`: load-only probes are listed separately from throughput rows. (#42)++Thanks to Afloat16 for #36–#74, revaldianggara for #6 and recranvvi5c for #8.## 0.1.0 (2026-11-25)