Skip to content

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.

feat(nix): ship qwen spec_policy.py with serve wrappers

Tristin Stagg3c8852ed9d51
diff --git a/flake.nix b/flake.nix
index f04e273..90d889a 100644
--- a/flake.nix
+++ b/flake.nix
@@ -536,6 +536,10 @@
mkdir -p $out/share/kyojin/$flavor
cp $src/tools/$flavor/serve.py $src/tools/$flavor/serve_metrics.py \
$out/share/kyojin/$flavor/
+ # qwen/serve.py imports spec_policy at draft-build time
+ # (sibling import, resolved relative to its own file).
+ [ "$flavor" = qwen ] && cp $src/tools/$flavor/spec_policy.py \
+ $out/share/kyojin/$flavor/
# chat templates live next to the scripts (qwen/mimo) or in
# lanes/assets (glm); the servers resolve them relative to
# their own file, so ship them at the same relative paths.