Repository navigation
Retain bounded timing-refresh credit across idle and exclude readiness wait - #540
FujitsuPolycom wants to merge 1 commit into
Conversation
|
A case file has been opened for 540. Future reviews will auto-run 90 minutes after code updates are pushed.
|
Autobot ReviewFull Review for Agents · Value Proposition · Case File Recommendation: Changes RequestedOne blocker: wide copy-verify graphs are silently relabelled as MTP on the only core-export path, so the feature never runs on an exported core. Commit Blockers:
Should fix:
Subtract / Simplify:Could remove ~550–685 of +3,965 added lines:
Nits:4 nits To opt out, include #autobot:ignore in your post or comment. |
7ca5430 to
1401971
Compare
When Helios dispatches a wide copy-verify round (`draft_source=COPY_DRAFT`, `W=16` or `W=24`) backed by a long prompt or output match, running the 3-layer `DSpark` drafter, `draft_head`, 7-step `Markov` head, `confidence_head`, and `PreparedCausalPrefixAllocation` adds wasted draft latency before verifying host-supplied copy tokens. Skipping the draft stages while verifying all `W` tokens through the full 40-layer target decoder and updating `PreparedContext` for every accepted token preserves exact `0-ULP` target distribution parity and keeps DSpark's sliding-window context KV exact for subsequent learned-draft rounds. Before this change, `PreparationConfig` in `hyperflare_recipes/recipes/deepseek41/bootstrap.py` prepared only DSpark-backed speculative rounds (`W <= 8`), `SpeculativePreparation` did not size `copy_token_ids` for wider copy rounds, and `PreparedParallelDraftRound.verify` always read active lane limits from `o.inputs.query_lengths`. This commit: - Adds `copy_draft_tokens` on `SpeculativePreparation` (`hyperflare_recipes/components/dspark.py`) to size `copy_token_ids` to `max(7, draft_tokens, copy_draft_tokens)` and expose the four copy-proposal buffers (`copy_token_ids`, `copy_token_count`, `copy_expected_consumed`, `copy_generation`) via `buffers()` (aligned with PR local-inference-lab#48). - Adds an optional `token_limits` override on `PreparedParallelDraftRound.verify` (plus `DraftProposalState.copy_offered_mask` and the copy-proposal validation/point-mass overlay helpers shared with PR local-inference-lab#48 so this branch compiles and passes tests cleanly atop `main`) and introduces `PreparedCopyOnlySpeculativeRound` in `hyperflare_recipes/components/parallel_draft.py`, allocating a persistent 1-element `int64` device tensor `self.local_vocab_start` in `__init__` (so vocabulary-parallel TP ranks bind per-rank offsets via `USE_VOCAB_START_PTR` without baking a rank-0 Dynamo guard), skipping `DSpark`, `Markov`, `confidence_head`, and `PreparedCausalPrefixAllocation`, validating copy freshness, grammar gating, and in-vocab contiguity, applying point-mass `q = 1.0` proposals without mutating host-uploaded `query_lengths`, running target verification (including `vocabulary_parallel` sharded tile masses), committing KV pages, SWA rings, and `CompletionOutputs`, and executing `PreparedContext` over accepted target hidden states. - Adds opt-in `copy_verify_shapes: tuple[tuple[int, int], ...] = ()` on `PreparationConfig` in `hyperflare_recipes/recipes/deepseek41/bootstrap.py` with strict shape validation (`batch` in `batch_capacities(max_active)`, `width > max(speculative_widths)`, `width <= 64`, `batch * width <= speculative_token_capacity`), wires `copy-speculative{B}x{W}` graphs (`draft_source=2`, `confidence_width=0`, `draft_tokens=W-1`, no `speculative_prefix_limits`), updates `completion_token_capacity`, collective runtimes, verification samples, `server_config`, and keeps `prepare_contract(..., rows=max(config.speculative_widths))` so `state_rows_per_request` remains 8 with zero extra state-pool storage. - Adds 16 CPU and `make_fx` unit tests in `tests/recipes/test_deepseek41_sam_wide_skip.py`. Default `copy_verify_shapes=()` leaves catalog graphs, buffer dimensions, `state_rows_per_request`, and execution behavior 100% identical to the preceding revision. Enabling `copy_verify_shapes` (for example `((1, 16), (1, 24), (2, 16), (4, 16))`) exposes copy-only wide graphs requiring zero extra target scratch memory beyond the existing `P <= 64` verify arena and zero extra state-pool rows. Evidence and limits: - CPU pytest (`CUDA_VISIBLE_DEVICES=""`, atop `main` `24849d9`) against `NVIDIA/hyperflare-inference#540` (`GraphSignature.draft_source`): `tests/recipes/test_deepseek41_sam_wide_skip.py` (16 passed, 0 failed, covering `W=16`/`W=24` full acceptance, 15-bit and 23-bit `copy_offered_mask`, `PreparedContext` exact update, partial rejection across positions `[0, 1, 7, 14, 15, 22, 23]`, freshness/grammar/contiguity/non-mutation, exact stochastic rejection marginal with negative sensitivity check, 4-rank `vocabulary_parallel` sharded tile verification, persistent `local_vocab_start` tensor binding, and `make_fx` tracing for `W=16` and `W=24`). - Default `copy_verify_shapes=()` preserves baseline DeepSeek-V4.1 Flash TP4 export and `flare run` serving on `4x RTX PRO 6000 Blackwell` (SM120, PCIe Gen5). Non-empty `copy_verify_shapes` (`W=16`/`W=24`) has CPU and `make_fx` verification only and remains pending live multi-GPU capture, export, and serving qualification (matching `NVIDIA/hyperflare-inference#540`). Discord: Dooner Design-Signed-Off-By: Antigravity (Gemini 4 Neon); design-review=8fdd Signed-off-by: FujitsuPolycom <[email protected]>
Autobot ReviewFull Review for Agents · Value Proposition · Case File Recommendation: Changes RequestedOne blocker; the third commit's feature cannot run on the path it was built for. Commit Blockers:
Should fix:
Subtract / Simplify:Could remove ~500–600 of +3,968 added lines:
Nits:5 nits To opt out, include #autobot:ignore in your post or comment. |
|
Commit 1b0db22 ("Recover stale Helios graph costs ...") stores a zero-duration expected value on each Counting Before this PR those passes make one evaluation per shape (or batch capacity) and lane; the zero-duration values add the rest. A suggestion: compute the token forecast once per lane and price it at both durations. This gives the same values bit for bit, since it is the expression @@ -1236,11 +1245,14 @@ impl RequestScheduler {
}
}
Some(kind) if kind == decode => {
- decoders[count] = (
- slot,
- if optimistic { values[slot].decode(self.optimistic_tokens(r, self.speculative_tokens(r, width)), duration_ns as f64 / 1e6) }
- else { self.lane_value(r, decode, width, duration_ns, values[slot]) },
- );
+ // One forecast prices the lane at this duration and at zero duration.
+ let tokens = if optimistic {
+ self.optimistic_tokens(r, self.speculative_tokens(r, width))
+ } else {
+ self.expected_speculative_tokens(r, self.lane_tokens(r, decode, width))
+ };
+ decoders[count] = (slot, values[slot].decode(tokens, duration_ns as f64 / 1e6));
+ zero_duration[slot] = values[slot].decode(tokens, 0.0);
count += 1;
}
_ => {}
@@ -1266,14 +1278,7 @@ impl RequestScheduler {
let mut refresh_expected = decoders[..count]
.iter()
.filter(|(s, _)| mask & (1 << s) != 0)
- .map(|&(slot, _)| {
- let r = self.slots[slot].request.as_ref().unwrap();
- if optimistic {
- values[slot].decode(self.optimistic_tokens(r, self.speculative_tokens(r, width)), 0.0)
- } else {
- self.lane_value(r, decode, width, 0, values[slot])
- }
- })
+ .map(|&(slot, _)| zero_duration[slot])
.sum::<f64>();
if let Some((slot, value)) = prompt {
mask |= 1 << slot;With it both tests pass, and the helios This is independent of #547. If #547 lands too, the forecast here would come from its per-pass curve cache instead of Full diff against this PR's head (fix, test-only counter, two tests)diff --git a/helios/src/scheduler/policy.rs b/helios/src/scheduler/policy.rs
index 9f586503..3e28842e 100644
--- a/helios/src/scheduler/policy.rs
+++ b/helios/src/scheduler/policy.rs
@@ -1010,6 +1010,7 @@ impl RequestScheduler {
return;
};
let mut offers = [(0usize, 0.0); REQUEST_LANES];
+ let mut zero_duration = [0.0; REQUEST_LANES];
let mut count = 0;
for slot in bits(mask) {
let r = self.slots[slot].request.as_ref().unwrap();
@@ -1038,10 +1039,15 @@ impl RequestScheduler {
if kind == GraphKind::Vision && capacity < r.vision_patches[0] {
continue;
}
- offers[count] = (
- slot,
- self.lane_value(r, kind, capacity, duration_ns, values[slot]),
- );
+ let value = if matches!(kind, GraphKind::Decode | GraphKind::Speculative) {
+ // One forecast prices the lane at this duration and at zero duration.
+ let tokens = self.expected_speculative_tokens(r, self.lane_tokens(r, kind, capacity));
+ zero_duration[slot] = values[slot].decode(tokens, 0.0);
+ values[slot].decode(tokens, duration_ns as f64 / 1e6)
+ } else {
+ self.lane_value(r, kind, capacity, duration_ns, values[slot])
+ };
+ offers[count] = (slot, value);
count += 1;
}
if count == 0 {
@@ -1082,6 +1088,8 @@ impl RequestScheduler {
.unwrap_or_else(|| (selected, ValueRate::new(duration_ns, expected, age_price)));
let expected = if duration_ns == 0 || kind.is_prefill() {
expected
+ } else if matches!(kind, GraphKind::Decode | GraphKind::Speculative) {
+ bits(selected).map(|slot| zero_duration[slot]).sum()
} else {
bits(selected)
.map(|slot| {
@@ -1207,6 +1215,7 @@ impl RequestScheduler {
continue;
};
let mut decoders = [(0usize, 0.0); REQUEST_LANES];
+ let mut zero_duration = [0.0; REQUEST_LANES];
let mut count = 0;
let mut prompt: Option<(usize, f64)> = None;
for (slot, entry) in self.slots.iter().enumerate() {
@@ -1236,11 +1245,14 @@ impl RequestScheduler {
}
}
Some(kind) if kind == decode => {
- decoders[count] = (
- slot,
- if optimistic { values[slot].decode(self.optimistic_tokens(r, self.speculative_tokens(r, width)), duration_ns as f64 / 1e6) }
- else { self.lane_value(r, decode, width, duration_ns, values[slot]) },
- );
+ // One forecast prices the lane at this duration and at zero duration.
+ let tokens = if optimistic {
+ self.optimistic_tokens(r, self.speculative_tokens(r, width))
+ } else {
+ self.expected_speculative_tokens(r, self.lane_tokens(r, decode, width))
+ };
+ decoders[count] = (slot, values[slot].decode(tokens, duration_ns as f64 / 1e6));
+ zero_duration[slot] = values[slot].decode(tokens, 0.0);
count += 1;
}
_ => {}
@@ -1266,14 +1278,7 @@ impl RequestScheduler {
let mut refresh_expected = decoders[..count]
.iter()
.filter(|(s, _)| mask & (1 << s) != 0)
- .map(|&(slot, _)| {
- let r = self.slots[slot].request.as_ref().unwrap();
- if optimistic {
- values[slot].decode(self.optimistic_tokens(r, self.speculative_tokens(r, width)), 0.0)
- } else {
- self.lane_value(r, decode, width, 0, values[slot])
- }
- })
+ .map(|&(slot, _)| zero_duration[slot])
.sum::<f64>();
if let Some((slot, value)) = prompt {
mask |= 1 << slot;
diff --git a/helios/src/scheduler/policy_tests.rs b/helios/src/scheduler/policy_tests.rs
index b3f2f4dd..d11101cb 100644
--- a/helios/src/scheduler/policy_tests.rs
+++ b/helios/src/scheduler/policy_tests.rs
@@ -6285,3 +6285,45 @@ fn attempted_stale_shapes_rotate_without_starvation_when_timing_is_invalid() {
// Once all feasible stale shapes are in Tier 1, oldest-attempt rotates back to 8192.
invalid_probe(&mut s, 8192);
}
+
+
+#[test]
+fn mixed_refresh_value_reuses_each_decoding_lanes_forecast() {
+ // A decoding lane's zero-duration refresh value uses the token forecast its
+ // duration-priced value already computed, so pricing both adds no curve evaluation.
+ let shapes = [(2, 3, 64, MS), (2, 8, 64, MS), (4, 3, 64, MS), (4, 8, 64, MS), (8, 8, 64, MS)];
+ let mut s = mixed_engine(8, true, &shapes);
+ let decoding = fixed_host_requests(&mut s, &[32, 32, 32, 32]);
+ let (values, age_price, _) = s.lane_values(s.window_remaining().unwrap());
+ let mut candidates = Vec::new();
+ super::rounds::CURVE_EVALUATIONS.set(0);
+ s.mixed_candidates(&mut candidates, &values, age_price, false);
+ let evaluations = super::rounds::CURVE_EVALUATIONS.get();
+ assert!(candidates.iter().any(|c| c.kind == GraphKind::Mixed && c.expected > 0.0));
+ assert!(
+ evaluations <= shapes.len() * decoding.len(),
+ "{evaluations} curve evaluations for {} mixed shapes and {} decoding lanes",
+ shapes.len(),
+ decoding.len(),
+ );
+}
+
+#[test]
+fn decode_refresh_value_reuses_each_decoding_lanes_forecast() {
+ // Without speculative widths, add_candidate prices each decoding lane once per batch
+ // capacity; its zero-duration refresh value must reuse that forecast.
+ let mut s = engine(8, false);
+ let decoding = fixed_host_requests(&mut s, &[32, 32, 32, 32]);
+ let batches = crate::execution::BATCH_CAPACITIES.iter().take_while(|b| **b <= 8).count();
+ let (values, age_price, _) = s.lane_values(s.window_remaining().unwrap());
+ let mut candidates = Vec::new();
+ super::rounds::CURVE_EVALUATIONS.set(0);
+ s.candidates(&mut candidates, &values, age_price);
+ let evaluations = super::rounds::CURVE_EVALUATIONS.get();
+ assert!(candidates.iter().any(|c| c.kind == GraphKind::Decode && c.expected > 0.0));
+ assert!(
+ evaluations <= batches * decoding.len(),
+ "{evaluations} curve evaluations for {batches} decode batch capacities and {} decoding lanes",
+ decoding.len(),
+ );
+}
diff --git a/helios/src/scheduler/rounds.rs b/helios/src/scheduler/rounds.rs
index 65e0493a..4b4324ec 100644
--- a/helios/src/scheduler/rounds.rs
+++ b/helios/src/scheduler/rounds.rs
@@ -19,6 +19,12 @@ const SURPLUS_HISTORY_CAPACITY: usize = 256;
const SURPLUS_MIN_SAMPLES: usize = 4;
const SURPLUS_FACTOR_MAX: f64 = 2.0;
+#[cfg(test)]
+thread_local! {
+ /// Powered-curve evaluations on this thread, for tests that bound planning work.
+ pub(super) static CURVE_EVALUATIONS: std::cell::Cell<usize> = const { std::cell::Cell::new(0) };
+}
+
#[derive(Clone, Copy)]
struct DepthCalibration {
realized: f64,
@@ -535,6 +541,8 @@ impl RequestScheduler {
/// Prefix survival raised to the adaptive verification exponent.
pub(super) fn powered_curve(&self, request: &LiveRequest, optimistic: bool) -> Vec<f64> {
+ #[cfg(test)]
+ CURVE_EVALUATIONS.set(CURVE_EVALUATIONS.get() + 1);
self.speculative_curve(request, optimistic).into_iter().map(|p| p.powf(self.policy.adaptive_verification_alpha)).collect()
}
Environment:
Discord: shieldstarx |
|
Tested CPU unit tests and live end-to-end DeepSeek-V4.1-Flash TP4 serving on 4× RTX PRO 6000 Blackwell (SM120, PCIe Gen5) in both the 9-PR and full 12-PR stacks. Verification Summary
Merge / Follow-up Notes
|
|
Pushed Point-by-point responses (
|
Autobot ReviewFull Review for Agents · Value Proposition · Case File Recommendation: Ready To MergeThe one previous blocker (export coercing Blockers:None. Should fix:
Subtract / Simplify:Could remove ~85–90 of +4,306 added lines:
Nits:5 nits (capability tuples omit To opt out, include #autobot:ignore in your post or comment. |
|
Review of head commit Scheduler design issues
Verification gaps against the testing hierarchyPer
|
…verlap, and opt-in wide copy-verify (W=16, W=24) (#49) * Reduce DeepSeek-V4.1 and GLM-5.3 decode launch and reduction overhead Why DeepSeek-V4.1 and GLM-5.3 decode and speculative verify graphs leave several recipe-level launch, buffer-sizing, and padded-row inefficiencies on the critical path that require no core runtime or b12x ABI changes: - DeepSeek-V4.1 decode, verify, and draft layers omitted `num_valid_tokens=metadata.live_counts[:1]` when constructing and invoking `PreparedRouter`, so padded rows beyond the active batch were routed as valid expert assignments instead of masked to `-1`. - DeepSeek-V4.1 PCIe `OneshotAllReduce` capacity defaulted to `all_reduce_tokens` (256 tokens, 2.5 MiB), forcing BF16 Engram `PreparedChunkedAllReduce` reductions (`[5 * decode_tokens, 5120]`, 6.25 MiB at `decode_tokens=128`) to split into three sequential reductions per table. - Fused Markov draft proposal selection (`fuse_markov` and `_markov_step_batched8`) stopped at batch size 8, falling back to an unfused multi-kernel path at batches 16 and 32, and batch size 1 recomputed predecessor token resolution across every CTA instead of pre-resolving once per step. - `PreparedContext` launched six separate RMSNorm and rotary kernels across the three DeepSeek-V4.1 draft context layers, and ratio-2 `PreparedCompressor.commit` launched separate gather and `save_hidden` operations per pending field on CUDA. - `PreparedMTP` in GLM-5.3 ran separate `PreparedAllReduce` and `rms_norm_add_residual` operations even when a single-channel PCIe oneshot runtime supports `PreparedAllReduceRMSNorm`. What - `hyperflare_recipes/recipes/deepseek41/decoder.py`: pass `num_valid_tokens=metadata.live_counts[:1]` to `PreparedRouter` in `decode`, `verify`, and `draft` modes whenever `metadata.live_counts` is present. Pinned `b12x` W4A8 compact and materialized MoE kernels guard `expert >= 0 and expert < num_experts` and emit exact zeros for `-1` routes. - `hyperflare_recipes/recipes/deepseek41/bootstrap.py`: add `PreparationConfig.pcie_all_reduce_tokens` returning `max(self.all_reduce_tokens, 5 * self.decode_tokens)` and pass it to `create_all_reduce_runtime`, leaving `create_roce_runtime` at `config.all_reduce_tokens`. - `hyperflare_recipes/components/parallel_draft.py` and `hyperflare_recipes/components/markov_sampling.py`: generalize `fuse_markov` and `_markov_step_batched8` (`row_base = tl.program_id(1) * 8`) to all batch sizes `b >= 8` with `b % 8 == 0` (covering batches 16 and 32), and enable `pre_resolve = True` for batch size 1 so `_markov_step` loads the resolved predecessor token directly. - `hyperflare_recipes/components/dspark.py`: add `_context_kv_norm_rope_kernel` on CUDA to fuse the three draft-layer KV RMSNorm and rotary stages into one Triton launch using the same BF16-exact seam as `deepseek41/attention.py`, retaining the existing CPU fallback. - `hyperflare_recipes/recipes/deepseek41/attention.py`: add `_commit_ratio2_pending` on CUDA to fuse each ratio-2 compressor layer's pending-value, pending-gate, and pending-position commit into one Triton launch per layer, retaining the existing CPU fallback. - `hyperflare_recipes/recipes/glm53/mtp.py`: select `PreparedAllReduceRMSNorm` for `attention_reduce` and `mlp_reduce` in `PreparedMTP` when `PreparedAllReduceRMSNorm.fits(runtime, source)` is true, falling back to `PreparedAllReduce` plus `rms_norm_add_residual` otherwise. Result These changes preserve BF16 numerical behavior and compatibility with the current `uv.lock` `ignition` and `flashinfer-python` pins. On CUDA graphs, they mask padded decode/verify router rows, eliminate Engram PCIe reduction chunking at `decode_tokens=128`, keep fused Markov proposals active at batches 16 and 32, remove redundant batch-1 Markov predecessor reductions, cut `PreparedContext` norm+RoPE launches from 6 to 1, cut ratio-2 pending commit launches from 15 to 3 per round, and fuse GLM-5.3 MTP PCIe all-reduce and RMSNorm pairs. Evidence - CPU pytest (`CUDA_VISIBLE_DEVICES=""`) across all 6 modified test files (`tests/recipes/test_glm53_stack.py`, `tests/recipes/test_deepseek41_expert_overlap.py`, `tests/recipes/test_deepseek41_scratch.py`, `tests/recipes/test_deepseek41_dspark.py`, `tests/components/test_parallel_draft_metadata.py`, `tests/components/test_markov_sampling_cuda.py`) passed with zero failures. - Verified in combined-stack SM120 TP4 DeepSeek-V4.1 Flash serving (`4x RTX PRO 6000 Blackwell`, PCIe Gen5); standalone GLM-5.3 MTP GPU serving and SM121 (GB10) hardware tests remain unverified. Discord: Dooner Design-Signed-Off-By: Gemini 4 Neon; design-review=8fdd Signed-off-by: FujitsuPolycom <[email protected]> * deepseek41: overlap prefill collectives, fuse FFN gather, and enable KV RoPE/PDL Why In row-sharded DeepSeek-V4.1 prefill on 4-GPU PCIe systems, several per-layer synchronization barriers and redundant device copies stall compute while leaving PCIe DMA engines or SMs idle: - `mla_wo` source layers (2, 8, 14) have 2,560 BF16 KV columns instead of 512, so decoder preparation fell back to draining `cr_mlp_1` synchronously before starting `cr_kv_gather_0`. - Layers preceding Engram layers (0 -> 1 and 13 -> 14) disabled `defer_mlp_b`, forcing a synchronous `mlp_reduce_1` drain and disabling pipelined attention hyper-connection and P2P KV gather on layers 1 and 14. - Row-sharded FFN shards performed two sequential `ConcurrentGatherShards` calls per half (`ffn_vals` and `ffn_meta`) and copied immutable inputs inside `Concurrent*` collectives and Engram chunk slices. - Engram prefill exchanged full gathered embeddings over `PreparedAllGather` even when each rank owns only its row shard, multiplying wire volume by `world_size`. - DeepSeek-V4.1 prefill attention ran a standalone rotary application on the 64-dim KV RoPE slice even when `flashinfer` `b12x` `mla_norm_mxfp8` supports fused `kv_rope_dim=64`, and MXFP8 linear/norm calls gated SM120 programmatic dependent launch (`release_dependents`) to decode batches (`rows <= 8`). What - `hyperflare_recipes/recipes/deepseek41/bootstrap.py`: size the shared `DcpAllToAll` KV gather runtime to `max_rows = 5 * max_kv_shard_rows` and `columns = 512 * world` so one IPC runtime serves both full (`[st, 512]`) and `mla_wo` (`[st, 2560]` viewed as `[5 * st, 512]`) layers. - `hyperflare_recipes/recipes/deepseek41/decoder.py`: - Enable `p2p_kv_gather` for `mla_wo` layers when the KV runtime fits `5 * st` rows, using a zero-copy `[5 * st, 512]` view and 4D transpose back to `[world * st, 2560]` with automatic fallback to narrower runtimes. - Enable `defer_mlp_b` across L0 -> L1 and L13 -> L14 by passing the previous layer's deferred post-MLP hyper-connection into the Engram layer, running `engram.mix_half` on Half A while `cr_mlp_1` stays in flight for Half B, joining `cr_mlp_1` before Half B's post + `engram.mix_half`, registering `engram.mix_plan` and `incoming_post.plan` with `ScratchArena`, and draining `cr_mlp_1` before any synchronous fallback Engram gather. - Pack each half's MXFP8 FFN activations, E8M0 scales, and top-k router indices/weights into a single `[st, 2664]` BF16 payload via fused Triton `_pack_ffn_shard_kernel` and `_unpack_ffn_gathered_kernel` (with bit-exact CPU fallbacks and an explicit `rows % 128 == 0` guard in `_unpack_ffn_gathered`) so one `ConcurrentGatherShards` call replaces two per half; preserve `self.shared(..., residual=routed)` when `getattr(self.shared, "supports_residual", False)` is true. - Detect `copy_input` support on `Concurrent*` collectives (passing `copy_input=False` for unaliased owned buffers) and drop redundant `.clone()` calls on immutable Engram gather slices. - Support `ConcurrentAllToAll` for owner-row Engram overlap chunks with seamless fallback to `ConcurrentAllGather` on unmodified `ignition` runtimes. - `hyperflare_recipes/recipes/deepseek41/engram.py`: detect `PreparedAllToAll` on row-sharded prefill and use owner-row all-to-all (with `prepare_all_to_all_chunk`, `slice_exchange_chunk`, and skipping `index_select` in `project_gathered`) when `PreparedAllToAll.fits` holds, falling back cleanly to `PreparedAllGather`. Add `mix_half` reusing `mix_plan` for per-half execution. - `hyperflare_recipes/components/mla_norm_quant.py` and `hyperflare_recipes/recipes/deepseek41/attention.py`: add `PreparedMLANormQuant.supports_kv_rope()`, wire `kv_rope_dim=64` and split `(cos, sin)` angles when supported while omitting the kwargs on unmodified `b12x`, skip standalone KV RoPE application when fused, and enable `release_dependents=True` on prefill MLA norm-quant. - `hyperflare_recipes/components/linear.py`: enable `release_dependents` whenever `rhs_prefetch_ready` holds instead of restricting it to `rows <= 8`. - `tests/recipes/test_deepseek41_prefill_overlap.py` and `tests/recipes/test_deepseek41_row_shard_attention.py`: add 24 unit tests covering bit-exact parity, negative sensitivity checks, `rows % 128` guard, `supports_residual` preservation, schedule invariants, and legacy/upgraded runtime compatibility; update row-shard attention schedule expectations for 19-layer `p2p_kv_gather` and 5x `kv_runtime` sizing. Result All seven changes preserve bit-exact BF16/FP32/MXFP8 outputs on CPU parity checks while keeping backwards compatibility with both current `main` `ignition` and `b12x` as well as upgraded `ignition` `PreparedAllToAll`/`copy_input=False` and `b12x` `mla_norm_mxfp8` `kv_rope_dim=64` builds. Evidence - CPU pytest (`CUDA_VISIBLE_DEVICES=""`, atop `main` `24849d9`, paired with `NVIDIA/hyperflare-inference#542`) across `test_deepseek41_prefill_overlap.py`, `test_deepseek41_row_shard_attention.py`, and sibling DeepSeek-V4.1 / GLM-5.3 suites passed with zero failures (CUDA-gated tests skipped on CPU). - Verified in combined-stack SM120 TP4 DeepSeek-V4.1 Flash serving (`4x RTX PRO 6000 Blackwell`, PCIe Gen5); SM121 (GB10) and multi-host RoCE remain unverified. Discord: Dooner Design-Signed-Off-By: Antigravity (Gemini 4 Neon); design-review=8fdd Signed-off-by: FujitsuPolycom <[email protected]> * deepseek41: add opt-in DSpark-skip wide copy-verify rounds (W=16, W=24) When Helios dispatches a wide copy-verify round (`draft_source=COPY_DRAFT`, `W=16` or `W=24`) backed by a long prompt or output match, running the 3-layer `DSpark` drafter, `draft_head`, 7-step `Markov` head, `confidence_head`, and `PreparedCausalPrefixAllocation` adds wasted draft latency before verifying host-supplied copy tokens. Skipping the draft stages while verifying all `W` tokens through the full 40-layer target decoder and updating `PreparedContext` for every accepted token preserves exact `0-ULP` target distribution parity and keeps DSpark's sliding-window context KV exact for subsequent learned-draft rounds. Before this change, `PreparationConfig` in `hyperflare_recipes/recipes/deepseek41/bootstrap.py` prepared only DSpark-backed speculative rounds (`W <= 8`), `SpeculativePreparation` did not size `copy_token_ids` for wider copy rounds, and `PreparedParallelDraftRound.verify` always read active lane limits from `o.inputs.query_lengths`. This commit: - Adds `copy_draft_tokens` on `SpeculativePreparation` (`hyperflare_recipes/components/dspark.py`) to size `copy_token_ids` to `max(7, draft_tokens, copy_draft_tokens)` and expose the four copy-proposal buffers (`copy_token_ids`, `copy_token_count`, `copy_expected_consumed`, `copy_generation`) via `buffers()` (aligned with PR #48). - Adds an optional `token_limits` override on `PreparedParallelDraftRound.verify` (plus `DraftProposalState.copy_offered_mask` and the copy-proposal validation/point-mass overlay helpers shared with PR #48 so this branch compiles and passes tests cleanly atop `main`) and introduces `PreparedCopyOnlySpeculativeRound` in `hyperflare_recipes/components/parallel_draft.py`, allocating a persistent 1-element `int64` device tensor `self.local_vocab_start` in `__init__` (so vocabulary-parallel TP ranks bind per-rank offsets via `USE_VOCAB_START_PTR` without baking a rank-0 Dynamo guard), skipping `DSpark`, `Markov`, `confidence_head`, and `PreparedCausalPrefixAllocation`, validating copy freshness, grammar gating, and in-vocab contiguity, applying point-mass `q = 1.0` proposals without mutating host-uploaded `query_lengths`, running target verification (including `vocabulary_parallel` sharded tile masses), committing KV pages, SWA rings, and `CompletionOutputs`, and executing `PreparedContext` over accepted target hidden states. - Adds opt-in `copy_verify_shapes: tuple[tuple[int, int], ...] = ()` on `PreparationConfig` in `hyperflare_recipes/recipes/deepseek41/bootstrap.py` with strict shape validation (`batch` in `batch_capacities(max_active)`, `width > max(speculative_widths)`, `width <= 64`, `batch * width <= speculative_token_capacity`), wires `copy-speculative{B}x{W}` graphs (`draft_source=2`, `confidence_width=0`, `draft_tokens=W-1`, no `speculative_prefix_limits`), updates `completion_token_capacity`, collective runtimes, verification samples, `server_config`, and keeps `prepare_contract(..., rows=max(config.speculative_widths))` so `state_rows_per_request` remains 8 with zero extra state-pool storage. - Adds 16 CPU and `make_fx` unit tests in `tests/recipes/test_deepseek41_sam_wide_skip.py`. Default `copy_verify_shapes=()` leaves catalog graphs, buffer dimensions, `state_rows_per_request`, and execution behavior 100% identical to the preceding revision. Enabling `copy_verify_shapes` (for example `((1, 16), (1, 24), (2, 16), (4, 16))`) exposes copy-only wide graphs requiring zero extra target scratch memory beyond the existing `P <= 64` verify arena and zero extra state-pool rows. Evidence and limits: - CPU pytest (`CUDA_VISIBLE_DEVICES=""`, atop `main` `24849d9`) against `NVIDIA/hyperflare-inference#540` (`GraphSignature.draft_source`): `tests/recipes/test_deepseek41_sam_wide_skip.py` (16 passed, 0 failed, covering `W=16`/`W=24` full acceptance, 15-bit and 23-bit `copy_offered_mask`, `PreparedContext` exact update, partial rejection across positions `[0, 1, 7, 14, 15, 22, 23]`, freshness/grammar/contiguity/non-mutation, exact stochastic rejection marginal with negative sensitivity check, 4-rank `vocabulary_parallel` sharded tile verification, persistent `local_vocab_start` tensor binding, and `make_fx` tracing for `W=16` and `W=24`). - Default `copy_verify_shapes=()` preserves baseline DeepSeek-V4.1 Flash TP4 export and `flare run` serving on `4x RTX PRO 6000 Blackwell` (SM120, PCIe Gen5). Non-empty `copy_verify_shapes` (`W=16`/`W=24`) has CPU and `make_fx` verification only and remains pending live multi-GPU capture, export, and serving qualification (matching `NVIDIA/hyperflare-inference#540`). Discord: Dooner Design-Signed-Off-By: Antigravity (Gemini 4 Neon); design-review=8fdd Signed-off-by: FujitsuPolycom <[email protected]> --------- Signed-off-by: FujitsuPolycom <[email protected]> Signed-off-by: Martin Vit <[email protected]> Co-authored-by: Martin Vit <[email protected]>
e5a6966 to
982a9ce
Compare
|
@lukealonso Reworked
Updated the PR title and body for |
Autobot ReviewFull Review · Value Proposition · Case File Recommendation: Merge After Should-FixThe runtime change is minimal and verified; one operator doc still states the retired idle rule, and the rest is duplicated tests and repeated prose to delete.
Have your agent review the Full Review for complete findings, To opt out, include |
982a9ce to
9077913
Compare
…s wait
Why:
Helios remeasures stale retained graph durations through a funded refresh
ledger (`helios/src/scheduler/refresh.rs`) that earns `0.002 / 0.998` of
ordinary execution time up to a 5 ms cap (2,495 ms of ordinary execution
for a first refresh) and subtracts the executed refresh duration on
completion. Before this change, two defects prevented stale graph cost
estimates from recovering under ordinary serving workloads:
1. `RequestScheduler::idle` cleared positive timing-refresh and
acceptance-learning credit to zero while preserving negative debt.
Workloads of sequential requests shorter than 2,495 ms separated by
idle gaps never reached 5 ms of credit, leaving stale cost estimates
unrefreshed indefinitely even though idle intervals add neither credit
nor ordinary execution time and retaining bounded earned credit
(`<= 5 ms`) preserves the aggregate expense bounds
`P <= (0.002 / 0.998) * O + D` (timing refresh) and
`P <= (0.01 / 0.99) * O + D` (acceptance learning).
2. `RefreshState::complete` credited and charged raw physical execution
time (`cost::observed_duration_ns`), whereas `ActionCosts::observe`
records device execution time less measured embedding-delivery
readiness wait (`gpu_ns - wait_ns`). Disk-backed readiness stalls
inflated timing-refresh debt even though retained cost estimates
excluded that wait; subtracting `wait_ns` without guarding
`gpu_ns <= wait_ns` would charge 0 ns when readiness wait met or
exceeded the GPU interval while `ActionCosts::observe` discarded the
0-ns sample, leaving the target stale with full credit.
Keeping `ActionCosts::refresh_order` on `observed_at_ns.max(last_attempt_ns)`
preserves round-robin progress across feasible stale shapes, including
shapes with duration `D > ttl_ns / 499` (60.12 ms at the 30 s TTL) that
re-expire before their refresh debt refills.
What:
- `helios/src/scheduler.rs`, `helios/src/server/runtime.rs`,
`helios/src/scheduler/refresh.rs`:
- Before: `RequestScheduler::idle(&mut self)` called `RefreshState::idle`
to zero positive timing-refresh and acceptance-learning credit while
retaining negative debt, and `RefreshState::complete` used
`cost::observed_duration_ns` for both ledgers.
- After: `RefreshState::idle` is removed and `RequestScheduler::idle` is
renamed to `RequestScheduler::assert_idle(&self)` to verify only that
no submission remains in flight; `RefreshState::abort` continues to
discard positive credit and preserve negative debt. Ordinary
completions earn timing-refresh credit from
`cost::observed_compute_duration_ns`, and `PlanOrigin::RefreshStart`
episodes subtract `observed_compute_duration_ns(timing)` with fallback
to `observed_duration_ns(timing)` and `timing.wall_ns` (which is
strictly positive on every validated completion because
`RefreshState::validate_completion` rejects probes lacking both a
positive GPU interval and `wall_ns`). Acceptance-learning income and
`PlanOrigin::AcceptanceStart` charges continue to use raw physical
duration.
- `helios/src/scheduler/cost.rs`:
- Add `observed_compute_duration_ns`, returning the device interval (or
`max(device, wall)` when isolated) less measured readiness wait when
`gpu_ns > wait_ns`, and `None` otherwise (`ActionCosts::observe`
deliberately omits `wall_ns`).
- `scripts/scheduling_sim/learning_policy.py`,
`scripts/scheduling_sim/learning.py`:
- Add `--retain-idle-credit` (`PolicyConfig.retain_idle_credit`),
defaulting to `True` for `retained-refresh` so the simulator matches
Helios and `False` for other exploratory policies (with
`retain_idle_credit=False` expressible in `--configs` JSON).
- `helios/README.md`, `docs/scheduling-runtime-design.md`,
`docs/scheduling-theory.md`, `helios/src/scheduler/policy_tests.rs`,
`tests/test_scheduling_learning_{policy,experiments}.py`:
- Update present-state specifications, deduplicate prefill-catalog test
builders and boolean CLI option assertions, and cover idle-separated
recovery, `D > ttl_ns / 499` non-starvation, and readiness-wait
exclusion across `gpu > wait`, `gpu == wait`, `gpu < wait`, and absent
GPU timing (`wall_ns == 0` rejected, `wall_ns > 0` charged).
- Compatibility: No model core format, Protobuf schema, CLI flag in Flare,
or graph-operation contract changes; existing signed cores load unchanged.
Result:
- Expected runtime benefit: sequential bursts shorter than 2,495 ms
separated by idle gaps accumulate bounded earned credit (`<= 5 ms`) and
recover stale graph cost estimates without violating aggregate refresh
bounds or starving smaller stale shapes behind `D > ttl_ns / 499` shapes,
and embedding-delivery readiness stalls no longer inflate timing-refresh
debt. Live GPU serving throughput was not measured in isolation on this
commit.
- Measured simulator result (64 heldout seeds `10000..10063`, 62 scenarios,
`--reference ttl`): `retained-refresh:funded:cumulative:alpha=0.002`
(`retain_idle_credit=True`) was accepted across the complete core and
validation suites (`41/41` evaluated gates passed): `35/35` core
stationary scenarios vs `ttl` (geomean throughput ratio `1.009886`, worst
lower bound `0.999357 >= 0.98`, worst p99 decode-gap upper bound
`1.033553 <= 1.05`, worst p99 TTFT upper bound `1.047665 <= 1.05`,
`0/2,240` stationary resets), `35/35` exact `1.000000` core parity vs the
`retain_idle_credit=False` control, `64/64` seeds recovered within
`60,000` busy ms across all 8 recovery and `mature-1000` recovery
scenarios, calibration `coverage_16 = coverage_1000 = 1.0`, and `0`
spurious probes across all 5 idle-transient scenarios (`320` seed runs).
- Scope boundary: continuous-busy debt refill rates (`499 * D` for timing
refresh, `99 * D` for acceptance learning) and acceptance-learning debt
after large physical probe episodes are unchanged.
Evidence:
Verified on Linux/WSL2 x86_64 (`rustc 1.100.0`, plain local `ext4` storage)
atop `origin/main` (`ba3afb13a7e9836080c23eadf8e1c17ee96e6e7a`):
- Layer 1 — CPU unit, integration, and CLI suites (`--locked --release`):
- `pytest` across 9 scheduler/prefill suites,
`tests/preparation/test_core_boundary.py`,
`tests/test_design_review_hook.py`, and `tests/cli`: 941 passed,
0 failed, 0 skipped.
- `helios` (`--features runtime-core,server`, `--test-threads=1` under
64 MiB `RLIMIT_MEMLOCK`): 1,689 unit + 61 integration = 1,750 passed,
80 ignored (`43 + 37`), 0 failures outside untouched
`model::tests::packed_combined_budget_keeps_width_one_batches_without_a_useful_packed_shape`,
which panics identically on `origin/main` at
`helios/src/model/packed_round_tests.rs:106:9` (`missing Speculative
batch 2`).
- `flare`: 236 passed, 4 ignored, 0 failed; `flare-cli`: 221 passed,
3 ignored, 0 failed; `heliopause`: 208 passed, 5 ignored, 0 failed;
`eos`: 1 passed; `selene` (`--features test-support`): 503 passed.
- Layer 2 — Scheduling simulator (`scripts/scheduling_sim/learning.py`):
- 16-seed `--preset screen --policies retained-refresh --alpha 0.002
--credit-cap-ms 5 --reference ttl` nominated
`retained-refresh:funded:cumulative:alpha=0.002`
(`retain_idle_credit=True`), and 64-seed `--preset validate` accepted it
against `ttl` and the `retain_idle_credit=False` control.
- Layer 3 — Formal lifecycle conformance
(`verification/helios-lifecycle/check.py`, Temurin JRE 21.0.13 +
`tla2tools.jar` 1.7.4): all 9 TLA+ models (10 TLC model checks including
`DispatchRing.tla` and `Speculation16.cfg`) passed with 0 errors and
verified 593,660 observed Rust transitions across all 8 conformance
suites.
- Limitations / unrun checks: live GPU and HTTP serving qualification
(`tests/server/test_scheduler.py`, live power-cap cost-refresh recovery,
and disk-backed embedding-delivery readiness stalls) was not executed on
GPU hardware and remains tracked in `docs/TODO.txt`; `cargo kani`,
`cargo-mutants`, and `check.py --mutations` were not run (no
completion-vector validator, state-view extent arithmetic, or lifecycle
safety guard was modified).
Discord: Dooner
Design-Signed-Off-By: Antigravity (Gemini 4 Carbon); design-review=c3a9
Signed-off-by: FujitsuPolycom <[email protected]>
9077913 to
cdf1185
Compare
|
Addressed at Should Fix (
|
Why
Helios remeasures stale retained graph durations through a funded refresh ledger (
helios/src/scheduler/refresh.rs) earning0.002 / 0.998of ordinary execution duration up to a 5 ms cap (2,495 ms of ordinary execution for a first refresh) and subtracting the executed refresh duration on completion. Before this change, two defects blocked stale cost recovery under normal serving workloads:RequestScheduler::idlezeroed positive timing-refresh and acceptance-learning credit while keeping negative debt. Workloads of sequential requests shorter than 2,495 ms separated by idle gaps never reached 5 ms of credit, leaving stale estimates unrefreshed indefinitely even though idle intervals add neither credit nor ordinary execution time and retaining bounded earned credit (<= 5 ms) preserves the aggregate expense boundsP <= (0.002 / 0.998) * O + D(timing refresh) andP <= (0.01 / 0.99) * O + D(acceptance learning).RefreshState::completecredited and charged raw physical duration (cost::observed_duration_ns), whereasActionCosts::observerecords device execution time less measured embedding-delivery readiness wait (gpu_ns - wait_ns). Disk-backed readiness stalls inflated timing-refresh debt even though retained cost estimates excluded them; subtractingwait_nswithout guardinggpu_ns <= wait_nswould charge 0 ns when readiness wait met or exceeded the GPU interval whileActionCosts::observediscarded the 0-ns sample, leaving the target stale with full credit.ActionCosts::refresh_orderremainsobserved_at_ns.max(last_attempt_ns)so expensive stale shapes (D > ttl_ns / 499 = 60.12 msat the 30 s TTL) that re-expire during debt refill cannot starve smaller stale shapes.What changed
helios/src/scheduler.rs,helios/src/server/runtime.rs,helios/src/scheduler/refresh.rs:RequestScheduler::idle(&mut self)calledRefreshState::idleto clear positive timing-refresh and acceptance-learning credit to zero while preserving negative debt, andRefreshState::completeusedcost::observed_duration_nsfor both ledgers.RefreshState::idleis removed andRequestScheduler::idleis renamed toRequestScheduler::assert_idle(&self)to verify only that no scheduled execution remains in flight;RefreshState::abortcontinues to discard positive credit and preserve negative debt. Ordinary completions earn timing-refresh credit fromcost::observed_compute_duration_ns, andPlanOrigin::RefreshStartcompletions subtractobserved_compute_duration_ns(timing).or_else(|| observed_duration_ns(timing)).unwrap_or(timing.wall_ns). Every validated refresh completion incurs a strictly positive charge becauseRefreshState::validate_completionrejects non-isolated probes and probes lacking both a positive GPU interval andwall_ns. Acceptance-learning income andPlanOrigin::AcceptanceStartcharges continue using raw physical duration.helios/src/scheduler/cost.rs:observed_duration_ns) was exposed for refresh accounting.observed_compute_duration_ns, returning the device interval (ormax(device, wall)when isolated) less measured readiness wait whengpu_ns > wait_ns, andNoneotherwise (ActionCosts::observedeliberately omitswall_ns).scripts/scheduling_sim/learning_policy.py,scripts/scheduling_sim/learning.py:LearningScheduler.idleunconditionally discarded positive exploration credit.--retain-idle-credit(PolicyConfig.retain_idle_credit), defaulting toTrueforretained-refreshso the simulator's qualified policy matches Helios andFalsefor other exploratory policies, while keepingretain_idle_credit=Falseexpressible in--configs/--comparison-configsJSON for reproducing the prior discarding rule.helios/README.md,docs/scheduling-runtime-design.md,docs/scheduling-theory.md,helios/src/scheduler/policy_tests.rs,tests/test_scheduling_learning_{policy,experiments}.py:prefill_catalog_engine) and boolean CLI-flag assertions, and add end-to-end regression tests for idle-separated short-request recovery,D = 145 ms > ttl_ns / 499non-starvation, and readiness-wait exclusion acrossgpu > wait,gpu == wait,gpu < wait(wall_ns == 0and> 0), and absent GPU timing (wall_ns == 0rejected byvalidate_completion,wall_ns > 0charged).Claimed benefit and result
<= 5 ms) and recover stale graph cost estimates while preserving aggregate budget bounds and round-robin refresh ordering; measured embedding-delivery readiness stalls no longer inflate timing-refresh debt whengpu_ns > wait_ns, andwait_ns >= gpu_nscompletions charge unexcluded physical or wall time. Live GPU serving throughput was not measured in isolation on this PR.--preset validate --reference ttl, 62 scenarios, 64 heldout seeds10000..10063):retained-refresh:funded:cumulative:alpha=0.002(retain_idle_credit=Truedefault) passed all evaluated gates (41/41passed,complete_core_suite=true,complete_validation_suite=true):ttl(35/35passed): geomean busy useful throughput ratio1.009886(worst paired seed-cluster LB0.999357 >= 0.98), worst p99 decode-gap UB1.033553 <= 1.05(worst scenario mean1.024200), worst p99 TTFT UB1.047665 <= 1.05,0/2,240stationary resets.retained-refresh:funded:cumulative:alpha=0.002:retain_idle_credit=False(--comparison-configs):35/35passed, exact1.000000parity (min = max = 1.000000).knowndiagnostic reference:19/35passed, geomean throughput ratio0.994760.mature-1000(8/8scenarios):64/64seeds recovered within60,000busy ms on every scenario; uncertainty calibration passed (coverage_16 = coverage_1000 = 1.0); idle transients (idle-29s,idle-31s,idle-120s,idle-3600s,idle-short-burst):0spurious probes across all320seed runs.499 * Dfor timing refresh,99 * Dfor acceptance learning) or acceptance-learning debt after large physical probe episodes.Supporting evidence and limitations
Tested on
git archive cdf1185d69254c58e8ee50dabbab3dc8e43a01ceatopmain(ba3afb13a7e9836080c23eadf8e1c17ee96e6e7a) on Linux/WSL2 x86_64 (rustc 1.100.0, plain localext4storage):--locked --release):pytestacross 9 scheduler/prefill suites (test_scheduling_{continuation,oracle,timing,learning_policy,learning_run,learning_experiments,sim,utility}.py,test_prefill_capacities.py),tests/preparation/test_core_boundary.py,tests/test_design_review_hook.py, andtests/cli: 941 passed, 0 failed, 0 skipped.cargo test --locked --release --manifest-path helios/Cargo.toml --features runtime-core,server --target-dir flare-cli/target -- --test-threads=1(under 64 MiBRLIMIT_MEMLOCKwithFLARE_TEST_TEMPLATE_DIRpopulated): 1,690 unit + 61 integration = 1,751 passed, 80 ignored (43 + 37), 0 regressions; untouchedmodel::tests::packed_combined_budget_keeps_width_one_batches_without_a_useful_packed_shapepanics identically onorigin/main(ba3afb13a7e9836080c23eadf8e1c17ee96e6e7aand2bdc8472e492ad392cc795563d5b0f8db47a5a25) athelios/src/model/packed_round_tests.rs:106:9(missing Speculative batch 2).cargo test --locked --release --manifest-path flare/Cargo.toml --target-dir flare-cli/target: 236 passed (228 + 7 + 1), 4 ignored, 0 failed.cargo test --locked --release --manifest-path flare-cli/Cargo.toml: 225 passed (201 + 7 + 6 + 4 + 7), 3 ignored, 0 failed.cargo test --locked --release --manifest-path heliopause/Cargo.toml --target-dir flare-cli/target: 208 passed, 5 ignored, 0 failed.eos: 2 passed;selene --features test-support: 506 passed (505 + 1), 0 failed.scripts/scheduling_sim/learning.py):--preset screen --policies retained-refresh --alpha 0.002 --credit-cap-ms 5 --reference ttlnominatedretained-refresh:funded:cumulative:alpha=0.002(retain_idle_credit=True), and 64-seed--preset validatewith--comparison-configs(retain_idle_credit=False) accepted it across all 62 scenarios.verification/helios-lifecycle/check.py):tla2tools.jar1.7.4: all 9 TLA+ models (10 TLC model runs includingDispatchRing.tlaandSpeculation16.cfg) passed with 0 errors and verified 593,660 observed Rust transitions across all 8 conformance suites (Lifecycle1,342;RankProtocol1,291;DispatchRing7,940;OffloadTransfer8,490;CacheOwnership195,492;Speculation13,566;ResponseLifecycle365,508;CheckpointReservation31).tests/server/test_scheduler.py, live power-cap cost-refresh recovery, and disk-backed embedding-delivery readiness stalls) was not executed on GPU hardware and remains tracked indocs/TODO.txt(Qualify retained graph costs and funded remeasurement in live Helios).cargo kani,cargo-mutants, andcheck.py --mutationswere not run (no completion-vector validator, state-view extent arithmetic, or lifecycle safety guard was modified).Discord: Dooner