Kaname keeps two jobs: the model downloader and benchmarks. Benchmarks now run against endpoints (any OpenAI-compatible server added by URL, with an optional server-side API key and hand-written hardware notes) instead of deployments Kaname started itself. Removed: runtimes, deployments, sweeps, resource telemetry, hardware detection, the /api/v1 API with tokens and guardrails, and all Docker access. The quality eval's coding tests run in a network-less sandbox container that shares only an exchange folder with the worker. The previous state is kept in branch backup / tag backup-0.14.3. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
1d2f908b75
commit
276108932d
199 files changed
+5462
-15961
No files matched your search
@@ -1,6 +1,6 @@
|
||||
import assert from "node:assert/strict";
|
||||
import { describe, it } from "node:test";
|
||||
import { configChips, deltaPct, describeSettings, headline } from "./benchmark-view";
|
||||
import { configChips, deltaPct, describeSettings, engineName, headline, modelName, targetName } from "./benchmark-view";
|
||||
import type { BenchmarkSnapshot, BenchmarkSummary } from "./db/schema";
|
||||
|
||||
const summary: BenchmarkSummary = {
|
||||
@@ -36,7 +36,24 @@ describe("benchmark view", () => {
|
||||
cpus: 8,
|
||||
memoryMb: null,
|
||||
} as unknown as BenchmarkSnapshot;
|
||||
assert.deepEqual(configChips(snap), ["Q4_K_M", "context 4096", "threads 8", "kv cache k / v q8_0 / f16", "cpu limit 8 cores"]);
|
||||
assert.deepEqual(configChips(snap), ["context 4096", "kv cache q8_0 / f16", "Q4_K_M", "threads 8", "cpu limit 8 cores"]);
|
||||
});
|
||||
|
||||
it("lists an endpoint's notes as chips, and names it, its model and engine", () => {
|
||||
const snap: BenchmarkSnapshot = {
|
||||
type: "endpoint",
|
||||
endpointName: "arc box",
|
||||
model: "Qwen3-8B-Q4_K_M.gguf",
|
||||
engine: "vllm",
|
||||
engineVersion: "0.31.0",
|
||||
contextSize: 32768,
|
||||
hardware: { gpuName: "Intel Arc Pro B65", gpuCount: 2, kvCache: "fp8", concurrency: 4 },
|
||||
};
|
||||
assert.deepEqual(configChips(snap), ["2× Intel Arc Pro B65", "Q4_K_M", "context 32768", "parallel slots 4", "kv cache fp8"]);
|
||||
assert.equal(targetName(snap), "arc box");
|
||||
assert.equal(modelName(snap), "Qwen3-8B-Q4_K_M.gguf");
|
||||
assert.equal(engineName(snap), "vLLM 0.31.0");
|
||||
assert.equal(engineName({ ...snap, hardware: { engineName: "vllm-radiance" } }), "vllm-radiance 0.31.0");
|
||||
});
|
||||
|
||||
it("describes settings and deltas", () => {
|
||||
|
||||
Reference in new issue
Block a user