Value proposition scratchpad · NVIDIA/hyperflare-inference #404

Raw Markdown for agents: https://autobot.eidonix.com/p/77cac09a-5fe2-4e0d-a2c4-23146a209e66.md

#1 [high] PR #404 shape, scope and history

PR #404 "Add optional per-request activation steering for DeepSeek V4.1 cores" by jcartu (CONTRIBUTOR), open, pr/per-request-steering -> main, head 8e5a1b0, +1794/-309 in 49 files.

History (pr_comments):

#2 [high] Charter rules that decide #404

Charter (read_charter): "Keep the runtime small and model-agnostic... Helios (the runtime) handles scheduling, caches, and requests, and shouldn't accumulate per-model branches (#267, #334)." "Solve the right problem in the right place... Look for the smallest footprint in shared code, or a way to solve it without new code at all." "Don't silently ignore API fields... either implement it according to the spec or reject it." "Bring real evidence" (#210). Non-goals list requires maintainer sign-off. Mergeable work: maintainer request, roadmap item, reproducible bug, measured perf/memory issue, bad docs.

docs/design-review.md:

tools/search_items: #505 "Bind core-declared FP32 graph inputs per request" (draft, +2299/-276, 33 files) is the maintainer-requested generic alternative; it keeps the six-column sampling layout and the sampling kernels unchanged.

#3 [high] Code-level evidence for the #404 verdict

Concrete findings gathered while reading the diff:

  1. Per-request value read inside the captured forward (the Principle 1 trigger): ignition/components/paged_batch.py:48-56 (gather_token_steering_scale), :306-309 (PreparedBatch.begin), :129-134 (Metadata.set), :160-166 (Metadata.pack); decoder applied at ignition/recipes/deepseek41/decoder.py:237-241 (attention), :253-254 (shared expert), :375-377 (requires metadata.steering_scale), :399 (suffix gather). Author concedes on PR: "I can't name a matching captured operation... needs explicit approval from Luke Alonso." No approval recorded anywhere; Luke's 2026-11-21 20:28 comment asks for a generic core-declared scalar instead, and draft #505 is that.
  2. Sampling width now 6-or-7, derived from the declared ValueSource::SamplingParameters binding: helios/src/model/packing.rs:177-193 (uniform width, 6|7 only), :273-286 (metadata/binding symmetry), :506-530 (nonzero scale needs 7 cols; packed bits must match planned PrefixHistory; .take(input.width)).
  3. The 0..1 / zero-default invariant is duplicated ~7 times: heliopause/src/export/binding.rs:773-786; helios/src/runtime_core/protobuf.rs:92-110 (two checks); helios/src/server/config.rs:119-125; helios/src/model.rs:265 + in_steering_bounds :229-237; ignition/components/sampling.py RequestAdmission.validate (:64-66 "steering_scale must lie in [0, 1]"); ignition/direct/scheduler.py SamplingParameters.post_init ("0 <= steering_scale <= 1").
  4. Silent field drop on non-steering cores: helios/src/server/request.rs:530-538 clamps via sampling_number (:557-580), which falls back to SamplingRange::fixed(default=0.0) when the core declares no range, so {"steering_scale":0.8} on a 6-column core returns HTTP 200 with scale 0.0. Asserted as intended in tests/recipes/test_deepseek41_steering.py:275. Conflicts with charter "Don't silently ignore API fields... Never accept it and quietly drop it (#417)".
  5. Shared protocol gains a recipe-named template-keyword carve-out: helios/src/server/protocol/decode.rs:585-628 pulls steering_scale out of chat_template_kwargs for every core and errors on Responses/Messages (:630-636). A chat template that really takes a steering_scale variable would be stolen silently.
  6. Kernel stride threading (default PARAMETERS=6) in ignition/components: sampling.py (_scores, _sampling_metadata, _admission_validate, _admission_finish, PreparedSampling/PreparedAdmission), draft_sampling.py (5 kernels), vocabulary_sampling.py (2), markov_sampling.py; DeviceRequestState.allocate/AdmissionBuffers.allocate gain steering=.
  7. Prefix identity: helios/src/cache/hash.rs:38-48 (root digest salted with FP32 bits only when nonzero), scheduler.rs:1415-1455 plan_admission_with_steering, LiveRequest.steering_scale :265-271; direct path key = (tokens, bits) in ignition/direct/scheduler.py:400-403, :746-760. Recipe folds sidecar SHA-256 into core identity: ignition/recipes/deepseek41/bootstrap.py:411-415, :620-628; steering.py:19-23.
  8. Test coverage gap: tests/recipes/test_deepseek41_steering.py has 7 tests, all helper/CPU (sidecar validation, gather, steer_attention/steer_shared_expert math, Metadata.pack under torch.compile fullgraph, direct scheduler cache keys, request-state width). No test runs PreparedDecoder with steered weights, and none runs a 7-column core through native packing + replay.
  9. Evidence/head mismatch: head is 8e5a1b0 (rebased on 6555f939); all GPU evidence is on 15ade6b9 with base 69858cd1, core SHA 235e2891 exported from that worktree; description states CUDA suites and the 4-GPU core re-export were not repeated after the rebase.
  10. Performance: no speedup claimed; C=1 decode 2-8% lower at scale 1.0 vs the geometric mean of two 6-column baseline runs (different core), and C=1 at 0.0 was not timed although gated steering kernels launch at every scale on a steered core.