Qwen3.8-Flash-Next on any consumer hardware: one-click install for Windows / Linux. Strata inference engine, OpenAI/Anthropic API on localhost, optional image input.
C++
sycl mtp: the same n_expert == 512 and k == 10 guard on the per-token native router call
Niko1221ca016f230d5f
diff --git a/sycl/src/core/mtp.cpp b/sycl/src/core/mtp.cppindex 3c0215742..373bcf05a 100644--- a/sycl/src/core/mtp.cpp+++ b/sycl/src/core/mtp.cpp@@ -1051,7 +1051,7 @@ bool MtpDrafter::record_rest(int step_row, dpct::queue_ptr cs,} else {for (int t = 0; t < T; ++t) {bf16_gemv_fp32_mmvf(mixed_ + t * N, bf16("mlp.gate.weight"), logits_ + t * g.n_expert, (int) N, (int) g.n_expert, cs);- if (native_router_enabled()) native_router_top10(logits_ + t * g.n_expert, ids_ + t * K, w_ + t * K, cs);+ if (native_router_enabled() && g.n_expert == 512 && K == 10) native_router_top10(logits_ + t * g.n_expert, ids_ + t * K, w_ + t * K, cs);else router_top10(logits_ + t * g.n_expert, 1, (int) g.n_expert, (int) K, ids_ + t * K, w_ + t * K, cs);}}