Case file: PR #404 — Add optional per-request activation steering for DeepSeek V4.1 cores
https://github.com/NVIDIA/hyperflare-inference/pull/404 — open, head 8e5a1b0, base main, 49 files, +1,794/−309, opened 2026-11-19, last comment 2026-11-25, CI passed on head, review state: changes requested (yatesdr), never withdrawn.
Key findings
- The repository split has overtaken the PR. On 2026-11-22 Luke Alonso landed
da037284("Stage hyperflare_recipes separation, slim core ignition…") and17bb3c4a("Remove extracted hyperflare_recipes, qualification drivers, and model tests from core Flare"), moving every recipe intolocal-inference-lab/hyperflare-recipes. #404 (last pushed 2026-11-19) edits six files underignition/recipes/deepseek41, addsignition/recipes/deepseek41/steering.py, and editstests/recipes/*— paths that no longer exist on main. main now enforces this withtests/preparation/test_core_boundary.py(main, lines 40–48 assertnot (ROOT/"ignition"/"recipes").exists()and forbid imports ofignition.recipes/hyperflare_recipes; lines 51–59 do the same fortests/). Several shared component files it edits (causal_draft.py(not opened),draft_sampling.py,markov_sampling.py(not opened),parallel_draft.py(not opened),vocabulary_sampling.py(not opened), plustests/components/{draft_score_reference,test_draft_scores_cuda,test_markov_sampling_cuda,test_vocabulary_sampling_cuda}.py) were also removed from main.original-el8's triage comment (2026-11-24 21:46) states the recipe half needs a linked PR inhyperflare_recipes/and the runtime half may stay here only after recipe-owned files are removed. That restructuring has not been done. - The maintainer directed a different design, and #505 is it. lukealonso (2026-11-21 20:28): "See if your agent can implement this not as a hardcoded steering_scale parameter, but as a generic system by which model cores can expose scalar arguments … All of this would be described in the model proto." The author opened draft #505 "Bind core-declared FP32 graph inputs per request" (2026-11-25, 33 files, +2,299/−276) implementing exactly that, with no steering recipe, and left #404's branch unchanged: "If you prefer the engine commit here rather than in a new draft, say so and I will move it." The two PRs overlap in 22 files (see Related work) and are competing designs for the same area.
- The description's central claim was conceded to be wrong. The PR description says there is "no new captured-graph operation contract"; yatesdr's second review (2026-11-20 14:47) showed the decoder reads a per-request value inside the captured forward (
ignition/components/paged_batch.py:48-56,:305-309;ignition/recipes/deepseek41/decoder.py:237-241,:253-254), which Principle 1 requires owner approval for. The author agreed (2026-11-21 17:29): "I can't name a matching captured operation… My description was wrong. This needs explicit approval from Luke Alonso." No approval is on the record. - The feature's headline effect is behavioural, not performance. Unsteered, 90/100 refusal prompts are refused by keyword; at
steering_scale = 1.0, 0/100 are refused semantically on the same weights (PR Validation section). yatesdr flagged this as the reason the PR needs a stated purpose ("a per-request switch that removes the model's refusals on a shared serving core… a significant step for the engine to take"). The author later reframed (2026-11-23 14:57): "The original DeepSeek experiment included changing refusal behavior; I'm not proposing that as a Helios feature or an acceptance metric," and #505 does not offer refusal results as evidence. - The charter names this PR as its counter-example. Charter, "Solve the right problem in the right place": "Good ideas in the wrong place will be declined, and we'll point you to where they belong (#404)."
- All GPU evidence predates the rebase, and no test executes the steered decoder. The description says the 128 CUDA tests, the 4-GPU core export and the serving comparisons were done on revision
15ade6b9(base69858cd1), and explicitly that "CUDA unit suites and full 4-GPU core re-export were not repeated after rebasing onto 6555f939." yatesdr: the tests "exercise the steering helpers on CPU. None runs the decoder with steering" — confirmed bytests/recipes/test_deepseek41_steering.py(7 tests: sidecar validation, schema round-trip, mixed rows, TP4 commutation, request-state width,Metadata.pack/setundertorch.compile(fullgraph=True), direct-execution cache isolation). - Undeclared behaviour in the diff (full list in "The change"):
steering_scaleis rejected with HTTP 400 on the Responses and Messages protocols; a second spelling is consumed fromchat_template_kwargsand deleted from the template map; the 0..1 range is hard-coded in five places rather than declared (heliopause/src/export/binding.rs:773-786,helios/src/runtime_core/protobuf.rs:93-110twice,helios/src/server/config.rs:119-125,helios/src/model.rs:265); the direct path's prefix-cache key becomes a tuple and all direct-path sampling-number parsing is broadened. - Process state is stale-by-design. The PR is labelled ready-for-review but the author has said (2026-11-21 20:28) "I'll leave #404 open as a design proposal rather than something to merge as written… I'll hold off on pushing more code here until we agree on a direction." The whole change is a single commit
8e5a1b08from 2026-11-19; all reviewed revisions were force-pushes.
The change
What it does, in plain terms. A DeepSeek V4.1 core can be exported with --steering-sidecar <safetensors>; the core then accepts a per-request steering_scale ∈ [0,1] that applies directional ablation and row-gain rescaling inside the captured forward pass. steering_scale rides as a 7th f32 column in the existing SamplingParameters buffer (6 columns for unsteered cores). Nonzero scale salts the prefix-cache root digest so steered and unsteered prefixes never collide.
Size and shape (pr_files): helios/src 16 files +661/−23; tests/recipes 2 files +421/−1 (new test_deepseek41_steering.py +369); ignition/components 7 files +161/−68; ignition/recipes 6 files +202/−25 (new ignition/recipes/deepseek41/steering.py +112); ignition/direct 3 files +86/−24; docs 3 files +27; ignition/cli 4 files +17/−7; heliopause/src/export/binding.rs +30/−6; helios/proto/runtime_core.proto +4; helios/model-contract.md +5; ignition/preparation/runtime_core_pb2.py (not opened) +132/−132 (regenerated codegen).
Steering math (ignition/recipes/deepseek41/steering.py:89-112): steer_attention projects the FP32 attention output onto the unit direction, subtracts token_scale * alpha * dot * direction, rescales by 1 + token_scale * (attn_row_gain - 1), casts back and gates with torch.where(token_scale == 0.0, output, steered); steer_shared_expert does the ablation on a rank-local partial before the TP reduction. Sidecar validation (lines 49-81) enforces FP32 scalar alpha > 0, BF16[5120] direction with unit norm and finite values, BF16[5120] attn_row_gain for layers 4..36.
Things the diff does that the description does not say:
- Protocol restriction:
helios/src/server/protocol/decode.rs:630-634rejectssteering_scaleunless the protocol is Chat or Completions, so Responses and Messages get HTTP 400.docs/api.mdsays so; the description body does not. - A second request spelling:
chat_template_kwargs.steering_scaleis consumed and removed from the template map (decode.rs:590, test at:996asserts the key is gone), with exact-integer vs f64 conflict detection (i128 +int_equals_float, tests atdecode.rs:1011-1020). - Hard-coded 0..1 range in five places instead of a declared range (citations above, per yatesdr's review).
- Direct-path changes beyond adding a parameter:
ignition/direct/scheduler.pymakesCheckpoint.consumedhandle tuple keys (len(self.key[0]) if isinstance(self.key[0], tuple)), because the cache key becomes(prompt_tuple, steering_bits);ignition/direct/server.pyaddsfinite_f64/canonical_json_numberwhich change parsing for every sampling number (bools and non-numbers rejected, arbitrarily large ints accepted then clamped);Layout.__post_init__importsruntime_core_pb2locally to deriveparameter_widthand errors unless the widths agree and are 6 or 7. - Kernel plumbing:
ignition/components/sampling.pygainsPARAMETERS: tl.constexpr = 6threaded through_scores,_sampling_metadata,_admission_validate,_admission_finish;_admission_validaterange-checks steering onlyif PARAMETERS == 7;DeviceRequestState.allocate/AdmissionBuffers.allocategainsteering: bool;RequestAdmission.parameter_values(count)rejects a nonzero scale on a 6-column core before mutating slots (covered bytest_request_state_keeps_legacy_width_and_rejects_atomically,test_deepseek41_steering.py:156). - Docs not named in the description:
docs/api.md(+12),docs/model-preparation.md(+14),docs/cli-design.md(+1),helios/model-contract.md(+5). - Identity plumbing:
ignition/planning.pygains aPlanfield and rejects non-deepseek41 recipes or a missing sidecar file;ignition/recipes/deepseek41/bootstrap.pyfoldssidecar_sha256into both the preparation session identity andserver_config["identity"]and records"steering_sidecar_sha256"in preparation metadata.
What the description says that the change does not do: the cross-reference "no new captured-graph operation contract" — contradicted by the in-graph per-token gather, conceded by the author (2026-11-21 17:29). Also "same model identity" claims: the sidecar digest changes model identity per sidecar, so distinct sidecars are distinct cores, not one core (stated in Limitations, but it qualifies the headline "one core serves both" framing).
The why
- Stated need: one ~473 GiB on-disk core per behaviour; the author's 4× RTX PRO 6000 Blackwell host has 384 GiB total, ~96 GiB/GPU for one TP4
DeepSeek-V4.1-Flash-1017core plus a ~23.7M-token KV pool, so a second core does not fit, and swapping cores interrupts every active session for ~2 minutes (author comment 2026-11-21 17:29). Runtime Python hooks cannot run inside captured graphs, so steering must be captured; per-request steering also needs prefix-key isolation. - Stated deployment (same comment): defensive security/config-review work at
steering_scale = 0.0, "authorized red-team analysis that stock otherwise refuses" at1.0. This is the only concrete user need on the record — a single host, single operator. - Demand history: nothing in the repository asks for per-request activation steering.
search_itemsfor activation steering returns only #404 and #505; no linked issue, no user report, no roadmap entry. The charter's roadmap (in-process Rust SDK #6, Engram #267, FlashInfer #215) does not mention steering or per-request conditioning of any kind. - Interest that does exist: yatesdr's personal endorsement (2026-11-21 18:01): "this is really cool work and I'm personally interested in it as well with the way security is being nerfed in newer models I think it is forward looking… For now please leave it open as a proposal."
- The refusal result is the motivating evidence and the chief concern at once: 90/100 keyword refusals unsteered vs 0/100 semantic refusals at 1.0 (PR Validation, "Full-scale steering"), read by yatesdr as a request to justify the feature's purpose explicitly.
Related work
- #505 "Bind core-declared FP32 graph inputs per request" (open, draft, same author, 2026-11-25) — the successor lukealonso asked for. Overlaps #404 in 22 files:
helios/src/{model/packing.rs, model.rs, model/admission.rs, scheduler.rs, cache/hash.rs, cache/tests.rs, server/protocol/decode.rs, server/request.rs, server/models.rs, server/runtime.rs, runtime_core/protobuf.rs, runtime_core/phase_tests.rs (not opened)},helios/proto/runtime_core.proto,helios/model-contract.md,ignition/preparation/runtime_core_pb2.py(not opened),ignition/direct/{scheduler,server,packing}.py,docs/api.md.packing.rsis +167/−41 there vs +45/−1 here — competing designs for the same function. #505 explicitly keeps the six-column sampling layout unchanged, has no steering recipe, and asks the owner which PR to prefer. It discloses its own limits: mixed batches only to 8 rows, no speculative decoding with an argument, and free-running chat scores not reproducible even on a declaration-free core. - Repository split (#2026-11-22,
da037284,17bb3c4a) — removes the recipe-owned half of this PR and most of the components it edits (see Key finding 1). Nothing in the PR's own description mentions the split. - DeepSeek V4.1 decoder PRs: open #330 (Engram residuals on TP row owners), #284 (gather selected routes for row-sharded prefill), #283 (prefill attention on local query rows), #282 (reduce-scatter prefill) — all by FujitsuPolycom, all touching
ignition/recipes/deepseek41/{bootstrap,decoder}.pyand the same CLI/planning plumbing; merged DeepSeek recipe work includes #123 (vocabulary shards local, voipmonitor) and #167 (reasoning-token budget + V4.1 sampling ranges, yatesdr) which established thesampling_ranges//v1/modelssurface #404 extends. - Same-area closed PRs for reference on review burden: #408/#410/#409 (original-el8 Parallax series, 26–27 files in common), #465/#432 (SM103 dynamic expert mover), #427 (DeepSeek V4.1 single GB300), #479 (voipmonitor fused addend / gated gather, 10 files in common incl.
sampling.pyanddirect/*), #352 (original-el8 terminal prefill scheduling, 14 files in common), #483 (rickybrent Gemma 4 image prep, 13 in common). - Fragmentary overlap:
docs/*,heliopause/src/export/binding.rs,helios/proto/runtime_core.proto,ignition/cli/*are touched by nearly every model PR (#387 video input, #122 compiler headroom, #330/#283/#284), so rebasing cost is chronic in these files.
Recent activity
- The dominant event is the repository split (2026-11-22, Luke Alonso):
ignition/recipes, qualification drivers and model tests left core Flare;ignition/components/on main is trimmed to an allow-list (RETAINED_IGNITION_COMPONENTS,tests/preparation/test_core_boundary.py:11-26: capacity, collectives, completion, engram, flashinfer_sampling, logprobs, ngram_delivery, readiness, sampling, state, state_transfer, vision_delivery, vision_state). Onlyignition/components/sampling.pyof the six component files #404 edits still exists on main — and it still uses the six-columnParams + slot * 6layout (mainsampling.py:265-268,294-295,153-154,219-220), so thePARAMETERSconstexpr idea remains applicable. - Kernel/component churn around the same time:
e60a70d5/c1ce8557/18bfd9bc(Martin Vit kimi31/Kimi3 fused sampling, 2026-11-22),e9d509d6(#433 Inkling 2, 2026-11-21),0d45b17a(#386 Qwen3.8 images, 2026-11-21) — unrelated purpose, same shared kernels andpaged_batcharea. - helios/src last 180 days: Luke Alonso 207 commits, Martin Vit 47, yatesdr 46. yatesdr's 2026-11-18/19 work (pool-lookup retry #345, snapshot selection #346, host-cache hit counting
1946d19f, refusal backoff #358) is exactly the code #404 threadssteering_scalethrough (admit_with_host_store,begin_pool_lookup,refresh_admission_plan); #404's own testssteered_pool_lookup_retry_preserves_salted_history_and_steering_scaleandsteered_preemption_preserves_steering_scale_and_prefix_historyextend that machinery rather than replacing it. ignition/directhas few contributors (Luke Alonso 15, jasonc 3, Martin Vit 1 over 180 days); #404 touches all three direct files.- Merges after the PR's base (up to #396 on 2026-11-19) include the 2026-11-25 helios work (#525 kv-codec, #529 GB300 PCI id, #523, #522, #507, #509, #504) — none of it conflicts semantically with steering, but it all postdates the branch.
People
- jcartu (author) — GitHub association CONTRIBUTOR. Last 180 days: 2 merged (#418 strict function-tool schemas for DSML/Qwen/GLM/TML parsers, 2026-11-20; #416 refresh host prefix-cache recency on request completion, 2026-11-20), 0 closed, 4 open (#520 snapshot-slot range assertion, #517 issue: Xid 31 in
_checkpoint_pageson Qwen3.8 Flash Next TP4 SM120, #505 generic scalar bindings, #461 document strict tool selection). Merged work touched docs,helios/src,helios/tests,selene/src. No prior merged change to the DeepSeek V4.1 recipe, to the sampling kernels or toignition/direct; not among frequent committers in any area #404 touches. The single branch commit8e5a1b08is authored "Joshua Cartu". - yatesdr (reviewer) — 46 commits in helios/src in 180 days; owns much of the request/admission/prefix-cache path #404 changes. Wrote both reviews; recommendation is to close but personally endorses the idea; Discord: D-Rock.
- lukealonso (project owner, approval gate) — 207 commits in helios/src, 104 in
ignition/components, 167 in the pre-splitignition/recipes; authored the repository split; gave the generic-scalar direction and has not approved the captured-graph contract. - original-el8 (priority contributor per charter) — wrote the 2026-11-24 repository-split triage on #404; owns the Parallax/DeepSeek SM103 series (#408/#409/#410/#427/#465).
- Martin Vit / voipmonitor / FujitsuPolycom / jasonc — the other heavy committers in the kernels, DeepSeek recipe and
ignition/components; none have commented on #404.
Community
Discussion is substantive but narrow: 6 comments after the description, from jcartu (4), yatesdr (1 long review-comment), lukealonso (1 sentence), original-el8 (1 triage note). No reactions recorded in the thread. Two formal reviews, both CHANGES_REQUESTED (2026-11-19 21:04, 2026-11-20 14:47). Review 1 raised: shared Helios branching on a one-recipe capability (ignition/planning.py:211, :509; helios/src/model/packing.rs:177-179; model/admission.rs:77-78, :181-184; server/request.rs:100-107; server/models.rs:67-74), Principle 13 (no previous core loaded), unupdated kernel callers (_scores, _sampling_metadata, _admission_validate, _admission_finish gained a required PARAMETERS before SLOTS; tests/components/test_sampling_score_defaults_cuda.py:41-43 (not opened) passed batch in that position, tests/recipes/test_completion_abi.py:105-111 (not opened) omitted it), ignition/direct unmetered steering, evidence from a tree with out-of-PR host-memory changes, cargo test -p flare-helios --lib not compiling the server tests it changes (helios/Cargo.toml:17 (not opened)), a commutation test in FP32 while ranks round to BF16, an undefined "Boundary triggers" metric, Principle 14 scope, and a missing Discord line. The author's 2026-11-20 reply lists a fix for every item; review 2 accepted the mechanical fixes ("The pooled lookup retry now keeps the steering scale, and the description names its revisions and defines its terms") and reduced the objection to the two questions: Principle 1 and purpose.
Project fit
- Principle 1 (
docs/design-review.md:16-26; charter "Captured-graph op contracts"): "A new operation contract requires approval even if it reuses a graph kind or enum value." The decoder reads per-request state inside the captured forward; the author conceded this needs Luke Alonso's approval; no approval exists. - Principle 3 (
design-review.md:31-52): shared input packing/admission/request handling must stay shared and "must not branch on model or recipe identity or capability flags"; "Reject per-model boolean policy flags, includingsupports_*,can_*, and default-false opt-ins." #404's mitigation is real (width derives from the declared binding, not a flag) but the flag itself is deepseek41-only (ignition/planning.pyraisesUsageErrorfor other recipes) and drives a shared 6-vs-7 width, shared admission checks and shared/v1/modelsoutput. Charter line 12: "Keep the runtime small and model-agnostic… shouldn't accumulate per-model branches (#267, #334)"; code-review standard: "No per-model special cases or flags." - Charter line 12 also contains: "Good ideas in the wrong place will be declined, and we'll point you to where they belong (#404)" — the charter cites this PR by number.
- Principle 13 (
design-review.md:106-113): previous cores must load and serve without re-export. #404 claims this (6-column core exported at69858cd1served unmodified) but the evidence is pre-rebase and pre-split. - Principle 14 (
design-review.md:114-124): restricts Claude Opus 5.5 on CUDA/Triton/PTX and on "changes to existing model fusion and GPU execution optimizations." Author states only Gemini 4 Carbon, GPT-6.2 Astra and Claude Fable 5.2 were used, and Opus 5.5 was not used anywhere (PR "AI disclosure"; comment 2026-11-21 17:29). yatesdr asked in review 2 whether this still "needs an answer" — the author's reply covers it. - Principle 10 (persist sampling defaults in typed protobuf, clamp to recipe-declared ranges or defaults): #404 follows it (proto fields
DefaultSamplingParameters.steering_scale = 10,SamplingRanges.steering_scale = 8; clamps to declared range), though the range itself is hard-coded to 0..1 in five places. - Supported matrix: charter asks for interaction checks across models, cache schemes, parallel layouts, multi-host and hardware (SM103/SM120/SM121). Validation is a single 4× RTX PRO 6000 (SM120) TP4 PCIe configuration on one DeepSeek V4.1 checkpoint; no SM103, no DGX Spark/GB10, no multi-host.
- PR description standard (four parts: why, what, claimed result, evidence): the description meets the format and was refined in response to review.
- Ownership after the split: recipe/computation code belongs in
hyperflare-recipes;ignition/components/is for Helios-ABI runtime-interface components (design-review.md:33-37). #404 pushes recipe-conditioning semantics (gather_token_steering_scale,steer_*, the steering column) into shared components, and its recipe half into this repo.
Claims and evidence
| Claim | Evidence offered | Status |
|---|---|---|
Rust suites pass on rebased head 6555f939 |
1,448 passed with --features server,runtime-core; 550 in --lib; 195 in flare-heliopause --lib; one acknowledged flake (worker_observes_prefill_decode_and_prerequisite_timings) re-run unloaded |
Claimed only; CI passed on head. Reviewer's earlier objection that --lib alone does not compile the server tests (helios/Cargo.toml:17 (not opened)) is addressed by naming the feature-enabled run |
| Python CPU/lint clean | 7 passed tests/recipes/test_deepseek41_steering.py; 124 passed tests/direct/ + tests/bench/test_runner.py (not opened); 5 passed tests/recipes/test_completion_abi.py (not opened); zero added ruff findings |
Claimed; the tests are helper-level (see below) |
| CUDA component/ABI suites pass at widths 6 and 7 | 128 passed across test_sampling_score_defaults_cuda.py (not opened), test_completion_abi.py (not opened), test_draft_scores_cuda.py (not opened), test_markov_sampling_cuda.py (not opened), test_vocabulary_sampling_cuda.py (not opened) |
Pre-rebase revision 15ade6b9 only; not repeated on head |
| Steered forward is correct on GPU | Full 4-GPU export and serving on 15ade6b9; mixed-batch first-token bit identity 8/8 (C=8), 16/16 (C=16 at 33,381 prompt tokens) |
Pre-rebase; description says "full 4-GPU core re-export [was] not repeated after rebasing" |
| Prefix isolation | 0 cached tokens across 0.75 → 0.25; 27,046/27,046 same-scale on 0.0 → omitted, 0.0 → 0.0, 1.0 → 1.0, 0.75 → 0.75 |
Pre-rebase; Rust tests steering_scales_preserve_unsteered_hashes_and_isolate_nonzero_scales (helios/src/cache/tests.rs:31 lines added), steered_pool_lookup_retry_…, steered_preemption_… cover the mechanics head-side |
| Backward compatibility with 6-column cores | Unmodified TP4 core exported at 69858cd1 served via flare run without re-export; nonzero requests clamped to 0.0; 42 speculative draft rounds |
Pre-rebase; and after the split the recipe side no longer exists here, so re-verification is not repeatable from this tree |
| Unsteered behaviour unchanged | 16/16 top-1 agreement omitted vs explicit 0.0; 95% item agreement on a 100-item SQuAD2+TruthfulQA slice (B 0.92/0.12/0.86 vs A1 0.92/0.20/0.88); refusal 90/100 on A1, 90/100 on B omitted, 89/100 on B explicit 0.0 | Pre-rebase; small sample; two baseline runs needed for the throughput comparison |
| No throughput cost | 250K prefill 100.1–100.7%, C=32 100.0–100.1%, C=8 98.5–102.2%, C=1 92.2–97.8%; KV pages 99.84% (185,230 vs 185,524) | Pre-rebase, vs geometric mean of A1/A2, range across two temperatures; C=1 at 1.0 costs 2–8% and scale 0.0 at C=1 was "not separately timed" although the steering kernels launch at every scale |
| Steering works at full scale | 0/100 semantic refusals (1/100 keyword) at 1.0; 95% item agreement vs a weight-edited reference checkpoint | Pre-rebase; behavioural claim, not a correctness metric the reviewer accepts as evidence of value |
| Tests protect the steered path | — | Not backed: no test runs the decoder with steering (yatesdr, review 2). test_deepseek41_steering.py (7 tests, reviewed lines 44-300) covers sidecar validation, schema round-trip, mixed-row bit preservation, a BF16-rounded TP4 commutation check (:128), legacy-width atomic rejection (:156), Metadata.pack/set under torch.compile(fullgraph=True) (:192), and direct-execution cache isolation (:255) — all helper-level |
| "No new captured-graph operation contract" | — | Contradicted; conceded by the author |
Later, off-PR evidence (author comments 2026-11-23, relevant to #505 not #404): 10,304 device rank/row checks matched on four SM120 GPUs; a C8 mixed-scale run matched bit for bit at 3,056 row/token positions; C16/C32 output isolation not qualified — reversing only compute rows exceeded a 0.05 logprob tolerance at 330/4,096 C32 positions; a two-row embedding_gain core reused 0 then 4,114 tokens per scale, 1,024 mixed-vs-same-gain logprobs matched, but unconstrained chat did not pass the tolerance and the cause is unidentified.
Reach
- Every core, not only DeepSeek:
helios/src/model.rsaddssteering_scale: f32toSamplingParameters(serde default 0) and extendsvalues()from[f32;6]to[f32;7];SamplingRanges::steering_scaleandin_steering_bounds;helios/src/model/admission.rsadds a steering check toAdmission::validateandvalidate_promptfor all cores;helios/src/model/packing.rsmakes theValueSource::SamplingParameterswidth dynamic with a two-way "steering metadata requires a 7-column binding" symmetry check, so a mis-declared core now fails to load. - Prefix-cache keys:
helios/src/cache/hash.rsdelegatesPrefixHistory::newtowith_steering_scale(identity, 0.); unsteered hashes preserved bit for bit; shared prefix stores (including Selene cross-instance sharing) gain a per-request key dimension for steered cores. - API surface:
/v1/modelsgainsflare.sampling_defaults.steering_scale(0.0) andflare.sampling_ranges.steering_scale(null or{min:0,max:1}) for every core (helios/src/server/models.rs; tests at:367-377).steering_scalebecomes an accepted top-level field for Chat and Completions on any core, and a nonzero value on a 6-column core is clamped to 0.0, not rejected — a client can silently receive unsteered output (docs/api.mddocuments this). - Core/wire format: two additive proto fields; absent →
None→ 0.0, so old cores are meant to keep loading;runtime_core_pb2.py(not opened) regenerated (+132/−132) for every consumer. - Operators: a new CLI flag (command-line only, per
docs/cli-design.md), a new sidecar artifact to prepare and keep (668 KiB in the author's run), and a new model identity per sidecar — i.e. per-sidecar prefix-store separation, new signing identity, re-export to change tensors. - Developers:
PARAMETERS: tl.constexpr = 6must be forwarded by every caller of the sampling kernels; a forgotten argument silently defaults to 6 and reads the wrong row stride. - Deployment/perf: default-off; 6-column cores unaffected per the description; steered cores pay 2–8% at C=1 (measured at 1.0) and run gated steering kernels at every scale.
- Dependencies: uses
safetensors.torch.load(already available); no new pinned dependency.
Process
- Open, described as ready for review, but functionally a design proposal: the author's 2026-11-21 message says he will leave it open as a proposal and stop pushing code pending a direction; #505 is where the code went.
- Review: CHANGES_REQUESTED by yatesdr since 2026-11-20, never withdrawn and not superseded by an approval. lukealonso (the Principle 1 gate) has one comment, a redirect, not an approval.
- CI: passed on head
8e5a1b0. - Branch: one commit (
8e5a1b08, 2026-11-19) on top of merges up to #396; all iterations described in comments (15ade6b9, etc.) were force-pushed and are not in the history. Six days stale against a main that removed half of the files it edits. - Open review obligations: (a) linked PR against
hyperflare-recipescarrying the recipe half, its tests and evidence (original-el8, 2026-11-24); (b) removal of recipe-owned files from this PR — neither done; (c) a decision on #505 vs #404, explicitly asked of the owner.
Open questions / could not be found
- No linked issue or user report requesting per-request activation steering exists in the repository, local copy or search index; the only articulated use is the author's own two-workload deployment described in a comment.
- Could not find any maintainer statement approving either the 6-vs-7
SamplingParameterswidening or the in-graph per-request read under Principle 1. - Could not find a recipe-repository PR corresponding to #404's
ignition/recipes/deepseek41half, whichoriginal-el8's triage requires. - CUDA/GPU evidence for the rebased head does not exist; the description says so explicitly. Whether the refactor onto
6555f939touched anything the pre-rebase CUDA run exercised is not evidenced either way. - No test executes the decoder with steering, so the claim that the steered path is correct under
torch.compile/CUDA graphs is supported only by the pre-rebase live runs. - #505's own limits (mixed batches to 8 rows, no speculation with an argument, unreproducible free-running chat scores, C16/C32 unqualified) mean the successor design has not yet demonstrated the full-scale concurrent mixed-batch property that was #404's strongest measured result.
- The 6-column backward-compatibility check and the concurrent mixed-batch checks were done with a core exported before the split; whether such a core can even be re-exported from the current tree for re-validation is not established.