From 78096c9027df22482aaf0044158ddda2b7883007 Mon Sep 17 00:00:00 2001 From: Mikei386 <44135113+Mikei386@users.noreply.github.com> Date: Tue, 1 Sep 2026 06:24:59 +0200 Subject: [PATCH] Pin and verify Dirk model artifacts --- experiments/dirk-qwen38/MODEL_ARTIFACTS.sha256 | 2 ++ experiments/dirk-qwen38/README.md | 3 +++ experiments/dirk-qwen38/download-model.sh | 8 +++++--- 3 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 experiments/dirk-qwen38/MODEL_ARTIFACTS.sha256 diff --git a/experiments/dirk-qwen38/MODEL_ARTIFACTS.sha256 b/experiments/dirk-qwen38/MODEL_ARTIFACTS.sha256 new file mode 100644 index 0000000..2515f61 --- /dev/null +++ b/experiments/dirk-qwen38/MODEL_ARTIFACTS.sha256 @@ -0,0 +1,2 @@ +d1ad2472a147caa1111bae5ec710331dc50692d62ebbdb3fbc54d421c4e209bc Dirk-Qwen3.8-27B-UD-Q4_K_XL.gguf +cbb841a9ee0636b2ec172f5bb8df2ea8dfeb01e90fe7c6126581d662a0b4e43e mmproj-F16.gguf diff --git a/experiments/dirk-qwen38/README.md b/experiments/dirk-qwen38/README.md index 97b8bdd..0fb49e7 100644 --- a/experiments/dirk-qwen38/README.md +++ b/experiments/dirk-qwen38/README.md @@ -8,6 +8,7 @@ production router profile and never stops or restarts production services. - Main model: `Dirk-Qwen3.8-27B-UD-Q4_K_XL.gguf` (about 17.6 GB) - Vision projector: `mmproj-F16.gguf` +- Pinned Hugging Face revision: `12362f2b3d7dc11044e99c9e7e99fb9f530528c0` - Runtime: existing `mike-ai/llama.cpp:local` - Test endpoint: `127.0.0.1:5004` - Results: `/data/benchmarks/dirk-qwen38/` @@ -47,3 +48,5 @@ GPU memory, context recall, tool calling, code quality and total tokens needed to finish the task. Do not promote Dirk unless it matches the base model on technical correctness and improves real Hermes task completion. +Expected SHA-256 checksums are stored in `MODEL_ARTIFACTS.sha256`. + diff --git a/experiments/dirk-qwen38/download-model.sh b/experiments/dirk-qwen38/download-model.sh index b8f02f9..beb4a8d 100755 --- a/experiments/dirk-qwen38/download-model.sh +++ b/experiments/dirk-qwen38/download-model.sh @@ -2,7 +2,9 @@ set -Eeuo pipefail MODEL_DIR=${MODEL_DIR:-/data/models/qwen3.8-27b-dirk} -BASE_URL=https://huggingface.co/peculiar-ragdoll/Dirk-Qwen3.8-27B-GGUF/resolve/main +SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" +REVISION=12362f2b3d7dc11044e99c9e7e99fb9f530528c0 +BASE_URL="https://huggingface.co/peculiar-ragdoll/Dirk-Qwen3.8-27B-GGUF/resolve/$REVISION" MODEL=Dirk-Qwen3.8-27B-UD-Q4_K_XL.gguf PROJECTOR=mmproj-F16.gguf @@ -21,8 +23,8 @@ download() { ( cd "$MODEL_DIR" - sha256sum "$MODEL" "$PROJECTOR" > SHA256SUMS + sha256sum -c "$SCRIPT_DIR/MODEL_ARTIFACTS.sha256" + cp "$SCRIPT_DIR/MODEL_ARTIFACTS.sha256" SHA256SUMS ) printf 'Prepared model files in %s\n' "$MODEL_DIR" -