Repository navigation
Overhaul Helios prefill scheduling, cost modeling, and two-frame pipelining - #645
Merged
Merged
Conversation
Collaborator
|
A case file has been opened for 645. Future reviews will auto-run 90 minutes after code updates are pushed.
|
Collaborator
Autobot ReviewFull Review · Value Proposition · Case File Recommendation: Changes RequestedThe technical core (burst coalescing, stratified fill/context prefill cost modeling, two-frame
Walkthrough
Merge Risk: Medium · up to
|
…lining Why Four coupled scheduling defects degraded Helios prefill throughput, simultaneous-burst batching, and long-context chunk selection: 1. Under-batched decode coalescing: Helios executes pure prefill at batch 1 with prompt-token value 1.0 against output-token value 64.0 and did not price the multi-step K -> K + m decode-batch throughput surplus unlocked when queued prefills finish and join an active decode cohort. On simultaneous bursts, the scheduler launched premature sub-batch decode rounds and split prefill work into smaller chunks instead of coalescing waiting prompts into full decode batches. 2. Fill- and KV-context-blind prefill timing estimates (#485): ActionCosts keyed a single 9-sample rolling median purely on static graph capacity, ignoring live token count and KV history depth. Short masked tails poisoned full-chunk medians on large graphs, and deep KV-attention slowdown on larger chunks caused selection to drift down onto stale shallow-context smaller capacities. 3. Serialized nonterminal prefill chunks: plan_requires_feedback and the executor submission guards required completion feedback for every graph outside Decode and Speculative, draining the two-frame pipeline between consecutive nonterminal GraphKind::Prefill chunks even when no token is sampled and no checkpoint capture or prompt end is reached. 4. Mixed-graph and terminal-prefill catalog mismatches: Mixed decode rate and optimistic continuation paths bypassed powered_curve / forecast_tokens and lacked a !prefill guard, while unmeasured TerminalPrefill discovery looked up prefill_catalog instead of terminal_prefill_catalog. What Changed - Decode-batch coalescing continuation value (helios/src/scheduler/policy.rs, scripts/scheduling_sim/utility.py, docs/scheduling-runtime-design.md, helios/README.md): Added PolicyConfig::coalescing_horizon_tokens (default 64.0, validated nonnegative). When active decoders are under-batched relative to the measured decode/speculative catalog and queued prefills can enter decode (max_new_tokens > 1, not prompt_logprobs), each prefiller receives an intrinsic output_token_value * ((K + m) / m) * (1 - R_K / R_{K+m}) surplus over min(coalescing_horizon_tokens, post_prefill, peer_budget), amortized uniformly across its uncached prompt tokens so total credit sums to 1x regardless of chunking and chunk sizing stays smooth under active decoder waiting age. Checked in burst_four, burst_eight, burst_eight_8k, burst_four_low, and burst_eight_low in scripts/scheduling_sim/workloads.py. - Stratified fill/context prefill cost model and O(1) affine checkpoint stride (helios/src/scheduler/cost.rs, helios/src/scheduler/checkpoints.rs, helios/src/scheduler/policy.rs, helios/src/scheduler/service.rs): Replaced single-median prefill estimates with PrefillCostModel (6 strata crossing u <= 0.5 / u > 0.5 with start_position < 4096 / 4096..32768 / >= 32768, each keeping a 9-sample rolling median shared via Ring9) and exact 3-param relative-error-weighted NNLS fitting theta_0 + theta_1*u + theta_2*u*(pos/4096). Narrow-fill upward extrapolation applies a bounded 4x constant-throughput floor on the base term before adding theta_2*h, preventing partial fills from discounting full-chunk costs or locking out large capacities after TTL reset. Smaller capacities without deep-context observations borrow the per-token context slope theta_2 / peer_capacity from the largest fresh strictly larger peer of the same kind. Extended checkpoints::interval_prefill_ns with an O(1) closed-form arithmetic-series stride over full-chunk affine segments so long agentic prompts retain bounded cost evaluation under non-constant predictors. - Two-frame nonterminal GraphKind::Prefill pipelining (helios/src/execution/manifest.rs, helios/src/scheduler.rs, helios/src/scheduler/policy.rs, helios/src/model.rs, helios/src/execution/{transport,threaded,parallel}.rs, helios/src/execution/threaded/protocol.rs, verification/helios-lifecycle/check.py): Single-sourced GraphKind::pipelines(self) for Decode | Speculative | Prefill, added prefill_cursor / _from planning helpers and prefill_step_requires_feedback, allowed nonterminal non-capture Prefill steps to queue two deep while draining at prompt end, checkpoint cuts, deferred-prefill limits, grammar constraints, stale/probe costs, or terminal/scored prefill, and guarded ConsumedTokens / SnapshotConsumedTokens reuse. - Mixed-graph curve and terminal-catalog fixes (helios/src/scheduler/learning.rs, helios/src/scheduler/service.rs, helios/src/scheduler/policy.rs): Wired powered_curve + forecast_tokens with !prefill guards into Mixed rate and optimistic continuation paths, routed unmeasured prefill discovery and resize_prefill through effective_prefill_catalog, and removed unreachable is_prefill() branches in add_candidate and continuation_candidate. - Compatibility: No Protobuf, core-format, or CUDA-graph ABI changes; existing exported cores load and serve unchanged. Claimed Benefit and Result - Live SM120 flare run A/B vs origin/main (3e57bdc, including #644): - nvidia/Qwen3.8-27B-NVFP4@gb202-tp1-202610281501 (1x RTX PRO 6000 Blackwell, balanced policy, unique uncached prompts): - Simultaneous B=8 burst (8 x ~2,430-token prompts, 2,048 output tokens): aggregate throughput rose from 398.6 to 497.6 tok/s (+24.8%), max TTFT fell from 3,070.3 to 2,776.8 ms (-9.6%), prefill launches fell from 24 to 16 (-33%), and speculative rounds fell from 113 to 71 (-37%). - Simultaneous B=4 burst (4 x ~2,430-token prompts, 1,024 output tokens): aggregate throughput rose from 305.8 to 316.5 tok/s (+3.5%), max TTFT fell from 1,903.5 to 1,855.3 ms (-2.5%), prefill launches fell from 11 to 8. - Consecutive ~130k uncached prompts (#485): Run 0 improved 30,622.6 -> 29,510.2 ms (-3.6%, 57 -> 52 launches), Run 1 improved 30,349.9 -> 28,982.5 ms (-4.5%, 59 -> 40 launches), Run 2 29,209.2 -> 29,082.8 ms (-0.4%, 38 vs 39 launches). - nvidia/Qwen3.8-Flash-Next-FP4-Local@gb202-tp2-202610270419 (2x SM120): B=4 burst 252.9 -> 262.7 tok/s (+3.9%), B=8 burst 353.1 -> 354.9 tok/s (max TTFT 2,063.0 -> 2,017.6 ms), 77k uncached prompts 4,492.5 -> 4,488.1 ms; clean SIGTERM drain (rc=0) on both arms. - deepseek-ai/DeepSeek-V4.1-Flash-1017@gb202-tp4-202611281955 (4x SM120): 3 consecutive ~158k uncached prompts stayed flat at 20 prefill launches with ~13 ms lower TTFT per run (3,524.0 -> 3,510.8 ms, 3,497.3 -> 3,484.2 ms, 3,494.0 -> 3,487.5 ms); clean SIGTERM drain (rc=0). - Synthetic scheduling simulator (scripts/scheduling_sim, balanced policy): - burst_eight (8 x 4,096): makespan 2,188 -> 2,060 ms (-5.9%), max TTFT 876 -> 706 ms (-19.4%), sub-batch rounds 16 -> 8. - burst_eight_8k (8 x 8,192): makespan 2,746 -> 2,648 ms (-3.6%), max TTFT 1,448 -> 1,314 ms (-9.3%), sub-batch rounds 18 -> 12. - burst_eight_low (8 x 4,096, zero draft acceptance): max TTFT 611 -> 559 ms (-8.5%), sub-batch rounds 6 -> 2. Supporting Evidence and Limitations - Rust crate suites (cargo test --locked --release): - eos: 2 passed, 0 failed. - selene (--features test-support): 548 passed, 0 failed. - selene-manager (--features test-support): passed. - helios (--features runtime-core,server): 1,751 passed (406/406 scheduler:: tests including bounded post-TTL extrapolation, peer context-slope borrowing, O(1) affine checkpoint stride on 150k/999- boundary prompts, burst coalescing, and two-frame prefill pipelining); 6 chat-template tests require FLARE_TEST_TEMPLATE_DIR from a gated HF repo and did not run locally. - flare: 237 passed, 0 failed. - flare-cli: passed; release build succeeded with 0 warnings. - Python suites (pytest tests/cli tests/test_scheduling*.py -q): 961 passed. - 64-seed timing-learning validation (scripts/scheduling_sim/learning.py --preset validate --reference ttl across all 62 scenarios, seeds 10000..10063, Helios production retained-refresh alpha=0.002): accepted retained-refresh:funded:cumulative:alpha=0.002 with 35/35 core gates, 6/6 recovery gates, calibration passed, 0/64 stationary resets, geomean core throughput ratio 1.0093, worst core p99 decode-gap ratio 1.0101. - TLA+ lifecycle verification (verification/helios-lifecycle/check.py with tla2tools-1.7.4.jar): all 8 models and Rust trace conformance passed (and check.py --mutations detected all injected mutations). - Limitations: cargo-kani is not installed locally (covered by CI; Kani- covered completion-vector and StateView validators were not modified). Live GPU measurements cover SM120 TP1/TP2/TP4; SM103/SM121 and TP16 Kimi K3.1 were not re-measured on hardware in this pass. Design-Signed-Off-By: Antigravity (Gemini 3.1 Pro); design-review=2e5b Signed-off-by: Luke Alonso <lalonso@gmail.com>
lukealonso
force-pushed
the
helios-prefill-burst-coalescing-cost
branch
from
November 30, 2026 20:44
05cccb6 to
2f3c079
Compare
FujitsuPolycom
added a commit
to FujitsuPolycom/flare-local-inference
that referenced
this pull request
Nov 30, 2026
Why: Adaptive speculative verification scores each joint prefix-survival probability p as p^alpha using a single static adaptive_verification_alpha across all decode batch sizes. Lower values (alpha < 1.0) favor longer verification prefixes, while higher values (alpha > 1.0) favor shorter prefixes. Because verification step latency grows steeply with active decode concurrency, a single static exponent tuned for low concurrency (C = 1..8) over-offers deep drafts at higher concurrency (C >= 12), inflating per-round latency, whereas raising a static exponent globally reduces low-concurrency speculative depth. Linearly interpolating the effective exponent with active decode concurrency lets operators balance low- and high-concurrency verification width independently at serving time using existing signed cores, without re-exporting cores or changing captured graph contracts. What: - Helios scheduler (helios/src/scheduler.rs, policy.rs, rounds.rs, policy_tests.rs): Adds opt-in adaptive_verification_alpha_high (default None), adaptive_verification_alpha_low_concurrency (default 8), and adaptive_verification_alpha_high_concurrency (default 12) to PolicyConfig, plus PolicyConfig::effective_adaptive_verification_alpha(active_decodes) and RequestScheduler::active_decode_concurrency() / effective_adaptive_verification_alpha(). When alpha_high is unset, or when fixed-width verification is configured, the effective exponent returns adaptive_verification_alpha unchanged. When set under adaptive verification, the exponent interpolates linearly across live RequestPhase::Decode slots between low and high concurrency thresholds, clamped to [min(low, high), max(low, high)] with finiteness guards. Per-step speculative calibration (NVIDIA#644), excluded-only waiting age and served-share delivery fairness (NVIDIA#644), decode-batch coalescing through powered_curve (NVIDIA#645), stratified prefill cost modeling (NVIDIA#645), and two-frame nonterminal prefill pipelining (NVIDIA#645) are preserved. configure_policy validates positive finite alphas and 1 <= low < high. - Server config and CLI (helios/src/server/config.rs, flare-cli/src/cli.rs, flare-cli/src/main.rs): Adds --mtp-adaptive-verification-alpha-high, --mtp-adaptive-verification-alpha-low-concurrency, and --mtp-adaptive-verification-alpha-high-concurrency to ServingOptions, validates them early before GPU initialization and in Bootstrap::load (rejecting thresholds without alpha_high, non-positive/non-finite alphas, and low >= high), forwards them to peer ranks via rank_options(), and emits bootstrap JSON keys only when set. - Scheduling simulator and docs (scripts/scheduling_sim/{__main__, learning_policy,model,scheduler,utility}.py, tests/test_scheduling_utility.py, docs/cli-design.md, docs/scheduling-runtime-design.md): Applies effective concurrency-aware alpha consistently across expected_output, candidates, UtilityConfig, UtilityScheduler (including decode-batch coalescing), LearningScheduler (_actions and _cohort_actions), and simulator CLI flags with matching validation; adds regression coverage verifying LearningScheduler matches UtilityScheduler under concurrency-aware alpha; updates CLI and scheduling-runtime docs as present-state specification. - Compatibility: No core format, Protobuf schema, captured graph contract, or model-specific changes; existing signed cores load and serve without re-export. Result: Enables opt-in runtime tuning of speculative verification prefix length across active decode concurrency with zero behavioral change when --mtp-adaptive-verification-alpha-high is omitted. In the deterministic scheduling simulator using the 28-shape multi-width catalog and survival curve from helios/src/scheduler/policy_tests.rs (256 output tokens per request, seed 0), ramping alpha from 1.0 to 1.5 across C = 8..12 leaves C = 1, 4, and 8 bit-for-bit identical to constant alpha = 1.0 (mean width 8.00 at C = 1 and C = 4; 4.55 at C = 8) while tightening mean verification width from 4.47 to 2.14 at C = 12 (p95 step 13.60 -> 9.80 ms, -27.9%; max output gap 20.90 -> 10.45 ms, -50.0%; output rate 2,163.1 -> 2,040.6 tok/s, -5.7%) and from 4.40 to 2.14 at C = 16 (p95 step 16.90 -> 11.60 ms, -31.4%; max output gap 40.80 -> 20.34 ms, -50.1%; output rate 2,360.9 -> 2,301.0 tok/s, -2.5%). Evidence: Verified on a clean git archive of this commit atop e85019b: conflict-free git merge-tree against e85019b; all 8 TLA+ lifecycle models and Rust trace conformance via verification/helios-lifecycle/check.py; release cargo test for helios (--features server and --features runtime-core,server), flare, and flare-cli; cargo check for heliopause; pytest for tests/preparation/test_core_boundary.py and tests/test_scheduling*.py (including LearningScheduler parity); scripts.scheduling_sim scenario checks; and ruff 0.12.8 on touched Python lines. Limitation: Controlled equivalent-baseline target-hardware flare run A/B serving benchmarks on this post-NVIDIA#644/NVIDIA#645 commit have not been run yet and are required before upstream readiness. Design-Signed-Off-By: Antigravity (gemini-4-neon); design-review=2e5b Signed-off-by: FujitsuPolycom <87842395+FujitsuPolycom@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #485
Why
Four coupled scheduling defects degraded Helios prefill throughput, simultaneous-burst batching, and long-context chunk selection:
helios/src/scheduler/policy.rs,scripts/scheduling_sim/utility.py): Helios executes pure prefill at batch 1 with prompt-token value1.0against output-token value64.0and did not price the multi-stepK -> K + mdecode-batch throughput surplus unlocked when queued prefills finish and join an active decode cohort. On simultaneous bursts, the scheduler launched premature sub-batch decode rounds and split prefill work into smaller chunks instead of coalescing waiting prompts into higher-utilization decode batches.helios/src/scheduler/cost.rs):ActionCostskeyed a single 9-sample rolling median purely on static graph capacity, ignoring live token count and KV history depth. Short masked tails poisoned full-chunk medians on large graphs, and deep KV-attention slowdown on larger chunks caused selection to drift down onto stale shallow-context smaller capacities.helios/src/scheduler.rs,helios/src/model.rs,helios/src/execution/):plan_requires_feedbackand the executor submission guards forced completion feedback for every graph outsideDecode | Speculative, draining the two-frame pipeline between consecutive nonterminalGraphKind::Prefillchunks even when no token is sampled and no checkpoint capture or prompt boundary is reached.helios/src/scheduler/{learning,service,policy}.rs): Mixed decode rate and optimistic continuation paths bypassedpowered_curve/forecast_tokensand lacked a!prefillguard, while unmeasuredTerminalPrefilldiscovery looked upprefill_cataloginstead ofterminal_prefill_catalog.What Changed
helios/src/scheduler/policy.rs,scripts/scheduling_sim/utility.py,docs/scheduling-runtime-design.md,helios/README.md):PolicyConfig::coalescing_horizon_tokens(default64.0, validated nonnegative) and mirrored it inUtilityConfig.max_new_tokens > 1, notprompt_logprobs), each queued prefiller receives an intrinsicoutput_token_value * ((K + m) / m) * (1 - R_K / R_{K+m})surplus overmin(coalescing_horizon_tokens, post_prefill, peer_budget), amortized uniformly across its uncached prompt tokens (prompt_tokens - admission_reused_tokens) so total credit sums to1×regardless of chunking and chunk sizing stays smooth under active decoder waiting age. The surplus vanishes automatically when decode capacity is saturated or whenmax_new_tokens == 1.burst_four,burst_eight,burst_eight_8k,burst_four_low, andburst_eight_lowinscripts/scheduling_sim/workloads.py.helios/src/scheduler/cost.rs,helios/src/scheduler/checkpoints.rs,helios/src/scheduler/policy.rs,helios/src/scheduler/service.rs):PrefillCostModel: 6 strata crossingu <= 0.5/u > 0.5withstart_position < 4096/4096..32768/>= 32768(each keeping a 9-sample rolling median via sharedRing9<T>) and exact 3-parameter relative-error-weighted NNLS fittingtheta_0 + theta_1 * u + theta_2 * u * (start_position / 4096).u_max - u_min < 0.15,u > u_max) applies a bounded4×constant-throughput floort_at_umax * min(u / u_max, 4.0)to the base term before addingtheta_2 * h, preventing partial fills from discounting full-chunk costs or locking out large capacities after TTL reset.start_position >= 4096) borrow the per-token context slopetheta_2 / peer_capacityfrom the largest fresh strictly larger peer of the same graph kind via an O(1) cached list (prefill_context_slopes, zero extraENTRY_LOOKUPS).checkpoints::interval_prefill_nswith an O(1) closed-form arithmetic-series stride over full-chunk affine segments up to capacity-line crossovers so long agentic prompts retain bounded cost evaluation under non-constant predictors.GraphKind::Prefillpipelining (helios/src/execution/manifest.rs,helios/src/scheduler.rs,helios/src/scheduler/policy.rs,helios/src/model.rs,helios/src/execution/{transport,threaded,parallel}.rs,helios/src/execution/threaded/protocol.rs,verification/helios-lifecycle/check.py):GraphKind::pipelines(self)(Decode | Speculative | Prefill) across scheduler, policy, and all four executor layers.prefill_cursor/_fromplanning helpers andprefill_step_requires_feedback, allowing consecutive nonterminal, non-captureGraphKind::Prefillchunks to pipeline two deep while draining at prompt end, checkpoint cuts, deferred-prefill limits, grammar constraints, stale/probe costs, orTerminalPrefill/ScoredPrefill.ConsumedTokens | SnapshotConsumedTokensreuse inmodel.rsand updatedverification/helios-lifecycle/check.pymutation targets to match the_fromhelpers.helios/src/scheduler/learning.rs,helios/src/scheduler/service.rs,helios/src/scheduler/policy.rs):powered_curve+forecast_tokenswith!prefillguards into Mixed rate and optimistic continuation paths.resize_prefillthrougheffective_prefill_catalog, and deleted unreachableis_prefill()branches inadd_candidateandcontinuation_candidate.Claimed Benefit and Result
Live SM120
flare runA/B vsorigin/main(3e57bdc8, balanced policy, unique uncached prompts, cleanSIGTERMdrainrc=0on every run):origin/main(3e57bdc8)#645nvidia/Qwen3.8-27B-NVFP4@gb202-tp1-202610281501(1× RTX PRO 6000 Blackwell)B=8burst (8 × ~2,430tok →2,048out)398.6 tok/s, max TTFT3,070.3 ms(24prefill,113spec)497.6 tok/s, max TTFT2,776.8 ms(16prefill,71spec)+24.8%tok/s,-9.6%max TTFT,-33%prefill launches,-37%spec roundsnvidia/Qwen3.8-27B-NVFP4@gb202-tp1-202610281501(1× SM120)B=4burst (4 × ~2,430tok →1,024out)305.8 tok/s, max TTFT1,903.5 ms(11prefill,95spec)316.5 tok/s, max TTFT1,855.3 ms(8prefill,91spec)+3.5%tok/s,-2.5%max TTFTnvidia/Qwen3.8-27B-NVFP4@gb202-tp1-202610281501(1× SM120)#485, Runs 0 / 1 / 2)30,622.6(57) /30,349.9(59) /29,209.2 ms(38)29,510.2(52) /28,982.5(40) /29,082.8 ms(39)-3.6%/-4.5%/-0.4%TTFT;-5/-19/+1launchesnvidia/Qwen3.8-Flash-Next-FP4-Local@gb202-tp2-202610270419(2× SM120)B=4/B=8bursts (~3,275tok,max_tokens=128) &77kprompt252.9/353.1 tok/s(B8 max TTFT2,063.0 ms),77k:4,492.5 ms262.7/354.9 tok/s(B8 max TTFT2,017.6 ms),77k:4,488.1 ms+3.9%/+0.5%tok/s,-2.2%B8 max TTFTdeepseek-ai/DeepSeek-V4.1-Flash-1017@gb202-tp4-202611281955(4× SM120)#485, Runs 0 / 1 / 2)3,524.0/3,497.3/3,494.0 ms(20/20/20launches)3,510.8/3,484.2/3,487.5 ms(20/20/20launches)-13.2/-13.1/-6.5 msper run, zero launch driftSynthetic scheduling simulator (
scripts/scheduling_sim, balanced policy,coalescing_horizon_tokens=64.0vs0.0):burst_eight(8 × 4,096): makespan2,188 -> 2,060 ms(-5.9%), max TTFT876 -> 706 ms(-19.4%), sub-batch rounds16 -> 8.burst_eight_8k(8 × 8,192): makespan2,746 -> 2,648 ms(-3.6%), max TTFT1,448 -> 1,314 ms(-9.3%), sub-batch rounds18 -> 12.burst_eight_low(8 × 4,096, zero draft acceptance): max TTFT611 -> 559 ms(-8.5%), sub-batch rounds6 -> 2.Supporting Evidence and Limitations
scripts/scheduling_sim/learning.py --preset validate --reference ttl, all 62 scenarios × 64 seeds10000..10063, Helios productionretained-refreshalpha=0.002,credit_cap_ms=5.0,ttl_ms=30000.0,retain_idle_credit=true):retained-refresh:funded:cumulative:alpha=0.002— 35 / 35 core gates passed, 6 / 6 recovery gates passed, calibration passed (coverage_16=1.0,coverage_1000=1.0,mature_width=true), 0 / 64 stationary resets, geomean core throughput ratio1.0093, worst core mean-seed p99 decode-gap ratio1.0101(below1.05ceiling).cargo test --locked --release):eos: 2 passed, 0 failed.selene(--features test-support): 548 passed, 0 failed.selene-manager(--features test-support): passed.helios(--features runtime-core,server): 1,751 passed (406 / 406scheduler::tests, includingprefill_cost_model_prevents_tail_poisoning_and_tracks_fill_and_context,smaller_prefill_borrows_larger_peer_context_slope_to_prevent_run1_ladder_drift,non_constant_prefill_cost_model_preserves_stride_fast_path_on_long_agentic_prompts,simultaneous_burst_coalesces_prefills_into_full_decode_batches,nonterminal_prefill_frames_pipeline_two_deep_and_terminal_chunks_drain,unmeasured_terminal_prefill_discovery_uses_terminal_catalog_and_mixed_respects_alpha, and#644's excluded-only fairness tests). The 6 chat-template tests requireFLARE_TEST_TEMPLATE_DIRfrom a gated Hugging Face repository and did not run locally.flare: 237 passed, 0 failed.flare-cli: passed; release build succeeded with 0 warnings.pytest tests/cli tests/test_scheduling*.py -q): 961 passed, 0 failed.python3 verification/helios-lifecycle/check.py --tlc-jar /home/luke/.cache/flare-formal/tla2tools-1.7.4.jar --target-dir flare-cli/target): All 8 models (Lifecycle,RankProtocol,DispatchRing,OffloadTransfer,CacheOwnership,Speculation,ResponseLifecycle,CheckpointReservation) and Rust trace conformance passed with 0 TLC errors;--mutationsdetected all injected mutations.cargo-kaniis not installed locally (covered by CI; Kani-covered completion-vector andStateViewvalidators were not modified).Discord: lukealonso