Value proposition scratchpad · NVIDIA/hyperflare-inference #548

Raw Markdown for agents: https://autobot.eidonix.com/p/b94aaa5e-c367-4aa0-bce0-6a9627580ec6.md

#2 [high] Run 2 findings — #548 at a34c4d06 (2026-11-27)

#548 head a34c4d06, 10 files, +548 -25 (was +560 -25 at ebecef1).

NEW BLOCKER (introduced by commit d64c3ea3 "Exclude cancelled responses and reuse host helpers"): helios/src/server/metrics/process.rs:68 calls crate::runtime_core::open_descriptors(). helios/src/lib.rs:25-26 gates pub mod runtime_core; behind #[cfg(feature = "runtime-core")]. Cargo.toml:25 server = [...] does NOT imply runtime-core (only serde/images/grammar/axum/tokio/...). server.rs:16 mod metrics; and metrics.rs:12 pub(super) mod process; are ungated. => On Linux, cargo build --features server (no runtime-core) cannot resolve crate::runtime_core. Before d64c3ea3, process.rs used only crate::os (lib.rs:19, ungated) and an inline read_dir, so that config built. Search evidence: crate::runtime_core in helios/src/server appears ONLY at process.rs:68 and runtime/prompt_tests.rs:13 (the latter is gated by #[cfg(all(test, feature = "runtime-core"))] at runtime.rs:3983). Affected documented configs: docs/model-development.md:99-100 (--features server --lib frontend::), docs/scheduling-runtime-design.md:735-737 (--features server --lib scheduler:: / server::runtime::phase_tests::). CI will NOT catch it: .github/workflows/native-serving.yml:63,68 both use --features runtime-core,server (Linux + Windows). Fix: move open_descriptors into eos/ (eos/src/unix.rs already has page_size :73, raise_open_file_limit :138) and call crate::os::open_descriptors(), or gate the call. Note runtime_core/protection.rs:291 is where it lives now; pub(crate) use protection::open_descriptors; added at runtime_core/mod.rs:58 is itself gated.

FIXED since last report:

STILL OPEN:

CONTEXT: #552 (Report request timings on final responses) is explicitly stacked on #548 — "Merge #548 first" — and uses RequestTimes; note it makes RequestTimes pub. So #548 is load-bearing for #552's llama-swap benefit. #553 (per-request metrics object) was stopped by Autobot as low value / not aligned. #549 is independent (KV page gauges).

#4 [high] Run 3 (2026-11-27, post-autobot-comment) — #548 unchanged at a34c4d06; final verdict

No new commits since run 2; the only new discussion item is the automated flare-autobot review comment (2026-11-27 06:15) pointing at an external case file that is not fetchable from this environment (autobot.eidonix.com is a private address).

Re-verified at head a34c4d06:

Verdict for this run: worth merging, with changes — blocker 1 (build) and maintainer sign-off, then subtractive cleanups.

#6 [high] Run 4 (2026-11-27/28) — #548 at new head: blocker fixed, verdict worth merging with minor changes

New commits since last turn: 10c0b937, 01f1e92b, 15018689, 49373bc5, 055663a7, 54e06b30. Files now 9 (process.rs deleted), metrics.rs +548/-2.

VERIFIED FIXED:

REMAINING ISSUES:

  1. Two histogram implementations coexist: HOST_TIME_BUCKETS/HOST_TOKEN_BUCKETS (metrics.rs:199-209), host_cost_sums with .position(..).unwrap() (metrics.rs:819-841), hand-rolled render loop (metrics.rs:1178-1214), plus flare_host_cache_retirement_seconds. Should be ported to Buckets/Histogram (net-negative lines). Main remaining code-quality ask.
  2. vLLM parity overstated. Verified vLLM main (vllm/v1/metrics/buckets.py + loggers.py): REQUEST_LATENCY_BUCKETS starts 0.3 -> 7680; TTFT family 0.001..2560; INTER_TOKEN 0.01..80; ITERATION_TOKENS 1..16384; request_params_n (1,2,5,10,20); request_num_preemptions (1,2,3,4,5,10,20) which deliberately lumps 0 with 1. Flare uses REQUEST_SECONDS 0.001..2560 (metrics.rs:218-224), TOKEN_SECONDS 0.001..2.5 (:226-232), TOKEN_COUNTS 1..2097152 (:234-240), PREEMPTION_COUNTS with added 0 bound (:242-247). So bucket bounds differ (fine, but dashboards' histogram_quantile differ), and vLLM series are vllm: names with model_name/engine labels — a vLLM dashboard needs rewriting regardless. Description's "dashboards and SLO alerts written for vLLM read them" overstates.
  3. "Closes #536" is now only partially true: #536 explicitly asks for process_cpu_seconds_total / process_resident_memory_bytes / process_open_fds / process_start_time_seconds, which this PR deliberately dropped (commit 54e06b30). Needs issue split or maintainer note; do not silently close.
  4. Preemption absence in docs: inter-token interval spanning preemption IS documented (docs/api.md:345-346) but the second queue wait is not counted (get_or_insert runtime.rs:2225-2237) and docs don't say so.
  5. Authorization: charter "What gets merged" list — #536 is a third-party feature request; needs maintainer sign-off on the PR.
  6. Cost numbers: 17 histograms / 394 exposition lines / 326 bucket loads per scrape — cheap; per-step clock read + lane loop (runtime.rs:2225-2237). Unmeasured. Related: #549 (KV gauges, overlapping metrics.rs, keep apart — head commits 15018689/49373bc5 do exactly this), #541 Grafana needs series to plot, #552 closed and superseded by #560 (stacked on this PR).