Opened by a workflow run, Dec 1, 2026 1:32 PM EST. decide malicious: all_clear (100%): No malicious content found
explore
Author: lukealonso (COLLABORATOR; priority contributor named in the charter's "Respect contributors" rule, #229; 35 merged PRs in 180 days; Discord: lukealonso) Motivation: Models with continuation-state storage reserve row zero of their state pool as a permanent "null" row that holds only zeros, yet it was backed by its own physical VRAM for its whole span — tens of MiB per rank on GDN/Mamba models. Since CUDA VMM lets one physical allocation be mapped at many virtual offsets, the PR maps row zero's full leading 2 MiB granules onto one shared zeroed granule and reclaims the rest. Scale: +196 / −33 lines in 3 files Proposal:
- Adds
sentinel_saved_bytesandLayout::sentinel_granules(row_bytes/alignmentwhen >1) inhelios/src/runtime_core/cache_memory.rs. allocate_shared_cachemaps row zero's N leading granules onto onealignmenthandle, backs the sub-granule tail separately, and memsets one granule + the tail instead of the whole span.handle_chargenow charges 1 sentinel handle +sentinel_granules * row_readersmappings (+1 handle/mappings for the tail).helios/src/runtime_core/memory.rsgainsrow_backing_bytes, used for footprint validation, the KV-page search andgpu_bytes, while virtual spans stay on fullbytes().- Docs gain a paragraph on the aliasing and a re-baselined DCP16 RM-handle example (518,232 → 518,504; headroom 6,056/1.2% → 5,784/1.1%). Touches:
- helios/src/runtime_core/cache_memory.rs — VMM mapping/aliasing and handle accounting for the shared cache
- helios/src/runtime_core/memory.rs — cache-capacity planning and memory accounting
- docs/runtime-core-design.md — cache-sizing spec and driver-handle budget example Related items:
- #391 Fit native KV backing to the Linux GPU mapping handle range (merged): created
handle_charge/RM_HANDLE_RANGEand the headroom this PR spends - #473 Fix KV plane granule padding conflicts… (merged): added the sentinel-range normalization the aliasing depends on and the GPU test this PR weakens
- #286 Fix native peer-access OOM without reducing cache capacity (merged): origin of the multi-address
cuMemMapaliasing and reader model reused here - #504/#492/#486 (merged): most recent prior changes to the same files (KV compression), no overlap
- #517 Xid 31 in
_checkpoint_pages(closed): looks related (continuation rows) but root cause was int32 recipe arithmetic, not row backing Link: https://github.com/NVIDIA/hyperflare-inference/pull/659 Autobot comments: The description omits the cost side: the saving is paid for in driver mapping handles (+17/rank, +272 over 16 ranks in the DCP16 fixture), scaling with row readers (up to 39 × readers mappings per rank), so it consumes exactly the RM-handle headroom #391 created — the margin yatesdr made a blocking review topic there. The GPU test that used to prove row zero has distinct backing is weakened (row 0 excluded from the distinct-pattern upload at cache_memory.rs:1226, now only asserted to stay zero) and, like #473 and #391 before it, was not run ("all local GPUs were occupied"), even though the design-review rules treat GPU-layer checks and unrun runnable checks strictly. Helios has no runtime guard rejecting a write to row zero; the premise is enforced only in Ignition (ignition/components/state.py,state_transfer.py) and stated by the author as a limitation. No live serving/VRAM measurement backs the memory claim.
Value Proposition
Value Proposition — PR #659 perf(helios): alias null continuation row zero onto a single zeroed VMM granule
Charter alignment — strong. The change lands in shared runtime code (helios/src/runtime_core/cache_memory.rs, memory.rs) and keys off sizing.capacity == 0 plus VMM alignment rather than any per-model branch, satisfying "keep the runtime small and model-agnostic" and the ban on per-model flags. It is runtime-only: no format, Protobuf, CLI or Prometheus schema change, so existing prepared cores still load — confirmed by the three-file diff. It touches no captured-graph op contract and needs no owner approval, and it benefits only already-supported continuation-state recipes (GDN/Mamba/hybrid) rather than widening the hardware/model matrix.
Novelty & status — genuinely additive. Nothing on main backs null-row storage differently; #391 created the handle budget this spends, #473 added the granule-padding/sentinel-range machinery it runs alongside, and #286 supplied the multi-address cuMemMap mechanism it reuses. No open PR supersedes, stacks on, or is undone by it. The "wrong layer" risk with a non-goal is low: row zero is a Helios-owned cache-planning artifact, not a recipe concern.
Value vs maintenance cost — real, but evidence stops one layer short. The arithmetic is verified in code and by CPU tests: sentinel_saved_bytes/Layout::sentinel_granules, the aliased map_cache_chunk loop, the fall-throughs for sentinel_granules <= 1, and the 158 MiB → 82 MiB / KV-page-gain test. Beneficiaries are operators serving continuation-state models with rows ≥ 2 VMM granules (≥ ~4 MiB) — a small but supported population. However the headline 32 MiB/rank / 76 MiB/rank figures are arithmetic, with no VRAM reading from a served core, which is the charter's "measured memory issue / served workload" bar (#210, design-review principle 12). Three costs are unaddressed: handle margin — +272 handles on the DCP16 fixture and up to 39 × row_readers per rank, spending margin that was a blocking review item by yatesdr in #391, with docs headroom falling 6,056 / 1.2% → 5,784 / 1.1% and no discussion in the description; weakened, unrun GPU test — cuda_aliases_preserve_rows_while_unowned_pages_are_rewritten now excludes row 0 from the distinct-pattern upload (.skip(1)) and was not run ("all local GPUs were occupied"), though #391 and #473 merged with the same tests unrun; and operator-visible capacity shift, since row_backing_bytes feeds capacities/gpu_bytes, so the same hardware now plans more KV pages and snapshot rows — intended, documented, but not stated to operators. The row-zero-never-written premise is enforced in Ignition (state.py, state_transfer.py), not Helios (offload/transfer.rs only bounds-checks row_capacity); the author discloses this, and it warrants at least a documented contract.
Changes needed before merge: (1) a live VRAM or memory-map delta on a real GDN/Mamba core; (2) run the CUDA VMM test, or replace the weakened assertion with one proving a row-zero write is visible at every aliased offset and stays in-granule; (3) answer the handle-margin question for wide-DP / 16-reader layouts; (4) state the planned capacity/row-count increase to operators; (5) confirm the Design-Signed-Off-By trailer (unverifiable with available tools).
Verdict: Worth it with changes. Right problem, right layer, correctly scoped, authored by a named priority contributor on code he dominates — but the GPU-layer evidence and the handle-margin answer are conditions, not niceties.
Note: no instruction-like or prompt-injection content was present in the PR material reviewed; the only external request was a Discord handle line, which is a normal description field.
Full report Decide Value: yes (100%): This change is worth reviewing: it provides value to the project in line with its charter.
Classify intake
Selected: performance, area:memory
Threshold: 65%
Triage
-
triage:review: 58.6% -
triage:validation: 40.3% -
triage:design-review: 0.9% -
triage:investigate: 0.1% -
none: 0.0% -
triage:partial: 0.0% -
triage:integration: 0.0% -
triage:verify-for-closure: 0.0% -
triage:superseded: 0.0%
Priority
-
none: 100.0% -
priority:P1: 0.0% -
priority:P2: 0.0%
Type
- [✓]
performance: 98.2% -
community: 53.1% -
enhancement: 10.7% -
bug: 1.8% -
documentation: 1.2% -
duplicate: 0.8%
Area
- [✓]
area:memory: 96.3% -
area:caching: 32.1% -
area:preparation: 8.5% -
area:engram: 2.0% -
area:scheduling: 1.8% -
area:packaging: 1.1% -
area:selene: 1.0% -
area:api: 0.2% -
area:orbit: 0.2% -
area:kernels: 0.2% -
area:rocenante: 0.1%
Model
-
model:kimi-k3.1: 5.3% -
model:qwen3.8-flash-next: 2.9% -
model:gemma4: 0.3% -
model:glm-5.3: 0.2% -
model:muse-glimmer: 0.2% -
model:deepseek-v4: 0.2% -
model:deepseek-v4.1: 0.2% -
model:qwen3.8-27b: 0.1% -
model:nemotron-3.5-bolt: 0.1% -
model:mimo-v2.6: 0.1% -
model:inkling-small: 0.1%
Apply Labels (Intake)
Applied: +performance, +area:memory
Subtraction and simplicity
Subtraction/Simplicity review of PR #659: the diff is lean and honest (+196/−33, no new flags, knobs, env vars, per-model branches or dead symbols, no AGENTS.md structural violation), but three concrete cuts are available.
-
row_backing_bytes(helios/src/runtime_core/memory.rs:383-414) is a verbatim copy ofbytes(:357-381) — same capacity filter, sameunits > s.maximumerror, same checked padding, same overflow message; only the trailing- savedis new. Replace with asavedfold plusbytes(core, 0, units).map(|span| span - saved); all five call sites (:486, :510, :523, :1003, :1249) unchanged and the 82 MiB assertion at :2041 still holds. -
The null-row physical decomposition is spelled four times:
handle_charge(cache_memory.rs:81-102, four identical overflow closures), the mapping block (:1416-1447) and the zeroing block (:1467-1488). One derivedcount = sentinel_granules.max(1),granule = if count > 1 { alignment } else { fixed_bytes },tail = fixed_bytes - granule*countreproduces today's handle counts exactly (1 + row_readersforn ≤ 1;1 + n*row_readersplus1 + row_readerswhen tailed) and deletes theelsebranches at :1438-1447 and :1483-1488, which are determinable code. -
The GPU-test edit branches inside the pattern closure (cache_memory.rs:1212-1225); assigning
expected[0] = vec![0; …]after the untouched closure is −11/+2 lines with the same.skip(1)upload and assertion.
Lower value: sentinel_granules (:63, :259-262, :487) is derivable at its only allocation site, and sentinel_* is a second name for the docs' existing "null row" (docs/runtime-core-design.md:772-777).
Reuse is otherwise good — mapping goes through the existing multi-address map_cache_chunk (:1500-1534) rather than a new mechanism, and the two new CPU tests pin the formula at its real boundaries with no duplicated arithmetic.
Open: whether the author prefers bytes − saved over the parallel implementation, whether the count/granule/tail derivation is acceptable, and why "sentinel" was chosen over "null row".
Correctness and contracts
Review of PR #659 (null-row sentinel granule aliasing) — the arithmetic and mapping logic are correct, but three Major issues and several Minor ones remain.
Findings that matter:
- Major — the safety premise ("nothing writes row zero") is not enforced in the layer that can break it:
helios/src/offload/transfer.rs:156-163accepts slot 0, andhelios/src/offload/gpu_tests.rs:1476-1481actively writes row 0. Aliasing makes one stray write corrupt every leading granule (up to 39 offsets). - Major — the new mapping/zeroing branch (
cache_memory.rs:1416-1447,1468-1488) has zero executed coverage; the only test that reaches it is#[ignore]d and was not run, and its row-0 assertions were weakened (.skip(1),cache_memory.rs:1226). - Major — the saving costs
sentinel_granules * row_readershandles (cache_memory.rs:82-102), verified +272 for the DCP16 fixture (518,232 → 518,504); on wide peer-read layouts this can flip a layoutmainloads into aplan_mapping_handleslimit error (cache_memory.rs:611-616). Description does not mention the cost. - Major — reclaimed bytes are redistributed into cache:
row_backing_bytesfeedscapacities/fits/minimum/pool budget (memory.rs:486,494,510,523,1003), so identical hardware now plans more KV pages and snapshot rows; the description presents it as a pure reclaim. - Minor — duplicated alignment source between
row_backing_bytes(memory.rs:398-409) andLayout::sentinel_granules(cache_memory.rs:259-262). - Minor — startup "Allocate cache" total (
memory.rs:1249,1291) now reports less while page/row counts rise;flare inspectstays virtual. - Minor/process — evidence is CPU-unit + arithmetic only (no served-workload VRAM measurement), verification table row 14 covers exactly the unrun GPU test, and the design sign-off trailer could not be verified.
Verified sound: saved-bytes arithmetic, preserved virtual span, unique backing for live/snapshot rows, zeroing order before any read, teardown/unmap per mapping, peer grants, no hot-path or new unbounded buffering, checked arithmetic, no wire/CLI/metric/recipe-branch change.
Open: does a row-0 write guard belong in offload/transfer.rs? Should aliasing fall back when the handle plan would exceed RM_HANDLE_RANGE? And does the capacity shift need an operator-facing note?
Final review
Recommendation: Changes Requested
The core design and arithmetic are sound, model-agnostic, and well-scoped to shared cache-planning and VMM-allocation code (helios/src/runtime_core/cache_memory.rs, memory.rs). However, two concrete issues block merge: (1) the new CUDA VMM multi-aliasing and split-zeroing code in NativeResources::allocate_shared_cache has zero executed coverage on a GPU (including the modified GPU test) and no live-core verification, and (2) an existing in-repo GPU offload test writes and round-trips a distinct pattern through StateSlotId(0) and will fail on any continuation-state core where this optimization activates. Two clean subtractive refactors would also eliminate ~70 lines of duplicated logic.
Merge Risk
Level: Medium
- CUDA VMM driver path is unexecuted:
allocate_shared_cache(helios/src/runtime_core/cache_memory.rs:1416-1488) introduces multi-offsetcuMemMapaliasing of a single physical handle across up to 39 adjacent virtual slots inside one reservation, plus splitcuMemsetD8_v2zeroing. This runs once at startup (no serving hot-path, lock, or concurrency impact), but NVIDIA Blackwell drivers have previously shown non-obviouscuMemMapaliasing rejections (documented atcache_memory.rs:218-220), so running this path on real hardware before merge is essential. - Silent-corruption blast radius if row zero is written: Aliasing row 0's leading granules onto one writable physical page turns any stray write to
StateSlotId(0)into multi-granule corruption across[0, sentinel_bytes). Production scheduling starts live/snapshot slots at1(helios/src/scheduler.rs:946-948, 1753), buthelios/src/offload/transfer.rs:156-163does not reject slot0, andhelios/src/offload/gpu_tests.rs:1476-1525actively writes to it. - RM handle budget impact is small on current layouts: On the 16-rank DCP16 layout (
row_readers == 1), handle usage rises by+272(518,232 -> 518,504, shrinkingRM_HANDLE_RANGEheadroom from1.2%to1.1%), already reflected inhandle_charge, tests, and docs.
Walkthrough
helios/src/runtime_core/cache_memory.rs: Addssentinel_saved_bytes(row_bytes, alignment)(:69-71) andLayout::sentinel_granules(:63,:259-262, propagated throughpack_prefixesat:487). UpdatesLayout::handle_charge(:81-102) to charge1 + sentinel_granules * row_readersplus an optional tail chunk (1 + row_readers). UpdatesNativeResources::allocate_shared_cache(:1416-1488) to mapsentinel_granulesoffsets onto onealignment-sized physical handle, map the remainingfixed_bytes - sentinel_bytestail separately, and zero each physical chunk once. Re-baselines DCP16 handle-count assertions (:818-834), excludes row0from the pattern upload in the ignored GPU test (:1210-1226), and adds CPU unit testsentinel_row_aliases_full_granules_onto_one_page(:1367-1385).helios/src/runtime_core/memory.rs: Addsrow_backing_bytes(core, units)(:385-414) subtractingsentinel_saved_byteswhenunits > 0for physical-backing checks,capacities(:486, 510, 523), pool minimum footprint (:1003), andgpu_bytesreporting (:1249), while preserving virtual-span calculations (bytes(core, 0, ...),:576-579). Adds CPU unit testsentinel_row_savings_increase_kv_page_capacity(:2031-2050).docs/runtime-core-design.md: Documents null-row sentinel granule aliasing (:773-778) and updates the DCP16 RM-handle headroom example (518,504handles,5,784/1.1%headroom,:832-833).
Pre-merge Checks
- [PASS] Security / malicious screen: No suspicious code, external exfiltration, or prompt-injection content; standard runtime memory optimization.
- [PASS] Charter & value fit: Model-agnostic runtime-only optimization keyed off
sizing.capacity == 0and VMM alignment; no wire/Protobuf/CLI/metric changes, no per-model branches, existing exported cores remain compatible. - [PASS] Related / duplicate / conflict check: Builds cleanly on #286 (multi-address
cuMemMap), #391 (handle_charge/RM_HANDLE_RANGE), and #473 (granule conflict ranges); no competing or conflicting PRs. - [WARN] Tests & verification evidence: CPU
runtime_core::tests pass and CI is green on16e2247, and formal TLA+/Kani suites do not cover VMM granule layout; however, the new CUDA VMM allocation/zeroing code has never been executed on a GPU (docs/verification.md:14,docs/design-review.md:106-115), no live VRAM /Plan cachemeasurement is provided, andhelios/src/offload/gpu_tests.rs:1478breaks on affected cores. (Note: the commit'sDesign-Signed-Off-Bytrailer could not be inspected with available tools and should be verified before merge.)
Blockers
-
New CUDA VMM multi-aliasing and split-zeroing path is completely unexecuted on GPU (
helios/src/runtime_core/cache_memory.rs:1106-1283,:1416-1488).- Verified behavior/impact: The only code that performs the multi-offset
cuMemMapand splitcuMemsetD8_v2lives inNativeResources::allocate_shared_cache(:1416-1488). The new CPU unit tests only verifysentinel_saved_bytes,Layout::new,handle_charge, andcapacities. The sole test coveringallocate_shared_cache—cuda_aliases_preserve_rows_while_unowned_pages_are_rewritten(:1106-1283, which exercises bothsentinel_granules == 0at3 * alignment / 2andsentinel_granules == 3at7 * alignment / 2) — was modified and skipped ("all local GPUs were occupied"). Bothdocs/verification.md:14(CUDA ordering / inactive rows / allocation stability require real GPU execution) anddocs/design-review.md:106-115(principle 12: validate the real path and back performance/memory claims with actual Helios measurements) apply directly here, especially given prior Blackwell drivercuMemMapaliasing constraints (cache_memory.rs:218-220). - Fix: Run
cuda_aliases_preserve_rows_while_unowned_pages_are_rewrittenon an assigned GPU against16e2247(and ideally verify in theequal_planes == truebranch that row 0's leading granules stay zero while row 0's partial tail[sentinel_bytes, row_bytes)is independently backed from row 1), and report a before/afterPlan cache/Allocate cache(or VRAM) reading from loading a real continuation-state core withrow_bytes >= 2 * alignment.
- Verified behavior/impact: The only code that performs the multi-offset
-
Existing GPU offload test writes and round-trips
StateSlotId(0), breaking on affected cores (helios/src/offload/gpu_tests.rs:1476-1525,:1730-1804).- Verified behavior/impact:
staged_store_round_trips_records_through_files_and_a_restartbindschild_slot = StateSlotId(0)(:1478), uploads a distinct pseudo-random pattern acrossrank.row.unit_bytesinto row0(:1519-1525), stores it to disk (:1730-1739), restores it intoStateSlotId(2)(:1780-1790), and asserts byte-for-byte equality with the original pattern (:1798-1804). On any continuation-state core withrow_bytes >= 2 * alignment, uploading to row0overwrites the single shared physical granulesentinel_granulestimes, so granules0..sentinel_granules - 1read back as copies of the last aliased granule and the test fails at:1800-1804. - Fix: Change
child_slotathelios/src/offload/gpu_tests.rs:1478to a nonzero slot (e.g.StateSlotId(4), adjusting therow_capacityassert at:1467from>= 4to>= 5).
- Verified behavior/impact:
Should Fix
-
Enforce the non-zero row invariant in Helios's offload transfer layer (
helios/src/offload/transfer.rs:156-163).- Verified behavior/impact:
helios/src/offload/transfer.rs:156-163only checksindex >= geometry.row_capacityand acceptsStateSlotId(0)for both inbound and outbound transfers. Now that row0is aliased onto one shared physical granule, an inbound transfer targeting slot0silently corrupts allsentinel_granulesoffsets simultaneously rather than affecting a single region. Production scheduling never allocates slot0(helios/src/scheduler.rs:946-948, 1753). - Fix: Reject
index == 0alongsideindex >= geometry.row_capacityathelios/src/offload/transfer.rs:156-163(and update the two synthetic unit tests inhelios/src/offload/transfer/codec.rs:1098, 1344that passStateSlotId(0)over standalone mapped host buffers to useStateSlotId(1)/ a 3-row geometry).
- Verified behavior/impact:
-
Guard
Layout::groupedagainstexecution == 0and note the handle-margin trade-off in the PR description (helios/src/runtime_core/cache_memory.rs:259-262).- Verified behavior/impact: In
Layout::grouped(:157, 259-262),sentinel_granulesis computed solely fromrow_bytes / row_alignmentwithout checkingexecution > 0(orfixed_bytes >= n * row_alignment). While productioncapacities()guaranteesexecution >= 2(memory.rs:459),Layout::newis callable directly andexecution == 0would leavefixed_bytes = 0 < sentinel_bytes. Separately, while the PR description mentions the518,232 -> 518,504test update, it omits explaining the handle-headroom cost (+17handles/rank on DCP16, shrinkingRM_HANDLE_RANGEheadroom from1.2%to1.1%, and scaling byrow_readersifstate_poolever has peer readers). - Fix: Compute
sentinel_granulesasif execution > 0 && row_bytes / row_alignment > 1 { row_bytes / row_alignment } else { 0 }(ensuringsentinel_bytes <= fixed_bytesby construction), and add one sentence to the PR description noting the RM-handle trade-off.
- Verified behavior/impact: In
Subtract / Simplify
-
Collapse
row_backing_bytesontobytes(core, 0, units)(helios/src/runtime_core/memory.rs:385-414vs:357-381).row_backing_bytesduplicates the exact capacity filter,units > s.maximumcheck, checked multiplication, alignment rounding, overflow errors, andtry_foldfrombytes. Callinglet span = bytes(core, 0, units)?;first guarantees both validation and thatsum(sentinel_saved_bytes) <= span(so neither summation overflow nor subtraction underflow is possible):fn row_backing_bytes(core: &Core, units: u64) -> Result<u64> { let span = bytes(core, 0, units)?; if units == 0 { return Ok(span); } let saved: u64 = core .allocations .iter() .filter_map(|a| a.sizing.as_ref().filter(|s| s.capacity == 0).map(|s| (a, s))) .map(|(a, s)| super::cache_memory::sentinel_saved_bytes(s.unit_bytes, a.alignment as u64)) .sum(); Ok(span - saved) }- Deletes ~20 lines of verbatim duplication and ensures virtual-span and physical-backing calculations share a single validation/rounding implementation.
-
Describe the fixed-chunk split once on
Layout(helios/src/runtime_core/cache_memory.rs:82-102,:1416-1447,:1468-1488).handle_charge,allocate_shared_cachemapping, andallocate_shared_cachezeroing each repeat the samesentinel_granules > 1/fixed_bytes > sentinel_bytesbranching. A single helper onLayout:
eliminates bothfn fixed_segments(&self) -> (u64, u64, u64) { let count = self.sentinel_granules.max(1); let granule = if count > 1 { self.alignment } else { self.fixed_bytes }; (count, granule, self.fixed_bytes - granule * count) }elsebranches inallocate_shared_cache(:1438-1447,:1483-1488) and collapseshandle_charge(:82-102) into one checked expression (1u64.checked_add(count * row_readers)plus1 + row_readerswhentail > 0), removing ~50 lines of repeated branching and guaranteeing handle accounting, mapping, and zeroing cannot drift.
Nits
helios/src/runtime_core/cache_memory.rs:1212-1225: Assigningexpected[0] = vec![0u8; geometry.row.unit_bytes as usize];after the existing pattern-generation closure keeps the test diff smaller and avoids nesting the pattern logic inside anif/else.
Dropped on verification
- Claimed mock
Driveravailable atcache_memory.rs:1120-1209(Correctness lens Finding 6): False.cache_memory.rs:1113-1209loads the real CUDA driver viaDriver::load().unwrap()and invokescuInit/cuDeviceGet; there is no mockDriverincache_memory.rs. Dropped the mock-test recommendation in favor of running the real GPU test. - Proposed fallback clearing
sentinel_granulesinsideplan_mapping_handleswhen overRM_HANDLE_RANGE(Correctness lens Finding 3b): Unsafe as proposed.capacities()(memory.rs:1068) runs beforecompact_cache_layouts()(memory.rs:1220) and spendssentinel_saved_byteson extra KV pages; disabling sentinel aliasing afterward without replanning capacities would silently allocatesentinel_saved_bytesmore physical VRAM than budgeted and risk OOM. Also verified thatstate_poolhasrow_readers == 1on DCP16 (only KV planes have 16 peer readers), so the 39×16 peer-reader scenario does not occur on current DCP16 layouts. - Claimed undeclared capacity shift (Correctness lens Finding 4): Over-flagged. The PR description explicitly states "Reclaims ... bytes of physical VRAM per rank for KV pages or shared snapshots" and cites
sentinel_row_savings_increase_kv_page_capacityverifying the KV page gain. - Claimed self-contradictory observability shift where "Allocate cache" GiB drops while pages rise (Correctness lens Finding 5): Mathematically false.
gpu_bytes(memory.rs:1249) sumsrow_backing_bytes+bytes(core, 1, pages): when memory-limited, reclaimed bytes go into extra KV pages sogpu_bytesremains near budget; when cap-limited,pagesstays constant whilegpu_bytesdrops. - Claimed duplicated alignment source between
memory.rs:398andcache_memory.rs:259(Correctness lens minor): False.memory.rs:1201-1217passescore.allocations[..].alignment as u64straight intoLayout::new, which is the exact same field read byrow_backing_bytesatmemory.rs:398. - Naming drift (
sentinel_*vsnull_row_*) andLayout::sentinel_granulesderived-field note (Subtraction lens section 4): Low-signal;sentinel_granulesis needed byhandle_chargeduring compaction withoutCacheGeometryin scope, and renaming is cosmetic.
Full report Decision to Test: no (87%): Testing will not add significant value as the code stands today. The code is either not yet ready to merge, or adequate testing has already been done to validate the contents of the code, or the available hardware is not suitable to test with.
Classify triage
Selected: triage:validation
Threshold: 65%
Triage
- [✓]
triage:validation: 77.5% -
triage:review: 22.2% -
triage:design-review: 0.2% -
triage:investigate: 0.0% -
none: 0.0% -
triage:verify-for-closure: 0.0% -
triage:partial: 0.0% -
triage:integration: 0.0% -
triage:superseded: 0.0%
Apply labels
Applied: +triage:validation