Repository navigation
test(lfm2): a paged/flat text mismatch prints raw text and token counts - #381
Conversation
CI run 43384271735 once printed PAGED 32 tokens with text "" on prompt #1 and passed on rerun; the message could not tell NaN logits collapsing to the pad token from an unclosed thinking block. It now prints raw_text, thinking, reasoning_tokens, prompt_tokens and cached_tokens for both paths. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
lfm2_paged_vs_flat_greedy_token_parityfailed once on the CI VM (run 43384271735, PR #380) and passed on rerun of the same commit:A bisect under a local runner simulation could not reproduce it (main → #380 head: 9/9, byte-identical output; 12/12 under a two-process stress), and #380's code does not reach LFM2 (instrumented: 0 portable prefill calls, all 16,001
qchecks at offset 0). The failing VM run was 2–6× slower than its siblings from the bridge test on.The panic message could not tell the two candidate causes apart:
It now prints, for both paths:
raw_text,thinking,reasoning_tokens,prompt_tokens,cached_tokens. Test-only change.🤖 Generated with Claude Code