docs: FORK.md/runbook after the 2026-11-23 slimming deploy - 92fe769a0 in production, validation record, Inkling -tb 6
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PZz44SLQvTXMyWGio6t9DZ
This commit is contained in:
1 parent
92fe769a0a
commit
6a6c6c4e40
2 files changed
+30
-3
No files matched your search
@@ -184,6 +184,14 @@ Knobs (all read once from the environment):
|
||||
| `LLAMA_USERSTART_MERGE=0` | unset | upstream's batch breaks (for a RAG client) | keep |
|
||||
| `GGML_CUDA_REGISTER_HOST` | not in the environment any more | the pinning era | gone; section 5 no longer mentions it |
|
||||
|
||||
Validation and deploy (2026-11-23, details in the runbook, section 6 history, "Slimming"): the code
|
||||
of the slimmed branch (`ccb58a3dc`; `a1eb757ea` only fixes `fork-validate.sh`, F9) against
|
||||
production `ec3bf13f6`: `--ops --arbiter --moecache` 26 PASS, `--perf --diskcache` with the fixed
|
||||
script 19 PASS, 0 FAIL. `--perf` medians: pp2048 307.4 -> 321.2 t/s (+4.5%, F1 gone), d16384 220.6
|
||||
-> 225.2 (+2.1%), d32768 169.9 -> 174.8 (+2.9%); handoff median 635.5 ms both. Deployed as
|
||||
`92fe769a0` (code identical to `a1eb757ea`, plus these docs) on 2026-11-23 at 12:58 UTC, downtime
|
||||
129 s, `system_fingerprint` `b12653-92fe769a0`; post-deploy checks of the runbook, section 8, passed (`/root/arms/run3/post.log`). Then `-tb 6` for Inkling (section 5).
|
||||
|
||||
---
|
||||
|
||||
## 3. Features
|
||||
@@ -1750,7 +1758,13 @@ Other models:
|
||||
heads, head size 128; macro `inkling_args`, entries `unsloth/Inkling-2-Mini-GGUF[-nothink]:UD-Q4_K_XL`,
|
||||
matrix vars `ink`/`inknt`): the mainline-layout GGUF in `/root/models/inkling/` passed with `-m`
|
||||
(the repo-root GGUFs that `-hf` would pick are Unsloth's layout), `--mmproj` beside it,
|
||||
`-t 6`, f16 KV, `--parallel 1`, the disk prompt cache, `-b 1024 -ub 1024 --ctx-size 65536`
|
||||
`-t 6 -tb 6` (`-tb 6` since 2026-11-23, backup `/root/config.yaml.bak-20261123-tb`: a 251-token
|
||||
tool request on a fresh prompt, scratch server with the production command line, arms 12 6 6 12,
|
||||
median prompt time 10612 / 9961 ms with `-tb 12` against 5231 / 5278 ms with `-tb 6`, decode the
|
||||
same; llama-bench pp256 and pp2048 with 12 and 6 threads 83.7 / 128.9 t/s either way. Through
|
||||
llama-swap after the change the post-deploy tool request prefilled its 112 tokens at 26.8 t/s
|
||||
against 12.3 before. Likely cause, not profiled: the short ubatches of such a request run on the CPU, where 12 threads on 6
|
||||
contended cores wait in the barriers), f16 KV, `--parallel 1`, the disk prompt cache, `-b 1024 -ub 1024 --ctx-size 65536`
|
||||
(since the 2026-11-22 carry of upstream #32740, F12; before: `-b 512 -ub 512`). Since the F13
|
||||
deploy (2026-11-22, `b13c41355`): the experts of loop layers 6-9 stay on the GPU and all others
|
||||
on the host, `-ot blk[.](0|1|2|3|4|5|10|11|12|13|14|15|16|17|18|19|20|21|22|23)[.]ffn_.*_exps=CPU`
|
||||
|
||||
@@ -434,7 +434,15 @@ setsid nohup sh /root/bench/moe/swapdown.sh /root/arms/fv-perf.sh > /root/arms/f
|
||||
delta-net / short-conv models without F3's gate, C vs S, `win3.log`, `gate4.log`): Qwen3.5-4B tg256@d4096 -0.4%, Inkling +2.8% (medians of 9 samples, S C C S S C), Inkling concat kernels +0.3 ms per token (perf logger); the gate stays removed. Inkling tool request
|
||||
(251 tokens, fresh prompt, production command line, S): `-tb 12` 10612 / 9961 ms median prompt
|
||||
time against `-tb 6` 5231 / 5278 ms, decode unchanged, `get_weather` with city Warsaw in every arm (arguments cut by `max_tokens` 64)
|
||||
(`inktb-s/`); llama-bench Inkling pp256 and pp2048 with 12 and 6 threads, arms 12 6 6 12: 83.7 / 128.9 t/s either way, so `-tb 6` costs no prefill (FORK.md section 5). Deploy: below.
|
||||
(`inktb-s/`); llama-bench Inkling pp256 and pp2048 with 12 and 6 threads, arms 12 6 6 12: 83.7 / 128.9 t/s either way, so `-tb 6` costs no prefill (FORK.md section 5).
|
||||
Deployed `92fe769a0` (code of `a1eb757ea` plus the docs) with `/root/arms/run3/deploy.sh`
|
||||
(pointer 18 = `ec3bf13f6`, build copy `/root/arms/build-ec3bf13f6`, config backup
|
||||
`/root/config.yaml.bak-20261123-run3`, automatic rollback). The first try rolled itself back at
|
||||
the checkout: the scratch worktree `/root/arms/reb20261123` had the new branch name checked out
|
||||
(`fatal: ... is already used by worktree`), production stayed on `ec3bf13f6` with its build
|
||||
restored from the copy, `/v1/models` 200 (`deploy-try1.log`). After `git checkout --detach` in
|
||||
that worktree the second try built and probed fine: downtime 129 s, `system_fingerprint`
|
||||
`b12653-92fe769a0` (`deploy.log`). Section 8 checks (`post.sh`, `post.log`): 35B, 4B task and gemma answers correct with `holder` on the answering PID across 35B/4B/gemma handoffs, gemma image red, both Inkling entries correct on the 59-token first prompt, short, image, tool (`get_weather`, city Warsaw) and a 29.4K-token Pan Tadeusz prompt (94.4 / 92.1 t/s prefill), disk cache saved and restored (1157 tokens, restored in 172 ms), log scan 0 asserts or Vulkan errors, Mesa 26.3.1 variables in every llama-server environ, power cap 120 W, children on llama-swap ports, pod restarts 0; dmesg shows a memory-cgroup OOM kill of nginx-ingress processes (their own cgroup limit, no llama process) during the checks.
|
||||
- What the 2026-11-22 window must run, in this order (GPU to itself under swapdown; about 75-90
|
||||
minutes in all):
|
||||
1. Phase 2 as written above with `W=/root/arms/reb20261122` (about 32 minutes).
|
||||
@@ -531,6 +539,9 @@ Run the stop, build and start (steps 4-7) as one script on the pod, started with
|
||||
git checkout -B fable5/vram-ondemand-rebase-YYYYMMDD <validated-commit>
|
||||
```
|
||||
On a redeploy with the same branch name this moves the production branch to the new commit.
|
||||
`git checkout -B` refuses a branch that a scratch worktree has checked out (`git worktree list`);
|
||||
detach that worktree first (`git -C <worktree> checkout --detach`). The 2026-11-23 deploy rolled
|
||||
back once on this.
|
||||
3. **Evict the page cache.** The pod is BestEffort QoS on a shared 62 GB node, so it is the first OOM
|
||||
victim, and benchmarks, mmap loads and builds without F10 leave tens of GB of model files cached.
|
||||
During the first 2026-10-24 deploy the Talos OOM controller killed the whole pod 17 s into
|
||||
@@ -730,7 +741,9 @@ commit-16 holds `b13c41355`, commit-17 holds `f3397cded` (config backup
|
||||
commit-18 holds `ec3bf13f6`, the rollback target for the slimmed production branch
|
||||
`fable5/vram-ondemand-rebase-20261123` (next free: 19; build copy `/root/arms/build-ec3bf13f6`; config
|
||||
unchanged by that deploy, backup `/root/config.yaml.bak-20261123-run3`; branch
|
||||
`fable5/vram-ondemand-rebase-20261122`). The formats vary
|
||||
`fable5/vram-ondemand-rebase-20261122`). After that deploy `inkling_args` went from `-tb 12` to
|
||||
`-tb 6` (config only, backup `/root/config.yaml.bak-20261123-tb`); a rollback to commit-18 can keep
|
||||
it. The formats vary
|
||||
(commit-4 to 6 hold short SHAs, commit-6 has branch and date after the SHA, commit-9 a subject on
|
||||
line 2), hence `head -1 | cut -d' ' -f1`. New pointers: the full SHA alone on line 1.
|
||||
|
||||
|
||||
Reference in new issue
Block a user