Skip to content

Sampling discriminator and remaining numerical gate

Observed 2026-10-22, reviewer read-only with respect to source, serving and harness. Source HEAD47581ccac82660953a5b59cb04b2750d64edc97d plus the retained local cache/telemetry delta. No reviewer HTTP or lifecycle actions.

Confirmed configuration misunderstanding

sampling-package-inspect.json is native flare inspect --unverified --json output for retained snapshot d5aec1543dc32413175462d17d374e54d27def24129f878045358c4db128c357/model.safetensors. It reads package metadata without executing the model or loading companions. This inspection does not independently authenticate signatures; live startup authentication is separate parent-owned evidence.

Actual package defaults: seed0, temperature1, top_p0.949999988079071, top_k-1. Permitted temperature and top_p ranges are [0.949999988079071,1]; top_k has no adjustable range. helios/src/server/request.rs:381-454 clamps requested numbers to package ranges and fixes absent ranges to defaults. Therefore temperature0 was effectively approximately0.95, not greedy; top_k1 would remain-1. Omitted seed already selects0. Explicit seed0 improves auditability but does not fix observed instability. helios/src/model.rs:217 requires positive effective temperature.

Prospective explicit sampling declaration: seed0, temperature0.95, top_p0.95, top_k-1, all remaining penalties at package defaults. Freeze new request bytes and hashes separately. Preserve the old bodies/results. This declares stochastic sampling accurately and does not promise reproducibility. Fixed1 means exactly one emitted token, not a deterministic oracle. Keep exact IDs, usage completion1, complete native speculative work, matching prompt accounting and the existing fixed1-only reasoning-count exception. The128-token lane continues to require its recorded numerical gate; matching a subset or semantic success cannot erase the failed all-case gate.

RNG behavior supported by source

GLM captures init and restore with admission buffers (ignition/recipes/glm53/bootstrap.py:437-445). Both use PreparedAdmission and apply it after model-state transfer (ignition/components/maintenance.py:107-117,147-158). _admission_finish assigns the request seed, resets counter/generated to0, and pending token to-1 (ignition/components/sampling.py:646-675). The ordinary sampler uses seed plus offset4*counter, independent of physical slot (sampling.py:447-460). Speculative target draws use a distinct RNG domain and reset offset on generation mismatch (ignition/components/speculation.py:387-392,541-553). Preempted/readmitted requests deliberately derive a continuation seed from original seed and generated count (helios/src/server/runtime.rs:224-232,1626-1638). Thus request RNG is initialized anew under prefix restore; it does not resume the previous request's generated-token RNG stream from a prefix checkpoint. This source design is not an empirical guarantee that numerical kernels, graph shapes or speculative paths give identical sampled sequences.

Observed discriminator

pilot-a-restore-comparison.json and pilot-a-repeatability-comparison.json retain all failures. Case40 differed first at ID7 while both original and measured runs had no host fetch,7693prefill and9GPU reused tokens. Case51 initially matched all128 IDs after a confirmed host fetch with7699host reused tokens. Case0 then differed between two successive full GPU hits, both7675GPU reused,0prefill,0host fetch. Case40 repeated one cold output but differed after full GPU reuse; case51 cold and host restore matched, then full GPU reuse differed at ID7.

Conclusion: host fetching is not necessary for the observed baseline instability. This neither identifies its root cause nor proves that any divergence is harmless. No further same-output retry is recommended; the two bounded discriminator repetitions are exhausted. All-case exact sampled-ID acceptance remains failed.

Minimal stronger oracle, without altering sampling policy

  1. Extend the existing two-device synthetic transfer test to25/75 pool allocations, rank-distinct payloads, poisoned destinations and multiple transfer windows. Test every row/page-plane byte on each rank, never aggregate only one rank. This establishes the allocation/transport seam.
  2. Through normal signed-package authorization, load the exact retained TP2 package on both GPUs and repeat MemoryStore store/lookup/fetch with deterministic payloads using both manifests and their real CacheGeometry. Existing ignored package tests in helios/src/offload/memory.rs:2006,2175 hardcode a test publisher and one device, so they cannot simply be pointed at the operator package. Compare all bytes and consumed/key/chain identity; retain precise counts. This tests actual package geometry and transfer, not model-produced numerical state.
  3. If real-state fidelity remains required, a separate opt-in diagnostic should stop at a completed real-prompt Snapshot fence, retain the immutable row plus logical full-page bytes on each rank, host-store/fetch into different poisoned IDs and compare exact bytes. Then exercise Restore and re-Snapshot to compare canonical defined state, including partial and draft pages. Predeclare any exclusions from model layout semantics, never from observed differences. The native completion seam is server/runtime.rs:1250; CacheGeometry supplies bounded unit addresses. NativeResources allocation/download exists at runtime_package/mod.rs:843-872, but avoid downloading entire multi-GiB allocations when bounded unit copies suffice. No race with replay, row recycling or page reuse is permissible.
  4. A strict uncached-recomputation-versus-restored numerical oracle additionally needs identical teacher-forced token histories and pre-sampling logits/state observations. Current HTTP sampled outputs do not supply this. Predeclare numerical tolerances from dtype/kernel analysis and an independent reference before evaluating restored results; zero-tolerance copy checks above need no fitted tolerance. Do not represent a payload transfer test as satisfying this stronger oracle.

Diagnostic experiment scope

There is no identified source hard block to bounded B or full three-pair matrix collection as explicitly unqualified diagnostics after independent byte/lifetime gates and existing identity, tokenization, capacity, memory and outage controls pass. This changes the original phase order and must be recorded prospectively: correctness-gated performance acceptance remains held, promoted=false, all output/work mismatches and denominators retained. Report matched subsets only as conditional diagnostic statistics with coverage; no claim that the whole workload passed or that source optimization is qualified. One pair can first determine whether the expected row-pressure mechanism appears; further pairs should resolve a named uncertainty within the outage budget. Full matrix completion does not close the numerical gate.