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.

Nix docs: document which paths invalidate the cached extension

YanissAmz34e339c2c9e0
diff --git a/doc/nix.md b/doc/nix.md
index 11c6914..73d4bac 100644
--- a/doc/nix.md
+++ b/doc/nix.md
@@ -55,6 +55,10 @@ magic-nix-cache and finish in minutes, while native changes still rebuild
and test it. The serve wrappers, the venv, and the container all consume
the same package, so nothing drifts. First build compiles the extension
once (8-10 min); afterwards only native changes pay that again.
+Only these paths invalidate the cached extension: `setup.py`,
+`exllamav3/exllamav3_ext/`, `exllamav3/util/arch_list.py`,
+`exllamav3/version.py`, `pyproject.toml`, `README.md`. Every other change
+(python, tests, tools, docs) reuses the cached `.so`.
`nix fmt` doubles as the clean-tree gate: it exits non-zero when a hook
fails or rewrites files.