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): create tmp dirs in container image

Tristin Staggbf971350c122
diff --git a/flake.nix b/flake.nix
index bfa0abb..ce79d57 100644
--- a/flake.nix
+++ b/flake.nix
@@ -681,6 +681,12 @@
kyojinImage = pkgs.dockerTools.buildLayeredImage {
name = "kyojin";
tag = "1.5.0";
+ # Layer root is the cwd here: relative paths only. /tmp must
+ # exist (Python tempfile, torch cuda shims); the model volume
+ # supplies persistence, container /tmp stays ephemeral.
+ extraCommands = ''
+ mkdir -p tmp var/tmp etc
+ '';
contents = [
kyojinServe
kyojinEnv