From 868f2ef0c02ca5e818bf150d2baa3fedb6bb9f72 Mon Sep 17 00:00:00 2001 From: Niko1221 Date: Mon, 5 Oct 2026 10:19:45 +0200 Subject: [PATCH] perf(mtp): multi-token router and combine in the drafter (#783 PR-c, MTP wiring) For a window of more than one token the drafter routes with one multi-column router GEMV and one multi-row top-10 and combines all rows in one launch (verify already did; each row is bitwise the single-token call, native_multi_parity). Needs the native router (512 experts, k = 10) and the native combine; otherwise the per-token calls stay. Ported from #783 (stuchapin909, head 4327807), split per piece. Co-authored-by: stuchapin909 <178119976+stuchapin909@users.noreply.github.com> --- src/core/mtp.cpp | Bin 79741 -> 80493 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/src/core/mtp.cpp b/src/core/mtp.cpp index 8e15b237ca5e66eb0eb80a6dde8459b179c34372..e589c08f49ffa19d2b60bdd9909375529892c648 100644 GIT binary patch delta 519 zcmXYsL1+^}6o!dzK@7H}MGKx@A(Rc>m|ej`g^CyP5ZaRnf-p>WAKB5}nRIuOO+gU6 zcr@@tM5vb@is(VeQP>{RdXWkqJxYr=#e*J2XOkV6;h#4@|9t=7pVp7x*8BT8Jv*vC z_Q6hd-w%0D$aQzUaUD3s{YZABEW15AKNkx9u?XaaISEHre4&O~aA zCMh+M5tc;0aW{a=0DKj9gq&fSOjPT&mWmy%T0=J-0MRsw;HL91uZqW{kd#mT2>M zk?!rTji2Vj3VnWE9sfI+oTbsbIeW#v12@1czLs2z0kT*jE7=)J-ia`<8x5*`x=0^( zt8_fE3BaO1lWqF-+@i00m+8^r1G@QSfxaKUd2yyTCijGmIH07y}d;7%X8ybM