BigMoeOnEdge/tests
Raffaele 3170385fad
feat(prefill): the NPU prefill reads only routed experts (+ --decide-probe); 0.28.0 (#208)
The NPU prefill's expert arena read every expert of every layer ahead of its
routing. It now reads, ahead of a layer's routing, the experts the previous
graph routed there, and at the routing node whatever the routing adds. The
matmul reads only routed experts, so the output is bit for bit the same. A layer
routing more than --prefill-routed-full (0.85) of its experts gets the next one
read whole; --no-prefill-routed restores whole layers everywhere.

Phone, Hexagon v81 NPU, top-4, same session, every answer identical:
Qwen3.6-35B-A3B Q4_0 7.68 -> 4.16 s, Q4_K_M 9.95 -> 5.37 s, Gemma 4 26B-A4B
Q4_K_M 6.69 -> 3.70 s, Nemotron 3.5 30B-A3B Q4_0 7.42 -> 6.81 s.

Also: --decide-probe (experimental per-decision expert usage and layer-exit
answers), BMOE_DECIDE prefill_dev_* counters, gates G17f/G17g, app 0.28.0.
2026-09-29 16:08:23 +02:00
..
chat_parse_test.cpp feat(core): surface the reasoning span alongside the answer (#70) 2026-07-18 22:43:23 +02:00
CMakeLists.txt feat: --decide, choose from a list from one prefill, with no decode (#201) 2026-09-28 12:01:25 +02:00
config_test.cpp feat(prefill): the NPU prefill reads only routed experts (+ --decide-probe); 0.28.0 (#208) 2026-09-29 16:08:23 +02:00
csv_summary_test.cpp feat: prefill on the NPU, decode on the CPU (--prefill-device), in the release APK (#200) 2026-09-28 09:52:46 +02:00
decide_test.cpp feat: --decide, choose from a list from one prefill, with no decode (#201) 2026-09-28 12:01:25 +02:00
mapping_release_test.cpp feat(io): release the model file's mapping after load (--release-mmap) (#185) 2026-09-07 20:43:02 +02:00
moe_gates.cpp feat(prefill): the NPU prefill reads only routed experts (+ --decide-probe); 0.28.0 (#208) 2026-09-29 16:08:23 +02:00
ngram_test.cpp feat(engine): self-speculative decoding — the model's own MTP head, or n-gram lookup (#134) 2026-08-02 00:09:39 +02:00
stall_union_test.cpp fix(telemetry): attribute critical-path stall explicitly (#169) 2026-08-27 17:45:51 +02:00
think_control_test.cpp feat(moe): Ling 3.0 (bailingmoe3) support (#162) 2026-08-17 18:19:03 +02:00