Skip to content

The Nemotron goldens' capture configuration is unrecorded, so they can be approximated but not re-derived: a rebuilt oracle reproduces 2 of 3 token-exactly #926

Description

@localai-bot

What happened

The pinned vLLM oracle was destroyed when dgx.casa was reimaged on 2026-08-14 and has now been rebuilt from source at the recorded pin, with identity asserted in code:

vllm 0.23.1rc1.dev1511+g555967922   transformers 5.14.1   flashinfer 0.6.15.post1
torch 2.13.0+cu130   GB10 sm_121
vllm_file /home/mudler/venvs/vllm-oracle-pin-555967922/vllm-src/vllm/__init__.py
ORACLE_IDENTITY_OK

Run against tests/parity/goldens/nemotron_35_lightning_greedy/oracle.json — same prompts, temperature=0, max_tokens=32:

Prompt prompt_token_ids token_ids
The capital of France is MATCH MATCH
Write the first five Fibonacci numbers: MATCH MATCH
Explain what a state space model is, in one sentence: MATCH DIFFERS at index 29

93 of 96 generated tokens exact. The third sequence is token-identical for 29 tokens of a long technical sentence, then takes 11286 ("a transition equation for") where the golden has 9943 ("a combination of state").

The actual defect

The goldens do not record the configuration they were captured under. oracle.json and the capture commit (af8170154, #517) record only temperature: 0.0 and max_tokens: 32. They do not record:

  • enforce_eager (the rebuild used True)
  • gpu_memory_utilization (the rebuild used 0.25)
  • max_model_len (the rebuild used 4096)
  • whether the three prompts were submitted in one generate() call or separately — i.e. the batch shape

Every one of those can change the reduction order of a greedy decode, and therefore the argmax at a near-tie. So the goldens can be approximated but not re-derived: there is no configuration a future run can be held to.

That is a records defect, not a code defect. AGENTS.md requires a gate's recipe to be recorded precisely because a number that cannot be reproduced is not evidence.

What is NOT yet established

Whether this divergence is a near-tie is a hypothesis, not a result. A top-2 margin probe at index 29 has been queued on the GPU host but has not produced a number yet. Nothing was adjusted in response to the mismatch, and nothing should be until that number exists.

Two readings remain open and the margin distinguishes them:

  1. Near-tie — the two candidates are within noise, and the divergence is a reduction-order artifact of the unrecorded config difference. This is the likely reading: a genuinely wrong stack diverges early and across all prompts, not in the last three tokens of one.
  2. A real difference in the rebuilt stack, which would matter for every number measured against it.

Note the precedent: a Qwen 35B "divergence" investigated earlier in this project turned out to be a bit-exact oracle tie, and the lesson recorded then was to ask the oracle's top-2 margin first.

What done looks like

  1. Extend the golden capture format to record the full run configuration — at minimum enforce_eager, gpu_memory_utilization, max_model_len, batch composition, and the device — and have the consumer assert them, so a mismatch is reported as a configuration difference rather than a token failure.
  2. Land the index-29 top-2 margin measurement and record which of the two readings it supports.
  3. If near-tie: the row's gate needs the ratified distributional treatment rather than a bare token-exact comparison, which AGENTS.md already provides for where the oracle's own greedy decode is non-deterministic.
  4. Re-capture the goldens under a recorded configuration once the format carries it.

Found while rebuilding the oracle for the speed-parity work owed by #517.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions