Skip to content

NPU per-op forward: MiniCPM5-1B anchor fails on main (' the' / ' a' instead of Paris / Tokyo) #224

Closed

Description

@bong-water-water-bong

tests/anchor_rerun.sh fails on main (7cc4f8a) for MiniCPM5-1B on --device npu:

FAIL minicpm5: text=' the'

On 2026-09-28 the six-arch benchmark (#209) had the same model answering " Paris, the capital of…".

Reproduced on strixhalo, each with its own ONEBIT_Q4NX_CACHE (fresh repack, so this is not a shared-cache race). Four requests per serve, max_tokens=1, temperature=0:

Build Japan / France / Germany / France
main 7cc4f8a ' a' / ' a' / ' a' / ' a'
54c31e8 (agent branch, before #211) ' a' / ' the' / ' the' / ' the'
#222 rebased on main ' a' / ' the' / ' the' / ' the'

A streamed request on main gives " the capital of".

Reference. CPU llama.cpp, same GGUF:

  • France: " Paris" 0.34, " located" 0.21, " the" 0.13
  • Japan: " Tokyo" 0.76, " a" 0.08

Japan -> " a" means the per-op forward's numbers are well off the model, not a near-tie.

Unchanged since the 09-28 run: the MiniCPM5 designs (full_i8_{QKV,O,GU,D} for K1536, file dates 09-23/09-26), the converter (a7f29fe3f), the kernel (7.3.0-rc4-1bit) and the NPU firmware (1.1.2.65). The box was rebooted 09-28 23:55. #211 is ruled out: the pre-#211 build fails the same way.

Next: bisect main between the #209 merge and now, then check the host-side pack and dequant against the CPU per layer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions