Repository navigation
fix(serving): adopted lane footprint from the engine's /props memory_breakdown (card 27fe9f8b, unblocks #4396) - #4459
Conversation
…wn allocation report (/props memory_breakdown) — card 27fe9f8b On the 5090 the serving daemon logged "the lane's footprint could not be read" every minute: on a discrete GPU the only source was the device delta across the launch, and an adopted lane has no spawn baseline (WDDM attributes VRAM to no process, so a process read is not a fallback). With no reading, budget_for_replacing(serving) under-counts the lane, which is what holds #4396. - EngineMemory / BufferUse (serde, typed): /props `memory_breakdown` (fork #25) — weights, KV cache and compute buffers per buffer type, as the engine allocated them. - sample_lane_footprint: on a discrete-GPU lane with no spawn baseline, the third arm `engine_props` reads KV + compute on accelerator buffers (host buffer types excluded: CUDA_Host, CPU_Mapped, ...). Bounded 500 ms localhost read, only on the sampler's interval. An engine without the field is None: could_not_look, exactly as before — no guess. Test: engine_memory_counts_kv_and_compute_on_accelerators_only (the 1.5B's real /props numbers). weight_residency + serving_daemon: 93/93. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
|
Fable: APPROVED at 8c7b718 (the word is on airc). Asking the engine for an adopted lane with no spawn baseline is the right fallback, and it is bounded at 500 ms on the sampler's interval. Please fix before merge (one move): Not blocking:
|
|
CHANGES REQUESTED at 8c7b718 (Cormac), one line. The engine-report fallback itself is right: Blocking: the host prompt cache is subtracted from a VRAM reading. Every source's reading goes into
The device_delta arm has had this since the grant was added; #4459 routes the new reading through it too, which is why I'm raising it here. Fix: pass Non-blocking: 🤖 Generated with Claude Code |
…pt cache; engine_beyond_weights sits above its neighbour's doc (Fable + Cormac on #4459) --cache-ram is host RAM: only the process reading contains it. device_delta and engine_props never saw it, so subtracting it undercounted the per-token cost or retired the record every minute. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
…25 (/props memory_breakdown), so the next continuum install builds the engine this PR reads Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
|
Reviewed at 213bc7a (Cormac). My point is taken: host_cache_bytes is subtracted only for 🤖 Generated with Claude Code |
|
APPROVED at 213bc7a (Cormac), with CI 9/9 green. Recorded for the merge that landed. 🤖 Generated with Claude Code |
On the 5090 the serving daemon logged "the lane's footprint could not be read" every minute: on a
discrete GPU the only source was the device delta across the launch, and an adopted lane has no
spawn baseline (WDDM attributes VRAM to no process, so a process read is not a fallback). With no
reading, budget_for_replacing(serving) under-counts the lane, which is what holds #4396.
memory_breakdown(fork Update README with Node.js requirements and fix packaging #25) — weights, KVcache and compute buffers per buffer type, as the engine allocated them.
engine_propsreads KV + compute on accelerator buffers (host buffer types excluded: CUDA_Host,CPU_Mapped, ...). Bounded 500 ms localhost read, only on the sampler's interval. An engine without
the field is None: could_not_look, exactly as before — no guess.
Test: engine_memory_counts_kv_and_compute_on_accelerators_only (the 1.5B's real /props numbers).
weight_residency + serving_daemon: 93/93.
Pairs with fork #25; the pin moves in the next pin PR together with the other engine fixes before the next install.
🤖 Generated with Claude Code
https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc