Explore report · NVIDIA/hyperflare-inference #632

Raw Markdown for agents: https://autobot.eidonix.com/p/15ed434b-c15b-4133-bcda-7d139aac4364.md

Case file: PR #632 — helios/scheduler: scale GPU prefix calibration ceiling per step across depth

Open, ready for review, opened 2026-11-30 08:24 by original-el8 (COLLABORATOR), branch fix/gpu-calibration-depth-ceiling → main, head 64c7198, 4 files, +216/−33. CI on the head commit is failed. No comments, reviews, labels or Autobot review.

Key findings

  1. The change is smaller than the description reads and mechanical. +15/−10 in helios/src/scheduler/rounds.rs: one new helper calibration_factor_max(depth) returning 2.0^(depth+1) with the exponent capped at 30 (rounds.rs:15-18), plus threading depth: usize through six functions that previously had no depth argument. Everything else is tests (+165) and docs. The [0.0, 1.0] probability clamp and the running-min monotone bound (rounds.rs:412-424) are untouched, so the description's safety claims hold.

  2. At depth ≥ 4 the ceiling stops binding at all — it is effectively removed, not merely widened. The population prior at depth d is 0.5^(d+1) (rounds.rs:309-311) and the new ceiling is 2^(d+1). Their product is exactly 1.0 at every depth, so from the population prior any observed ratio ≥ 1.0 now reaches the top of the [0,1] clamp. Concretely: depth 0 → 2.0 (unchanged), depth 3 → 16.0, depth 4 → 32.0, depth 6 → 128.0. For draft_tokens = 5..7 cores (the PR's own measured per-depth survival is 7 values long) the calibration estimator is unbounded in practice. The description presents this as "keeps CALIBRATION_FACTOR_MAX = 2.0 as the per-step ratio bound"; it does, but the cumulative effect is saturation-equivalent, which is a different estimator behaviour and is not stated.

  3. Three behaviour changes are not declared. (a) RequestCalibration::observe's first-observation seed self.realized = (anchor * global.factor(depth)).clamp(0.0, 1.0) (rounds.rs:99) now saturates: with anchor floored at 0.05 (rounds.rs:22, 97) and a depth-4 factor up to 32, a brand-new request seeds realized = 1.0, and the seed weight (REQUEST_CALIBRATION_PRIOR_WEIGHT * decay = 2, then +1 → 3, rounds.rs:100-104) means one weak observation only drags it to ~0.93 — new requests are priced optimistically at depth until enough data ages it. (b) The depth-scaled factors feed both host_pred and actual_cal in observe_packed_forecasts (rounds.rs:586-624), which are the inputs to the SurplusHistory cross-lane surplus estimator from #515/#522, so packed-shape pricing at B ≥ 2 shifts too. (c) calibration_information / the Hoeffding exploration bonus (rounds.rs:288-290, 415-421) is unchanged while the calibrated mean can now be far larger, so the exploration/exploitation balance moves at deep depths.

  4. The core premise is not verifiable inside this repository. The PR's justification is that the GPU sidecar at depth d holds the Rényi-2 collision product prod_{j=0..d} sum_i q_{j,i}^2. No producer of proposal_confidence in this repo computes that: the docs only say the sidecar is FP32 [2, request_slots, draft_capacity] with "Rank zero's confidence drives host decisions" (docs/scheduling-runtime-design.md:81-86) and that allocation "selects the highest immediate-frontier survival probability, multiplying FP32 confidence values in FP64" (helios/model-contract.md:218-225). The strings "Rényi" / "collision survival" appear only in the lines this PR adds (docs/scheduling-runtime-design.md:118, helios/README.md:451). The confidence producer lives in an out-of-tree exporter. A reviewer cannot confirm the c^(d+1) compounding argument from this repo.

  5. All serving evidence is combined-stack and the headline comparison is not a clean A/B. The PR self-labels: "isolated single-PR TP4 serving A/B was not run separately." The quoted 87.74 → 118.23 tok/s pair differs in draft_tokens as well as ceiling (draft_tokens = 5/W=6 baseline vs draft_tokens = 7 adaptive), so it does not isolate this change. The identical benchmark block, with the identical scope note, appears in the author's unrelated sibling PR #633 (RoCE thread pinning, same day). The only isolated evidence is CPU scheduler simulation in policy_tests.rs — and the only main-comparable artifact is absent.

  6. The PR itself reports a cost. Inside the benchmark block: at alpha = 0.75, max_verification_token_budget = 256, the looser calibration offers ~2.8–2.9 drafts/lane on low-acceptance prose with accept rate falling to 49.4%–51.8% from a 59.7%–62.2% baseline, "increasing packed verification rows." This is honest but sits outside the claimed-benefit summary, and it is the expected downside of the change for low-acceptance workloads.

  7. Process gaps. CI is red and the description never says so (it lists only local cargo test "399 passed, 0 failed, 4 ignored" and a clean cargo check for flare-cli). Single commit, no revision cycle, no labels, no reviewer — and no Autobot review, unlike #515/#522/#521 which each got one within ~90 minutes.

  8. This is the author's third attempt in the same subsystem. #521 (their per-request calibration PR) was superseded by voipmonitor's #522 within about two hours and closed by the author; #306 (their acceptance-prior PR) is still open with CHANGES_REQUESTED from yatesdr and an Autobot "already fixed another way". #632 is the first of the three that is not duplicating someone else's work. The author is a charter-named priority contributor.


The change

Verified diff (pr_diff on rounds.rs, read at head):

Not changed, contrary to nothing in the description but worth pinning: speculative_curve's running-min monotone bound and [0,1] clamp (rounds.rs:412-424); the once-per-round population update (rounds.rs:640-650); SurplusHistory internals; CALIBRATION_PRIOR_WEIGHT, POPULATION_CALIBRATION_MAX_WEIGHT, REQUEST_CALIBRATION_* and SURPLUS_FACTOR_MAX = 2.0 (rounds.rs:11-25) — note SURPLUS_FACTOR_MAX is a separate flat 2.0 that this PR deliberately leaves alone.

Tests (helios/src/scheduler/policy_tests.rs):

Docs. docs/scheduling-runtime-design.md:113-145 is reflowed (+32/−22) — roughly five genuinely new sentences (the Rényi-2 paragraph and the hoisted "Both calibration levels clamp realized / predicted to [0.0, calibration_factor_max(depth)]" sentence), the rest re-wrapping. helios/README.md:447-453 replaces "clamped to [0, 2]" with "clamped to [0, 2^(depth + 1)]", adding the cap-at-30 and the prod_{j=0..depth} sum_i q_{j,i}^2 formula. Neither doc mentions seed saturation or the surplus-input consequence. docs/mtp-design.md:173-180 ("calibrated per depth against observed verification outcomes") stays accurate and is not touched.

Description vs code: no misstatement found. The description's Compatibility line ("No model core format, Protobuf schema, or execution contract changes") is accurate — no .proto, manifest or execution-contract file is in the diff. What it omits is the depth ≥ 4 saturation effect, the seeding change and the surplus-input reach (Key findings 2-3).

The why

The stated pathology: a flat 2.0 cap on a quantity that is a product over d+1 steps truncates deeper ratios, so calibrated survival at d ≥ 2 is pulled below realized acceptance and packed selection is stuck at narrow widths. The stated baseline: 4x DGX Spark (GB10/SM121), DeepSeek-V4.1-Flash TP4, draft_tokens = 5 (W=6), temperature = 1.0, 50,311 completion tokens → 36,726 offered drafts / 18,345 rounds = 2.002 drafts/round, acceptance [0.917, 0.824, 0.001, 0.0, 0.0], 2.74 mean tokens/step, 87.74 tok/s. That is a coherent and specific symptom report.

No issue is referenced or closed by this PR. The motivating evidence is the author's own benchmarking. Adjacent demand in the tracker, not linked by the PR:

So: a real, recurring, user-visible complaint class exists in this area, but this PR's specific fix is not tied to any of the filed reports.

Lineage of the exact code #632 edits — this is the most important cross-PR context:

Significance: CALIBRATION_FACTOR_MAX = 2.0 is five days old and was written as a flat per-depth bound, directly asserted in #515's Theorem 2. #632 is the first PR to change its semantics rather than the estimator structure around it. There is no competing or overlapping open PR proposing a depth-scaled ceiling, and nothing is superseded or undone by #632 — the only reversal is of the literal flat 2.0.

Other PRs sharing files (none conflicting):

Recent activity

Commits on helios/src/scheduler/rounds.rs immediately before #632 (newest first): c146d7be 2026-11-29 Luke Alonso (#620), c9693765 2026-11-27 Martin Vit (#555), e30d55db 2026-11-25 Martin Vit (#522), 1e78f080 2026-11-25 Martin Vit (#515), fd6c0f3b 2026-11-24 Luke Alonso (#510), bc88d7e4 2026-11-20 yatesdr (#414), plus Luke Alonso's completion-capacity sizing commits. Nothing in the interim commits touches DepthCalibration / RequestCalibration, so #632 sits five days downstream of #522 and two days downstream of #620/#555 with no semantic conflict. Note the squash-merge authors (Martin Vit) differ from PR authorship (voipmonitor/voipmonitor) — do not mis-attribute the calibration subsystem.

Broader area activity (orientation packet, 60 days): helios/src — Luke Alonso (229 commits), Martin Vit (52), yatesdr (47). Recent merged work in the same module is about speculation breadth and host-stop handling (#619 multi-token speculation, #626 grammar-constrained reasoning, #620 legacy core loading), i.e. the same "speculate deeper" direction, which is consistent with #632's intent.

People

Author: original-el8, COLLABORATOR, charter-named priority contributor ("@voipmonitor, @original-el8, @lukealonso carry extra weight—we never close their PRs out of hand"). 180-day record: 24 merged, 27 closed, 7 open, concentrated in docs (14), helios/src (13), helios (5), ignition/preparation (5), ignition/recipes (4). Their signature is large hardware-validation PRs (#410 "DeepSeek V4.1 on One GB300: 1M Context, 78K Prefill, 2K+ C32 Decode", #408 "Parallax: 2x Decode & 79K tok/s Prefill"), so #632 is unusually small in code and unusually large in narrative for them.

This subsystem's owners: voipmonitor authored #495/#515/#522 (the calibration estimator and the 2.0 ceiling); original-el8 co-contributed (#495, #521). Neither voipmonitor nor yatesdr nor Luke Alonso has reviewed #632.

Author's history in this exact area: #521 closed as superseded by #522 within ~2h (author closed it himself); #306 still open, halted as "already fixed another way". #632 is the third attempt and the first that does not duplicate another open PR.

Community

Nothing. pr_comments → "No comments."; no reviews, no inline comments, no reactions, no labels, no Autobot case file. The sibling #633, opened the same day by the same author, is likewise undiscussed. By contrast #515 drew an Autobot "Changes Requested", several comments, and an independent SM103 counter-benchmark from original-el8 that contradicted a claim; #522 drew four comments plus an Autobot review with five should-fix items and ten nits, including the missing-Discord-line blocker. #632 carries the required Discord: el8 line, pre-empting that specific gate, but has not entered the review loop at all.

Project fit

From the charter (read in full):

Claims and evidence

Claim Status
calibration_factor_max(depth) = 2.0^(depth+1), exponent capped at 30 Verified rounds.rs:15-18
depth threaded through all six named functions Verified rounds.rs:47, 83, 93, 283, 292, 334; no missed call site
[0,1] clamp and non-increasing survival preserved Verified rounds.rs:412-424 (bound = bound.min(value.clamp(0.0,1.0)))
Test factors 2.0 / 16.0 / 15.0 at depths 0 / 3 / 4 Verified policy_tests.rs:6444-6446
Behavioural test discriminates old from new Verified — the > 8.0 assertion at policy_tests.rs:6564 is unreachable under flat 2.0
"No core format / Protobuf / execution contract changes" Verified — no .proto, manifest or contract file in the diff
Rényi-2 product is what the sidecar contains Not verifiable in-repo — out-of-tree producer; the term appears only in this PR's own doc lines
"399 passed, 0 failed, 4 ignored" for scheduler:: Not reproducible here; contradicted in spirit by red CI on the head commit, which the description does not disclose
CPU simulation: capacity 3 → 6 at high survival, stays 3 at low Test-backed (policy_tests.rs:6541-6596) but is a synthesized engine, not a served workload
All tok/s figures (118.23 long-form, 126.61 geomean, Coding Peak 109.0 median, prefill numbers) Combined-stack only, self-labelled; identical block reused in #633
"87.74 → 118.23 tok/s" as the headline gain Not a clean A/B — differs in draft_tokens (5/W=6 vs 7 adaptive) as well as ceiling
Low-acceptance regression (49.4%–51.8% vs 59.7%–62.2%, more verification rows) Reported honestly but buried; it is a real cost of the change

Reach

Process

Open, "ready for review", one commit (64c7198), no revision cycle, opened and last updated the same day (2026-11-30). CI failed on the head commit — the relevant workflows for helios/** are .github/workflows/native-serving.yml (not opened) (release build of flare-cli plus cargo test --locked --release --manifest-path helios/Cargo.toml (not opened) --features runtime-core,server on Linux and Windows) and .github/workflows/helios-lifecycle.yml (not opened) (TLA+ lifecycle conformance + kani). No fmt/clippy workflow exists, so a formatting-only cause is unlikely but not excluded. The cause of the failure is not recorded anywhere readable, and the PR does not mention it. No labels (not even area:scheduling), no requested reviewers, no Autobot review.

Open questions / could not determine

  1. What failed in CI, and whether it is this diff or the known unrelated FLARE_TEST_TEMPLATE_DIR-unset frontend-template fixture failures that #521/#522/#633 all report. The PR is silent.
  2. Whether depth ≥ 4 saturation-to-1.0 is intended. The arithmetic (prior 0.5^(d+1) × ceiling 2^(d+1) = 1.0 exactly) makes the new ceiling precisely the value that un-clamps the population prior at every depth. If the intent were "2× per step but still bounded", a multiplicative ceiling on the prior is not that; the description does not address it.
  3. Whether the seed-saturation optimism (new requests starting at realized = 1.0 at depth ≥ 4) was observed or measured. No test covers request birth at depth ≥ 4.
  4. Whether the alpha = 0.75 low-acceptance regression (extra verification rows, accept rate 59.7→49.4%) matters for the default configuration shipped to operators — no default is specified or changed.
  5. No issue link: whether #503 or #530 is considered fixed/related by the author is not stated anywhere.
  6. No isolated main benchmark exists, so the charter's evidence rule is not met by the material in the PR as written; whether the CPU-only evidence is accepted for this class of change is a maintainer call.