mirror of
https://github.com/mw00/project-maya.git
synced 2026-12-03 21:08:26 +07:00
[GH-ISSUE #658] --dump-logits writes only the header with a native (IQ) pack #271
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
mw00/project-maya#271
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @blaakstone on GitHub (Oct 29, 2026).
Original GitHub issue: https://github.com/mw00/project-maya/issues/658
Version: v1.1.36 (
f031a23). Same result on v1.1.34. Single RTX 5090.What I ran (Qwen3.8-Flash-Next fine-tune, native pack, teacher forcing, one generated token):
What happens: the run ends normally and prints
logits dumped code.logits. The file is 8 bytes: a header that announces 248320 × 1495 rows, then no rows. Adding--prefill-until 1gives the same result.Why, from reading
src/program/generate.cpp:emit_logits→fwrite, around line 8259).if (native_pack) { spec_pos = pos; break; }. The rest runs in the speculative loop, which never writes todump.--spec Twith T ≥ 2 (line 4884), so the option cannot be used with a native pack at all.Suggestion: either write a row per position from the verify windows, or refuse
--dump-logitswith a native pack. Then the file would not announce rows it will never contain. Commit 50abdfa0 in Basalt has the same idea: "must not promise rows it will never write".Why it matters to us: we compare engines and quants by KLD against BF16 reference logits. The DeepSeek and MiniMax paths have their own dumps, which work. On the Qwen path, we have no way to measure a native pack (for example a Flash-Next fine-tune).