Skip to content

train 1124092327: #4484 #4566 #3526 #4574 (CI only) - #4859

Closed
ashhart wants to merge 20 commits into
mainfrom
lead/train-1124092327
Closed

ashhart wants to merge 20 commits into
mainfrom
lead/train-1124092327

Conversation

@ashhart

@ashhart ashhart commented Nov 24, 2026

Copy link
Copy Markdown
Owner

CI for a landing train: #4484 #4566 #3526 #4574 stacked on main in that order. Nothing merges from this PR: each PR above lands on its own once this tip is green, and this PR is then closed.

DV25's audit named these seams. The gemma4 assistant's own directory
binds every name it opens, so a full refusal is exact. The DFlash
draft shares the model's directory: openModelPrefixes indexes only its
fc./hidden_norm./norm./layers. roots, so model./vision_ tensors owned
by other loaders never count. hy4_flash's checkpoint stays open past
weights.check for the per-layer loads, so the refusal sits after the
layer loop — the checkpoint's last read site.
The table is read through openDirect rather than Checkpoint.get, so record its exact name after the direct open succeeds. Close the table if recording the name fails. Extend the checkpoint fixture with that table: the complete load passes the leftover audit while a stray tensor is still refused.
…robs ahead of an unchanged reply

echo: true puts the prompt's decoded ids in front of text and, with logprobs, each prompt
token's entry (null for the first) ahead of the reply's, whose entries stay as without echo.
max_tokens 0 with echo returns the prompt alone. Engines without prompt_logprobs, streams,
messages bodies and non-boolean values are refused by name; prompt_logprobs keeps its own count.
…drafting

The harness launches the server fresh per scenario (or reuses --base),
asks each bench_prompts.json row at temperature 0 with return_token_ids,
and compares token ids — a flip is reported at its first differing
position, never by text. Scenarios: two fresh restarts, --parallel 1
vs 4, each request alone and beside three in flight, and --drafter on
vs off. Pytest stubs a server scripting tensorfold.token_ids: flips at
the first, middle and last position, identical runs, shorter runs, a
launch that exits, and the busy path are all covered.
Preserve the launch failure matrix and emit a null build identity only when the binary cannot be read. Existing binaries keep their hashes, supplied IDs stay authoritative, and default and candidate main paths write fail receipts.
Read choices[0].text for native completions while preserving chat message content. Exercise real solo fresh/resumed follow-up bodies so equal receipts cannot certify a history missing the first reply.
@ashhart

ashhart commented Nov 24, 2026

Copy link
Copy Markdown
Owner Author

Stopped at #3526.

@ashhart ashhart closed this Nov 24, 2026
@ashhart
ashhart deleted the lead/train-1124092327 branch November 24, 2026 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant