Kyojin: open-source engine that runs 100 GB-class open models (GLM-5.3, Qwen3.8, DeepSeek V4.1) on one desktop machine. AMD Strix Halo, NVIDIA RTX and Apple Mac. OpenAI API, built on ExLlamaV3.
Python amdapple-siliconcudadeepseekexl3exllamav3glminferencellmllm-inferencelocal-llmnvidiaopenai-apiquantizationqwenrocmstrix-halo
feat(nix): add bench-corpus output for comparable benchmarks
Tristin Stagge12b73b70be6
diff --git a/doc/nix.md b/doc/nix.mdindex 38a1260..ccb1b09 100644--- a/doc/nix.md+++ b/doc/nix.md@@ -131,6 +131,14 @@ nix run .#kyojin-bench -- --base http://localhost:8000/v1 \--corpus <any 8000+ word text file> --json```+For comparable numbers across machines, freeze the input with the pinned+corpus (same revision in, same bytes out) instead of a hand-picked file:++```bash+nix run .#kyojin-bench -- --base http://localhost:8000/v1 \+ --corpus $(nix build --print-out-paths .#bench-corpus)/corpus.txt --json+```+It prints a Markdown block ready to paste into a benchmark report issue,plus a fenced JSON block with `--json` for collecting tables.diff --git a/flake.nix b/flake.nixindex 74a8a27..25485b3 100644--- a/flake.nix+++ b/flake.nix@@ -600,6 +600,17 @@};};+ # Pinned benchmark corpus (optional companion to kyojin-bench):+ # every repo Markdown file concatenated at build time, so reports+ # stay comparable between machines. bench.py's own default is+ # whatever markdown surrounds it at runtime; pass this file as+ # --corpus to freeze the input instead.+ benchCorpus = pkgs.runCommand "kyojin-bench-corpus" { src = ./.; } ''+ mkdir -p $out+ find $src -name '*.md' -not -path '*/.git/*' -not -path '*/.venv/*' -not -path '*/node_modules/*' -print0 \+ | sort -z | xargs -0 cat > $out/corpus.txt+ '';+# 10. Container image + entrypoint. Ships the full SDK + toolchain# because serve builds GPU kernels on first use (install.md) with# hipcc; a runtime-lib subset would break that. A later diet to a@@ -795,6 +806,7 @@kyojin = kyojinServe;docker = kyojinImage;bench = kyojinBench;+ bench-corpus = benchCorpus;};apps =