diff --git a/docs/motion-pipeline-map.md b/docs/motion-pipeline-map.md index 33d8e7e..9be500c 100644 --- a/docs/motion-pipeline-map.md +++ b/docs/motion-pipeline-map.md @@ -214,7 +214,7 @@ Vili. `` is `--models-root`, `/srv/vili/models` on Yggdrasil. | Text embedding (`/embeddings/text-embeddings.cc`) | `sha256(identity, text)`; the identity names assembly, device, dtype, the three repo revisions, torch, transformers, peft, accelerate, the Kimodo commit and the encoder child's own sha256 | appended on miss; a changed identity misses and leaves old rows inert | the worker's cache. Raven's file (assembly A on GPU) is not carried over | | Clip artifact (`/artifacts//motion*.bvh`, `motion*.fbx`, Kimodo's `meta.json`) | the job id; `clipName` names the FBX's armature, action and take | written once per job, never rewritten. The BVH is the reproducibility unit across host bodies, and the FBX is byte-identical for one BVH on one body. Read back through `GET /motion/artifacts//` | the daemon (export, under the same write gate as generation) from Kimodo's BVH; Blender only converts. Planned by `cut-vili-fbx-export` r3 | | Clip provenance (the job record `gamecult.vili.motion_job.v1`) | the job id | written once when a job ends; it carries the seed used (minted when absent), the worker's model, encoder and Kimodo identity, the export block (Blender version, script sha256, the determinism settings, clip names) and the sha256 of every artifact file | the daemon. Still JSON until `vili-jobs-cultcache` | -| Blender (`blender/` in the release: Blender 5.2.2 LTS linux-x64 plus nine bookworm libraries in `blender/lib`) | the tarball's sha256 and the nine debs' sha256, all `external_inputs` | rebuilt into each release, sealed 0444 with `blender` the one 0555 member; run once per exported clip | the recipe; the daemon spawns it with a fixed environment | +| Blender (`blender/` in the release: Blender 5.2.2 LTS linux-x64 plus sixteen bookworm libraries in `blender/lib`) | the tarball's sha256 and the sixteen debs' sha256 (rulings blender-libs-bundled-in-release and blender-x-libs-bundled-in-release), all `external_inputs` | rebuilt into each release, sealed 0444 with `blender` the one 0555 member; run once per exported clip | the recipe; the daemon spawns it with a fixed environment | | Model weights (`` = `HF_HOME`, hub layout under `hub/`, with `SHA256SUMS` beside it) | repo id and snapshot revision | provisioned by agents on the host, checked once with `sha256sum -c` at provisioning; read-only to Vili (`read_only_paths`); changed only by a new manifest | host provisioning (runbook `gamecult-ops/runbooks/vili-idunn.md`); the worker's identity records the snapshot revisions it loaded | | Worker environment (`python/` in the release: PBS CPython 3.12.15 with the two hash-locked requirement files and Kimodo, MotionCorrection and SOMA-X installed into its own site-packages; no venv) | `cpython-3.12.15+20261021` plus the sha256 of the two lock files, computed by the Idunn entry from the sealed files | rebuilt by the recipe on each release, sealed 0444 with `bin/python3.12` the one 0555 member | the recipe (`worker-python-pbs-in-release`) | | Writer authority over `` | under Idunn: the process write lease Idunn grants this incarnation; run by hand: `/daemon.lock`, a Unix socket the live daemon listens on | lease: granted after the incumbent is fenced, checked every 5 s, lost on fence; lock: taken at start, refused while another daemon answers on it, reclaimed when stale | Idunn (lease); the daemon run by hand (lock). Nothing writes `` before it holds one | @@ -404,7 +404,7 @@ repeats within one body and checks the file's structure. The BVH is the unit com **Blender's libraries travel in the release.** Neither Yggdrasil (trixie) nor the `python-build` runner (bookworm) has Blender's seven X and GL libraries. Installing host packages would leave the build-time test without them, and would make the release depend on an apt step that no recipe can -check. Bookworm's builds run on both bodies, because glibc is backward compatible. So the nine debs +check. Bookworm's builds run on both bodies, because glibc is backward compatible. So the sixteen debs are sha256-pinned `external_inputs` from snapshot.debian.org, which keeps a fixed URL after a point release removes a version from the pool. One small script unpacks their libraries into `blender/lib`. The daemon sets `LD_LIBRARY_PATH` for the Blender child only, because `RUNPATH`