Release 0.14.0: quality eval
Release / release (push) Successful in 3m17s

A deterministic quality eval as a run type next to BetterBench: tool
calling (12 requests), coding (8 Python functions checked by unit tests
in a locked-down sandbox container) and long-context retrieval (needle at
3 depths in 3 lengths up to the context). Versioned eval set in
src/evals/v1, score stored per run, shown on the run page, in compare
views, the benchmark list and sweep tables (optional eval per variant);
API kind "eval", quality in run/sweep/compare answers; skill updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Pascal LinxweilerandClaude Opus 5.5 committed 2026-10-21 15:24:36 +02:00
1 parent 716bd8f2f0
commit 6b67c653b5
33 files changed
+3822 -79

No files matched your search

+22 -9
View File
@@ -1,6 +1,6 @@
---
name: kaname-tuning
description: Deploy local LLMs on the user's Kaname server and benchmark them to find good launch options (context, KV cache type, batch sizes, GPU layers, runtime) for the hardware. Use when the user asks to deploy, test, benchmark, tune or compare a model's settings, or to find the fastest setup for a model.
description: Deploy local LLMs on the user's Kaname server, benchmark their speed and check their answer quality to find good launch options (context, KV cache type, batch sizes, GPU layers, runtime) for the hardware. Use when the user asks to deploy, test, benchmark, tune or compare a model's settings, or to find the fastest setup for a model.
required_environment_variables:
- name: KANAME_URL
prompt: Kaname base URL (no trailing slash)
@@ -109,6 +109,17 @@ kaname -m 960 "$KANAME_URL/api/v1/benchmarks/<runId>?wait=900"
temperature. `?full=1` only when you need the per-category details.
- If the wait times out, the run is still going: one more call with `?wait=900`, then report.
Then check that the answers are still right (speed alone can hide a broken setup):
```bash
kaname -X POST "$KANAME_URL/api/v1/benchmarks" -d '{"kind": "eval", "deploymentId": "<id>", "label": "Q4_K_M ctx16k q8_0 KV"}'
kaname -m 960 "$KANAME_URL/api/v1/benchmarks/<runId>?wait=900"
```
`quality.score` (0–100) and per section (`tools`, `coding`, `retrieval`). Add `?full=1` to see which
items failed. A drop of more than a few points against the baseline means the change hurt quality,
however fast it is.
## 5. Change one variable and compare
Stop, change one option, start, wait, benchmark again:
@@ -120,12 +131,13 @@ kaname -X PATCH "$KANAME_URL/api/v1/deployments/<id>" -d '{"options": {"cacheTyp
kaname -X POST "$KANAME_URL/api/v1/deployments/<id>/start"
```
Or let Kaname do it: a **sweep** deploys each variant of one or two settings, benchmarks it and
removes it again (stop your own deployment first; it counts as one run):
Or let Kaname do it: a **sweep** deploys each variant of one or two settings, benchmarks it (with
`"quality": true` also runs the quality eval) and removes it again (stop your own deployment first;
it counts as one run):
```bash
kaname -X POST "$KANAME_URL/api/v1/sweeps" -d '{
"baseDeploymentId": "<id>", "quick": true,
"baseDeploymentId": "<id>", "quick": true, "quality": true,
"params": [{ "key": "kvCache", "values": ["f16", "q8_0", "q4_0"] }]
}'
kaname -m 960 "$KANAME_URL/api/v1/sweeps/<sweepId>?wait=900"
@@ -150,12 +162,13 @@ an A/B (two deployments of the same model at once, if the user allows 2 agent de
Report a compact table, one row per setup, the varied option first:
| KV cache | Decode t/s | Prefill t/s | TTFT ms | VRAM peak | Notes |
| --- | --- | --- | --- | --- | --- |
| f16 | 58.1 | 1910 | 88 | 11.2 GB | baseline |
| q8_0 | 57.6 | 1880 | 90 | 9.4 GB | −1 %, 1.8 GB less VRAM |
| KV cache | Decode t/s | Prefill t/s | TTFT ms | Quality | VRAM peak | Notes |
| --- | --- | --- | --- | --- | --- | --- |
| f16 | 58.1 | 1910 | 88 | 86.1 | 11.2 GB | baseline |
| q8_0 | 57.6 | 1880 | 90 | 86.1 | 9.4 GB | −1 % speed, same quality, 1.8 GB less VRAM |
Name the winner and why (and what stayed the same: GPU, engine version, quant, context). Then stop
Name the winner and why: speed and quality together (and what stayed the same: GPU, engine version,
quant, context). Then stop
your deployment (or delete it if the user doesn't need it):
```bash