Skip to content

Fast local LLM inference on plain CPUs. No GPU, 8 GB of RAM. OpenAI-compatible server.

Changelog for #91, #128, #129; make the interruption test independent of how it is launched (#130)

0xaronc2b88fcbcbd0
diff --git a/CHANGELOG.md b/CHANGELOG.md
index bff603f..5a5083f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,15 @@ All notable changes to openset-llm. Dates are YYYY-MM-DD.
## Unreleased
+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 (`bench/evaluate.py`): binary output from a generated program no longer aborts the batch (#128),
+ and backticks inside a fenced Python reply are kept (#129).
+
+Thank you to @Afloat16 for these.
+
## 0.3.1 (2026-11-27)
A bug-fix release: 20 fixes from the community, no change in speed or in the model file.
diff --git a/tests/test_install_prebuilt_transaction.py b/tests/test_install_prebuilt_transaction.py
index c910d2b..bbb4ddd 100644
--- a/tests/test_install_prebuilt_transaction.py
+++ b/tests/test_install_prebuilt_transaction.py
@@ -3,6 +3,7 @@ import io
import tarfile
from pathlib import Path
import shutil
+import signal
import subprocess
import tempfile
import unittest
@@ -40,8 +41,11 @@ class InstallRegression(unittest.TestCase):
path.chmod(0o755)
def install(self, *args):
+ # A test runner started as a background job has SIGINT ignored, and bash cannot trap a signal that
+ # was ignored when it started. Give the installer the default so its INT trap can be tested there too.
return subprocess.run(["/bin/bash", str(ROOT / "install.sh"), *args],
- env=self.env, text=True, capture_output=True, timeout=15)
+ env=self.env, text=True, capture_output=True, timeout=15,
+ preexec_fn=lambda: signal.signal(signal.SIGINT, signal.SIG_DFL))
def archive(self, truncate=False, executable=True):
payload = b'#!/bin/sh\nexit 0\n# replacement engine\n' if executable else b'#!/bin/sh\nexit 12\n'