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.

Bump flake inputs with Dependabot, leaving the ROCm pins alone

Tristin Stagg6c7a89b658f7
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
new file mode 100644
index 0000000..eb17c3f
--- /dev/null
+++ b/.github/dependabot.yml
@@ -0,0 +1,41 @@
+# Dependabot version updates for the Nix flake inputs.
+#
+# Scope is deliberately narrow: flake.lock only. flake.lock had never been
+# updated since the flake landed, so nixpkgs and the pyproject-nix inputs
+# drifted for weeks with no PR to review.
+#
+# Deliberately NOT included: the `uv` / `pip` ecosystems. torch, rocm*, triton
+# and rocm-sdk-* in pyproject.toml are a single hand-bumped snapshot of AMD's
+# bleeding-edge ROCm 10.1 nightly index, pinned with `==`. Dependabot bumping
+# any one of them produces a wheel set that no longer agrees with uv.lock or
+# with the compiled extension, so those pins stay a human decision.
+#
+# Also note: a flake.lock bump rebuilds the ROCm extension (~20 min cold), so
+# the cadence is weekly and the PR count is capped below.
+
+version: 2
+
+# The pyproject-nix inputs are follows-linked (uv2nix follows pyproject-nix,
+# build-system-pkgs follows both), so bumping one without the others produces a
+# combination CI cannot validate. One group, one PR, one test.
+groups:
+ nix-python-toolchain:
+ patterns:
+ - "uv2nix"
+ - "pyproject-nix"
+ - "pyproject-build-systems"
+
+ nix-build-tools:
+ patterns:
+ - "flake-parts"
+ - "git-hooks-nix"
+
+updates:
+ # nixpkgs is left out of every group on purpose: it moves torch, python and
+ # glibc, so it gets its own PR to keep the blast radius separable from a
+ # toolchain bump.
+ - package-ecosystem: "nix"
+ directory: "/"
+ schedule:
+ interval: "weekly"
+ open-pull-requests-limit: 5
diff --git a/doc/nix.md b/doc/nix.md
index ecbf918..d3b3762 100644
--- a/doc/nix.md
+++ b/doc/nix.md
@@ -84,6 +84,28 @@ hand-backfilled `hash = "sha256:..."` entries in `uv.lock` (convert with
re-lock drops them, Nix evaluation fails loudly asking for a sha256.
Then rebuild `.#torch-rocm` and `.#exllamav3`.
+## Dependency updates
+
+`.github/dependabot.yml` bumps **flake inputs only** (`package-ecosystem:
+nix`, weekly). `nixpkgs` gets its own PR because it moves torch, python and
+glibc; `uv2nix` / `pyproject.nix` / `build-system-pkgs` are grouped into one PR
+because they are `follows`-linked and a partial bump is a combination CI cannot
+validate.
+
+The Python ecosystems are deliberately absent. The ROCm pins above are one
+hand-bumped snapshot of AMD's nightly index; an automated bump to a single
+package yields a wheel set that disagrees with `uv.lock` and with the compiled
+extension. Those stay a human decision.
+
+Two operational notes:
+
+- **Dependabot PRs can arrive with no checks attached** when the PR is created
+ with the default `GITHUB_TOKEN`. Here CI is the whole argument for automated
+ bumps, so configure a PAT or a GitHub App for Dependabot; otherwise close and
+ reopen the PR to trigger `nix.yml`.
+- A `flake.lock` bump rebuilds the extension (~20 min cold), which is why the
+ cadence is weekly and `open-pull-requests-limit` is 5.
+
## Running on gfx1151 hardware
Bare metal (after `nix copy` to the machine, or with a shared store):