deploy.md section 4 and ledger H4: tier layout default (owner 2026-11-12)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Pavlo Ratushnyi
2026-11-12 16:23:57 +01:00
co-authored by Claude Sonnet 5.5
parent d1e0b431c6
commit 83bdd85bb4
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -109,6 +109,8 @@ The files live in [`deploy/rust-runtime/profiles/`](../deploy/rust-runtime/profi
| `rtx5090-32g-file` (experimental, never auto-selected: `--profile rtx5090-32g-file`) | none (explicit name only) | as `rtx5090-32g` | 262,144 | read-only file (`kar_source: file`; no memfd, no holder; start reads about 1 MB of it when its verification stamp is current) | `resident` | 64 GiB / 62 GB (the 55 GB archive is page cache, not a charge) | as `rtx5090-32g` except an explicit `prefix_cache_mib` 6144; [`kar-file-source.md`](kar-file-source.md): what the file form reads, its integrity guarantees, the A/B (`scripts/e2e/decode/kar-file-ab.sh`, not run) |
| `rtx5090-32g-gguf-ple` (experimental A/B arm, never auto-selected: `--profile rtx5090-32g-gguf-ple`) | none (explicit name only) | as `rtx5090-32g` | 262,144 | **no KAR archive** (`kar_source: none`): not required, checked, sealed or passed; the engine loads `qwen4exp-native-mtp-v1` and reads the PLE rows from GGUF shard 1 (page cache, `LELEKA_PLE_DIRECT=0`) | `resident` | 64 GiB / 62 GB (the 28.8 GB PLE table is page cache) | as `rtx5090-32g` except an explicit `prefix_cache_mib` 6144, no memfd lock/heal; `--kar-fd` is refused; [`experiments/kar-off-ab-5090.md`](experiments/kar-off-ab-5090.md): the paired speed and quality A/B against `rtx5090-32g` (no claim before that page says so) |
**Expert tier layout (owner decision 2026-11-12).** The three 5090 profiles (`rtx5090-32g`, `-file`, `-gguf-ple`) set `LELEKA_ORIGINAL_SERVE_EXPERT_PER_LAYER=no` (the VRAM tier is filled in global rank order, not with the same quota per layer) and `LELEKA_ORIGINAL_SERVE_PCIE_FRAC=0.65` (share of the misses that go over PCIe) as `engine_env` keys; both appear in the `engine environment` line of `leleka up` and in `leleka-serve meta: config` (`expert_per_layer=0`, `pcie_frac=0.65`). Paired 5-pair group A/B on release 02c784249a7e at the 256k configuration: decode +8.2 % (95% CI +6.5..+9.9), ms/round -7.2 %, minimum free VRAM 478 MiB, 0 OOM; it is a placement-class change (the CPU and the GPU round an expert differently), see `docs/experiments/step-ledger.md` H4. The laptop profile `rtx3080-16g` is unchanged. To get the previous layout set `LELEKA_ORIGINAL_SERVE_EXPERT_PER_LAYER=yes` and `LELEKA_ORIGINAL_SERVE_PCIE_FRAC=0.45` in a copy of the profile (`--profile FILE.json`).
Both profiles also carry a `memory` section (prefix cache `auto`, soft/hard floors 4096/2048 MiB, reserve, lock and heal of the sealed memfd): the engine sizes its caches from the memory left after the fixed footprint, sheds and refuses under pressure, and refuses to start with numbers when the footprint does not fit ([`memory-safety.md`](memory-safety.md)). The unit sets `LimitMEMLOCK=infinity`, which is what lets the lock keep the 55 GB memfd out of swap.
Both profiles run `--backend-mode original` and the level-2 archive; the routed-expert bank must be admitted before the Original stack opens, which `leleka-inference` now does from `--expert-source resident|mapped` (see section 10, finding 1). They select documented switches only (budget, context, archive form, the
File diff suppressed because one or more lines are too long