From 5098672aee2db4d83a9e58373e719d977c1cc150 Mon Sep 17 00:00:00 2001 From: gearwave00001 Date: Tue, 20 Oct 2026 08:40:31 -0500 Subject: [PATCH] =?UTF-8?q?docs(ref2va):=20embedding-placement=20vram=20is?= =?UTF-8?q?=20not=20viable=20at=20TP2=20=E2=80=94=20aborts,=20KV=3D0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Follow-up to the link-bound finding: tried --embedding-placement vram to take the 1.45GiB/rank embedding read off the gen4 x8 link. It resolves to VRAM but starves the KV cache: static weights fill the whole per-card weight budget -> every MoE expert streams + vram_kv=0 MiB -> startup aborts (invalid argument). So the shipped embedding-in-ram default is the trade that keeps VRAM for KV+experts; forcing it to vram trades a small streaming cost for a catastrophic one. No rows produced (aborted before VRAM claim). Cards stayed 61MB. Co-Authored-By: Claude --- docs/NOTE-REF2VA.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/NOTE-REF2VA.md b/docs/NOTE-REF2VA.md index d66b3d2c..2acfb550 100644 --- a/docs/NOTE-REF2VA.md +++ b/docs/NOTE-REF2VA.md @@ -504,6 +504,21 @@ on diffusion, so the thermal/power saving is nearly free. (`power1_input` isn't sustained watts weren't logged — `gpu_busy_percent` is the load signal. Uncapped logs: `build/tmp/ex10/{clock_sampler_300w.log,bench2_uncapped.log}`.) +**Can we dodge the link by forcing the embedding into VRAM? No — it doesn't start (2026-10-20).** The natural +follow-up to the link-bound finding is `--embedding-placement vram`: take the 1.45 GiB/rank embedding read off +the link. At this box's TP2 config it is **not viable**. The table does resolve to VRAM (`placement: token +embedding (1.45 GiB a rank) vram: as asked`), but then the weight-budget resolver leaves the **static +(non-expert) weights filling the entire per-card weight budget**, so *"every expert streams from host memory +and the KV cache gets nothing"*: `vram_kv resolved to 0 MiB`, and Radiance **aborts at startup** (`E startup +stopped: invalid argument`; the resolver's own advice: *"use more cards or a smaller --max-num-batched-tokens"*). +So the shipped `ram` default is **not a naïve inefficiency — it is the trade that leaves VRAM for the KV cache ++ expert residency**. Forcing it to VRAM trades a *small* streaming cost (the embedding) for a *catastrophic* +one (all MoE experts streamed + zero KV cache). The two link-traffic sources (embedding reads, expert streaming) +trade against each other through the VRAM budget, and the balanced point is the default. The process aborted +before any VRAM was claimed (cards stayed at 61 MB), so no benchmark rows were produced; a reduced +`--max-num-batched-tokens` might coax it up, but that changes the batch config and is no longer apples-to-apples +with the 215 W baseline. Log: `build/tmp/ex10/server_vemb.log`. + ## #8 kR2VCond keyframe-pin (FL2VA) — disposition: SHIPPED + device-verified (2026-10-19) **Supersedes the earlier "left optional, not wired" disposition.** The user elevated FL2VA from optional to a