Setup: SOMA-RP v1.1 F32 denoiser, 60 frames (2 s at 30 fps), 20 DDIM steps, CFG
2/2. The noise came from numpy `default_rng(seed)`. Positions come from forward
kinematics over kimodo.cpp's `soma30` offsets. Bone-length spread was at most
3e-8 m, and a rerun with the same embedding was 0.0000 mm from the first run,
so the sampler is deterministic.
| prompt | seed | Q8_0 vs kimodo.cpp BF16, mean / max mm | Vili bf16 vector vs kimodo.cpp Q8_0, mean / max mm |
|---|---|---|---|
| fist | 7 | 2.87 / 62.30 | 84.72 / 927.40 |
| fist | 42 | 2.45 / 16.46 | 43.94 / 986.76 |
| shrug | 7 | 2.06 / 17.39 | 28.42 / 145.01 |
| shrug | 42 | 3.00 / 17.83 | 16.46 / 157.28 |
| wave | 7 | 0.54 / 10.87 | 14.06 / 391.16 |
| wave | 42 | 0.94 / 20.84 | 27.70 / 553.69 |
How to read the columns:
- **Q8 against BF16** is about the size of Vili's own GPU-bf16 against CPU drift
(fist: mean 4.63, max 54.28 mm, `motion-pipeline:verdict:cut-vili-encoder-placement.s1`).
- **MNTP against no MNTP** produces a different motion. The fist clip's root ends up
close to a metre away.
## Resources
None of these runs touched Raven's GPU. At the time of the probe Raven's GPU showed
35 % utilization and 11.6 GiB in use, so **GPU (Vulkan) timing is undone**. It is
deferred to a run when the household tray toggle allows GPU use.
All runs were on Yggdrasil (AMD EPYC-Genoa VM, 16 vCPU, 62 GiB) in Docker
containers capped at 8 CPUs and 24 GiB (torch: 40 GiB), with `KIMODO_THREADS=8`.
The host was shared with other agents' verification containers, so the timings are
noisy.
| what | wall | peak RSS |
|---|---|---|
| kimodo.cpp Q8_0 encode, cold process (load and 1st encode) | 6.8 to 14 s (27 s on the very first, cold page cache) | 1.97 to 2.12 GiB |
| kimodo.cpp Q8_0 encode, warm 2nd encode in-process | 3.2 to 7.8 s | the same |
| kimodo.cpp BF16 encode, cold process (warm in-process encode 8.2 to 12.5 s) | 16.6 to 38 s | 3.45 to 3.60 GiB |
| kimodo.cpp 2 s clip from embedding (`kmd-sample-embedding`, 20 steps, includes the 1.1 GB denoiser load) | 26 to 75 s, typically about 30 s | 1.13 GiB |
| kimodo.cpp text to 2 s clip end to end (`kmd-generate`, Q8_0) | 42.9 s | 2.05 GiB |
| torch assembly A or B, bf16 CPU, model load / encode | 41 s or 38 s / 0.9 to 2.1 s | about 16 GiB of weights (peak not sampled) |
For comparison, today on Raven: a cache hit costs about 2 s for a 2 s clip, and a
miss costs a 61 s encode (`cut-vili-encoder-placement.s1`). Raven has 16 GiB of host
RAM, which is why its CPU bf16 encode took 428 s; Yggdrasil's 1 to 2 s CPU bf16
encode is a RAM fact, not a CPU fact. kimodo.cpp's Q8 encoder reads its weights
layer by layer and needs about 2 GiB resident, so it would fit Raven on CPU.
**Correction, 2026-10-23.** The "MNTP missing" diagnosis in this document is wrong. The MNTP adapter is applied in both loads (the cut measured a q_proj difference of 0.0117 for repo ids and snapshot paths alike). What separates A from B is the Llama-3 chat header: Kimodo's `LLM2Vec.prepare_for_tokenization` wraps the text in it only when the model's `_name_or_path` is the repo id `meta-llama/Meta-Llama-3-8B-Instruct`, which a load from a snapshot path silently drops (`motion-pipeline:finding:cut-vili-cpu-body.s1.ab-premise-inverted`). B's weights with the bare header give cosine 0.9977 to A, and without it 1.0 to B; the header plus LLM2Vec's instruction marker, which keeps the header out of the pooling as Kimodo's encode path does, gives 1.0 to A (checked 2026-10-23). Vili now applies the header explicitly (`motion-pipeline:ruling:encoder-chat-header-on`). The measurements above stand as measured; read "MNTP" in the A/B account as "the chat header".