Skip to content

[Engine] Inkling 2 drafter: load Q4_0 and IQ4_NL drafter files - #321

Open
okada-shogo wants to merge 1 commit into
simplexai-labs:mainfrom
okada-shogo:port/ink-draft-any-type
Open

okada-shogo wants to merge 1 commit into
simplexai-labs:mainfrom
okada-shogo:port/ink-draft-any-type

Conversation

@okada-shogo

Copy link
Copy Markdown
Contributor

Problem and result

Inkling 2's DSpark drafter (--draft-model) loaded its layers' matrices only as BF16 or Q8_0. They run through the
same matrix kernels as the model's own weights, so a smaller file works too. A Q4_0 or IQ4_NL drafter made from the
Q8_0 one (llama-quantize, keeping three small BF16 tensors) is 125 MiB smaller in VRAM, and the expert cache gets it.

With this PR such a file loads. Q8_0 and BF16 drafters load as before.

Decode tok/s, mean of 10 cases (code, chat and prose text; decode after 302, 2,048 and 8,192 tokens at 32K context, and
code after 32,768 tokens), 3 rotated rounds each, 256 tokens written, --prompt-batch 1024 --vram-reserve-mib 768 --prompt-int8, STRATA_PREFILL_NVFP4=w4a8 STRATA_INK_FAST_CTRL=1 STRATA_INK_PRESTAGE=1. Change is the mean of the
per-case changes against the Q8_0 drafter:

Card Model Measure Q8_0 drafter Q4_0 drafter IQ4_NL drafter
RTX 2070 Super 8 GB IQ4_NL decode, change vs Q8_0 0% +0.9% +1.6%
RTX 2070 Super 8 GB IQ4_NL experts in VRAM after a 2K request 744 772 772
RTX 2070 8 GB UD-Q2_K_XL decode, change vs Q8_0 0% +0.7% +1.7%
RTX 2070 8 GB UD-Q2_K_XL experts in VRAM after a 2K request 1,750 1,807 1,807
RX 9070 XT 16 GB (HIP) IQ4_NL decode, change vs Q8_0 0% +2.0% +1.8%
RX 9070 XT 16 GB (HIP) IQ4_NL experts in VRAM after load 2,189 2,218 2,218
RX 9070 XT 16 GB (HIP) UD-Q2_K_XL decode, change vs Q8_0 0% +1.0% +1.9%
RX 9070 XT 16 GB (HIP) UD-Q2_K_XL experts in VRAM after load (all fit) 3,072 3,072 3,072

The gain is small: about +1 to +2% on average, from the 28 to 57 more experts in VRAM. Single cases move from -10% to +13%
because the share of drafts kept changes from run to run (the draft policy follows measured times), so read the
means. Prompt speed is the same (within 1%). The drafter's acceptance with the 4-bit files is about the same as with
Q8_0 (the tables below).

RTX 2070 Super 8 GB: every case (decode and prompt tok/s, drafts kept, each run)

IQ4_NL: decode tok/s (mean of runs), change vs Q8_0; acceptance = drafts kept / drafted

Case no drafter Q8_0 Q4_0 IQ4_NL Q4_0 vs Q8_0 IQ4_NL vs Q8_0 accept Q8_0 accept Q4_0 accept IQ4_NL experts after (no drafter / Q8_0 / Q4_0 / IQ4_NL) runs
chat302 41.2 35.2 35.7 35.7 +1.5% +1.4% 59% 42% 47% 1072/744/772/772 N3 A3 B3 C3
code302 37.6 31.3 34.3 33.1 +9.6% +5.6% 49% 75% 58% 1072/744/772/772 N3 A3 B3 C3
prose302 45.0 49.9 51.6 52.0 +3.3% +4.2% 82% 84% 84% 1070/744/772/772 N3 A3 B3 C3
chat2k 39.2 33.4 34.6 34.7 +3.6% +3.8% 49% 47% 42% 1119/744/772/772 N3 A3 B3 C3
code2k 36.5 31.4 31.6 32.6 +0.6% +3.7% 59% 59% 64% 1124/744/772/772 N3 A3 B3 C3
prose2k 43.1 44.1 40.6 41.1 -7.9% -6.7% 80% 66% 71% 1107/744/772/772 N3 A3 B3 C3
chat8k 34.3 30.0 30.1 30.3 +0.3% +0.9% 32% 45% 27% 989/653/681/681 N3 A3 B3 C3
code8k 33.4 32.5 34.1 33.4 +4.9% +2.8% 67% 74% 71% 993/653/680/680 N3 A3 B3 C3
prose8k 38.6 40.4 36.3 39.1 -10.1% -3.3% 79% 27% 76% 971/653/680/680 N3 A3 B3 C3
code32k 30.2 26.0 26.8 27.1 +2.9% +4.0% 56% 59% 58% 800/521/566/566 N3 A3 B3 C3

IQ4_NL: prompt tok/s (mean)

Case no drafter Q8_0 Q4_0 IQ4_NL
chat302 237.6 224.4 229.6 227.9
code302 242.1 234.7 238.2 235.2
prose302 297.4 279.6 283.4 283.5
chat2k 661.7 461.9 465.7 466.3
code2k 657.2 475.3 477.6 480.9
prose2k 673.0 539.2 541.9 541.3
chat8k 972.4 452.5 455.9 455.9
code8k 984.2 465.2 468.9 468.2
prose8k 991.0 504.0 508.1 507.7
code32k 1049.4 447.8 453.3 453.6

IQ4_NL: each run, decode tok/s

Case Side Run 1 Run 2 Run 3
chat302 no drafter 41.0 41.3 41.4
chat302 Q8_0 34.7 35.0 35.8
chat302 Q4_0 35.8 35.3 36.0
chat302 IQ4_NL 35.9 35.1 36.0
code302 no drafter 37.1 38.1 37.6
code302 Q8_0 30.4 32.4 31.2
code302 Q4_0 34.0 31.0 38.0
code302 IQ4_NL 31.2 31.2 36.9
prose302 no drafter 45.0 44.7 45.2
prose302 Q8_0 49.7 49.0 51.0
prose302 Q4_0 50.4 52.5 51.8
prose302 IQ4_NL 51.9 52.2 51.9
chat2k no drafter 39.5 38.9 39.3
chat2k Q8_0 33.3 32.6 34.4
chat2k Q4_0 34.3 34.8 34.8
chat2k IQ4_NL 35.7 35.1 33.3
code2k no drafter 36.4 37.1 36.0
code2k Q8_0 30.0 30.5 33.7
code2k Q4_0 31.4 31.3 32.1
code2k IQ4_NL 35.8 30.5 31.4
prose2k no drafter 43.2 42.8 43.2
prose2k Q8_0 40.9 52.7 38.6
prose2k Q4_0 42.9 39.3 39.5
prose2k IQ4_NL 40.1 39.3 44.0
chat8k no drafter 34.2 34.3 34.3
chat8k Q8_0 29.4 29.6 31.1
chat8k Q4_0 31.3 30.2 28.9
chat8k IQ4_NL 29.7 31.5 29.7
code8k no drafter 33.4 33.1 33.6
code8k Q8_0 32.2 31.2 34.1
code8k Q4_0 34.4 33.9 34.0
code8k IQ4_NL 34.6 31.8 33.8
prose8k no drafter 38.8 38.6 38.5
prose8k Q8_0 42.1 41.4 37.7
prose8k Q4_0 35.9 36.4 36.7
prose8k IQ4_NL 36.1 40.8 40.3
code32k no drafter 29.7 30.4 30.4
code32k Q8_0 26.3 26.0 25.8
code32k Q4_0 26.1 27.3 27.0
code32k IQ4_NL 26.1 27.6 27.5
RTX 2070 8 GB (second box): every case (decode and prompt tok/s, drafts kept, each run)

UD-Q2_K_XL: decode tok/s (mean of runs), change vs Q8_0; acceptance = drafts kept / drafted

Case no drafter Q8_0 Q4_0 IQ4_NL Q4_0 vs Q8_0 IQ4_NL vs Q8_0 accept Q8_0 accept Q4_0 accept IQ4_NL experts after (no drafter / Q8_0 / Q4_0 / IQ4_NL) runs
chat302 51.7 49.2 49.7 49.4 +1.1% +0.5% 52% 51% 45% 2264/1751/1808/1808 N3 A3 B3 C3
code302 51.3 49.3 52.7 51.6 +6.8% +4.7% 59% 73% 69% 2265/1754/1812/1811 N3 A3 B3 C3
prose302 52.5 63.5 63.0 64.0 -0.8% +0.7% 88% 86% 89% 2270/1753/1811/1811 N3 A3 B3 C3
chat2k 50.2 47.3 46.8 47.3 -1.1% -0.1% 49% 46% 36% 2263/1750/1807/1807 N3 A3 B3 C3
code2k 49.7 47.1 48.6 50.0 +3.2% +6.2% 59% 66% 75% 2255/1755/1812/1812 N3 A3 B3 C3
prose2k 50.9 49.8 51.6 56.5 +3.5% +13.4% 60% 67% 80% 2267/1752/1810/1810 N3 A3 B3 C3
chat8k 46.2 44.4 44.2 43.1 -0.5% -3.0% 60% 56% 51% 1946/1485/1538/1537 N3 A3 B3 C1(-2)
code8k 45.1 46.9 44.5 45.4 -5.0% -3.2% 69% 55% 61% 1941/1490/1543/1543 N3 A3 B3 C3
prose8k 48.1 50.2 49.2 49.2 -2.1% -2.1% 77% 75% 78% 1952/1483/1538/1538 N3 A3 B3 C3
code32k 39.7 35.7 36.2 35.7 +1.6% +0.1% 26% 51% 26% 1719/1220/1271/1271 N3 A3 B3 C3

UD-Q2_K_XL: prompt tok/s (mean)

Case no drafter Q8_0 Q4_0 IQ4_NL
chat302 374.4 352.5 358.8 358.7
code302 372.5 376.6 384.7 381.3
prose302 438.1 422.6 431.8 428.4
chat2k 923.6 712.3 723.8 727.4
code2k 926.3 738.5 748.2 746.8
prose2k 936.1 789.7 796.2 798.5
chat8k 952.9 759.3 770.3 768.7
code8k 965.2 765.6 776.3 775.2
prose8k 968.0 802.1 811.8 812.4
code32k 917.1 714.0 726.6 726.7

UD-Q2_K_XL: each run, decode tok/s

Case Side Run 1 Run 2 Run 3
chat302 no drafter 52.3 51.0 51.8
chat302 Q8_0 50.1 49.3 48.1
chat302 Q4_0 49.7 49.2 50.2
chat302 IQ4_NL 49.7 49.2 49.4
code302 no drafter 51.7 50.9 51.2
code302 Q8_0 49.7 46.7 51.5
code302 Q4_0 52.0 54.7 51.3
code302 IQ4_NL 51.3 52.0 51.5
prose302 no drafter 52.7 52.4 52.4
prose302 Q8_0 63.0 63.9 63.6
prose302 Q4_0 63.4 62.8 62.7
prose302 IQ4_NL 62.9 66.0 63.0
chat2k no drafter 50.5 50.0 50.2
chat2k Q8_0 47.1 48.1 46.7
chat2k Q4_0 46.0 48.5 45.9
chat2k IQ4_NL 46.7 47.8 47.3
code2k no drafter 49.9 49.5 49.7
code2k Q8_0 48.4 44.9 48.1
code2k Q4_0 47.3 49.5 49.1
code2k IQ4_NL 50.1 48.5 51.5
prose2k no drafter 51.1 50.8 50.7
prose2k Q8_0 49.3 48.3 51.9
prose2k Q4_0 52.8 52.1 49.8
prose2k IQ4_NL 57.0 52.0 60.5
chat8k no drafter 46.5 45.8 46.2
chat8k Q8_0 44.8 43.9 44.6
chat8k Q4_0 44.9 43.7 44.0
chat8k IQ4_NL 43.1 - -
code8k no drafter 45.4 45.1 44.8
code8k Q8_0 47.5 44.8 48.3
code8k Q4_0 45.1 43.3 45.2
code8k IQ4_NL 46.1 44.7 45.3
prose8k no drafter 48.1 48.1 48.0
prose8k Q8_0 48.7 49.7 52.3
prose8k Q4_0 49.5 48.0 50.0
prose8k IQ4_NL 46.3 48.9 52.4
code32k no drafter 39.7 39.9 39.6
code32k Q8_0 36.0 35.4 35.6
code32k Q4_0 35.7 35.6 37.4
code32k IQ4_NL 35.7 35.7 35.7
RX 9070 XT 16 GB (HIP): every case (decode and prompt tok/s, drafts kept, each run)

IQ4_NL: decode tok/s (mean of runs), change vs Q8_0; acceptance = drafts kept / drafted

Case no drafter Q8_0 Q4_0 IQ4_NL Q4_0 vs Q8_0 IQ4_NL vs Q8_0 accept Q8_0 accept Q4_0 accept IQ4_NL experts after (no drafter / Q8_0 / Q4_0 / IQ4_NL) runs
chat302 47.4 42.2 43.6 44.0 +3.2% +4.2% 48% 44% 41% see load N3 A3 B3 C3
code302 44.1 40.1 39.8 41.7 -0.9% +3.8% 53% 34% 58% see load N3 A3 B3 C3
prose302 53.7 57.5 56.6 56.4 -1.6% -2.0% 82% 78% 77% see load N3 A3 B3 C3
chat2048 46.7 41.2 41.8 41.5 +1.5% +0.9% 47% 35% 31% see load N3 A3 B3 C3
code2048 44.2 40.0 41.6 39.7 +4.0% -0.7% 58% 65% 49% see load N3 A3 B3 C3
prose2048 49.7 47.1 47.7 45.8 +1.4% -2.8% 66% 65% 56% see load N3 A3 B3 C3
chat8192 44.6 39.6 39.6 40.3 +0.0% +1.7% 38% 45% 42% see load N3 A3 B3 C3
code8192 44.7 44.3 44.4 44.1 +0.1% -0.5% 70% 70% 69% see load N3 A3 B3 C3
prose8192 49.1 46.7 52.5 52.5 +12.3% +12.3% 68% 85% 86% see load N3 A3 B3 C3
code32768 41.1 37.5 37.3 37.9 -0.4% +1.2% 45% 47% 43% see load N3 A3 B3 C3

IQ4_NL: prompt tok/s (mean)

Case no drafter Q8_0 Q4_0 IQ4_NL
chat302 560.4 529.2 535.6 535.0
code302 548.3 545.2 547.8 547.3
prose302 591.7 575.1 573.5 569.5
chat2048 1167.8 1080.7 1104.2 1110.2
code2048 1190.2 1132.8 1141.5 1130.3
prose2048 1255.2 1207.5 1213.2 1215.9
chat8192 712.0 704.5 706.7 707.9
code8192 728.9 723.2 724.2 724.4
prose8192 750.1 746.8 748.8 750.2
code32768 980.1 944.4 949.1 948.7

IQ4_NL: each run, decode tok/s

Case Side Run 1 Run 2 Run 3
chat302 no drafter 48.3 47.0 46.9
chat302 Q8_0 42.8 41.1 42.8
chat302 Q4_0 43.3 44.3 43.1
chat302 IQ4_NL 44.0 43.9 44.1
code302 no drafter 44.6 43.5 44.1
code302 Q8_0 41.8 39.1 39.5
code302 Q4_0 39.7 38.9 40.7
code302 IQ4_NL 41.4 42.8 40.8
prose302 no drafter 53.3 53.7 54.0
prose302 Q8_0 57.3 57.3 58.0
prose302 Q4_0 56.7 56.5 56.7
prose302 IQ4_NL 56.3 56.6 56.3
chat2048 no drafter 46.7 47.7 45.8
chat2048 Q8_0 41.8 40.8 40.9
chat2048 Q4_0 42.0 42.3 41.0
chat2048 IQ4_NL 40.9 42.2 41.5
code2048 no drafter 44.4 43.7 44.4
code2048 Q8_0 40.5 40.3 39.2
code2048 Q4_0 42.6 40.7 41.5
code2048 IQ4_NL 40.3 40.6 38.3
prose2048 no drafter 50.1 49.5 49.5
prose2048 Q8_0 48.3 46.5 46.4
prose2048 Q4_0 47.7 46.5 49.0
prose2048 IQ4_NL 44.0 48.7 44.6
chat8192 no drafter 44.2 44.7 45.0
chat8192 Q8_0 38.6 40.2 40.0
chat8192 Q4_0 39.9 39.4 39.5
chat8192 IQ4_NL 40.8 39.0 41.0
code8192 no drafter 44.4 44.9 44.8
code8192 Q8_0 44.2 44.4 44.4
code8192 Q4_0 45.0 44.1 44.0
code8192 IQ4_NL 44.3 44.0 44.1
prose8192 no drafter 49.2 49.0 49.1
prose8192 Q8_0 47.6 47.4 45.2
prose8192 Q4_0 54.2 49.2 54.1
prose8192 IQ4_NL 54.7 53.6 49.1
code32768 no drafter 41.4 41.2 40.8
code32768 Q8_0 37.2 37.6 37.6
code32768 Q4_0 36.9 36.8 38.2
code32768 IQ4_NL 37.5 37.3 39.0

UD-Q2_K_XL: decode tok/s (mean of runs), change vs Q8_0; acceptance = drafts kept / drafted

Case no drafter Q8_0 Q4_0 IQ4_NL Q4_0 vs Q8_0 IQ4_NL vs Q8_0 accept Q8_0 accept Q4_0 accept IQ4_NL experts after (no drafter / Q8_0 / Q4_0 / IQ4_NL) runs
chat302 60.7 89.6 90.8 89.4 +1.3% -0.2% 75% 76% 76% see load N3 A3 B3 C3
code302 60.8 82.4 84.4 88.5 +2.4% +7.4% 80% 83% 79% see load N3 A3 B3 C3
prose302 60.5 106.1 107.3 107.3 +1.2% +1.1% 84% 85% 85% see load N3 A3 B3 C3
chat2048 59.1 83.7 83.1 84.3 -0.7% +0.7% 68% 69% 70% see load N3 A3 B3 C3
code2048 59.4 95.1 94.1 95.4 -1.0% +0.4% 82% 79% 82% see load N3 A3 B3 C3
prose2048 59.8 83.1 86.6 85.6 +4.2% +3.1% 71% 72% 68% see load N3 A3 B3 C3
chat8192 57.6 92.9 92.4 90.6 -0.5% -2.4% 77% 77% 75% see load N3 A3 B3 C3
code8192 57.5 110.8 117.0 115.2 +5.6% +4.0% 78% 81% 82% see load N3 A3 B3 C3
prose8192 57.1 67.6 68.1 68.8 +0.7% +1.8% 52% 53% 53% see load N3 A3 B3 C3
code32768 52.2 81.6 78.7 83.8 -3.5% +2.7% 66% 62% 67% see load N3 A3 B3 C3

UD-Q2_K_XL: prompt tok/s (mean)

Case no drafter Q8_0 Q4_0 IQ4_NL
chat302 521.9 520.1 520.8 521.2
code302 517.3 517.6 516.5 516.9
prose302 590.6 587.0 584.1 587.0
chat2048 1242.1 1249.6 1243.6 1245.5
code2048 1265.2 1265.9 1262.1 1262.5
prose2048 1352.0 1354.4 1350.8 1349.4
chat8192 1233.3 1232.9 1229.8 1228.2
code8192 1264.9 1263.3 1262.3 1260.8
prose8192 1340.6 1343.4 1340.2 1340.3
code32768 1196.4 1195.7 1192.3 1191.6

UD-Q2_K_XL: each run, decode tok/s

Case Side Run 1 Run 2 Run 3
chat302 no drafter 61.0 60.4 60.8
chat302 Q8_0 89.4 89.3 90.1
chat302 Q4_0 91.0 90.9 90.5
chat302 IQ4_NL 89.4 89.5 89.4
code302 no drafter 60.6 60.7 61.0
code302 Q8_0 82.4 82.4 82.4
code302 Q4_0 84.6 84.1 84.4
code302 IQ4_NL 88.8 88.7 88.1
prose302 no drafter 60.7 60.1 60.8
prose302 Q8_0 105.4 107.0 105.9
prose302 Q4_0 107.4 107.5 107.1
prose302 IQ4_NL 107.3 107.3 107.2
chat2048 no drafter 59.1 59.1 59.0
chat2048 Q8_0 83.4 84.1 83.5
chat2048 Q4_0 83.4 82.9 82.9
chat2048 IQ4_NL 84.4 84.3 84.1
code2048 no drafter 59.8 59.3 59.1
code2048 Q8_0 95.1 95.1 95.1
code2048 Q4_0 93.0 94.8 94.6
code2048 IQ4_NL 95.3 95.0 96.0
prose2048 no drafter 59.9 59.6 59.8
prose2048 Q8_0 82.3 83.3 83.6
prose2048 Q4_0 86.4 86.7 86.6
prose2048 IQ4_NL 85.5 85.7 85.7
chat8192 no drafter 57.5 57.8 57.5
chat8192 Q8_0 94.4 93.7 90.5
chat8192 Q4_0 92.2 91.6 93.4
chat8192 IQ4_NL 90.1 90.9 90.9
code8192 no drafter 57.5 57.7 57.3
code8192 Q8_0 110.8 111.6 110.1
code8192 Q4_0 116.8 117.2 117.0
code8192 IQ4_NL 115.0 115.6 115.1
prose8192 no drafter 57.3 56.8 57.3
prose8192 Q8_0 68.7 66.6 67.6
prose8192 Q4_0 68.1 69.3 66.9
prose8192 IQ4_NL 69.3 68.9 68.3
code32768 no drafter 52.1 52.4 52.1
code32768 Q8_0 81.4 82.2 81.1
code32768 Q4_0 71.9 82.8 81.5
code32768 IQ4_NL 83.2 84.1 84.0

Related discussion

none

Approach

  • ds_load() takes a drafter matrix in any type native_mmvq_supported() names, besides BF16. Everything else
    (the fold, the head screen, the Markov head) is unchanged.
  • Making the files:
    llama-quantize --allow-requantize --tensor-type markov_w1=bf16 --tensor-type joint_proj=bf16 --tensor-type dspark_hidden_out=bf16 --tensor-type dspark_fuse=f32 dspark-Inkling-2-Mini-Q8_0.gguf out.gguf Q4_0
    (or IQ4_NL).

Validation

Passed:

  • Lossless, RX 9070 XT (HIP, ROCm on Linux): experts capped and frozen (STRATA_GPU_EXPERTS=1800 IQ4_NL, 2600
    UD-Q2_K_XL, STRATA_FREEZE_EXPERTS=1), STRATA_SPEC_FIXED=1, the settings above, greedy 128 tokens after code,
    chat and prose prompts of 302 and 2,048 tokens: the Q8_0, Q4_0 and IQ4_NL drafters each give the same tokens as no
    drafter, 36 of 36.
  • Same check on an RTX 2070 8 GB (600 / 1,000 experts frozen): the three drafters give the same tokens as each other in
    all 12 cases. Against no drafter they differ in 11 of 12, as main's Q8_0 drafter already does on 8 GB cards (windows
    of other lengths round near-ties apart).
  • Speed: the tables above (RTX 2070 Super local, RTX 2070 second box, RX 9070 XT).
  • Builds: CUDA sm_75; HIP gfx1201 (built and run on the RX 9070 XT).
  • Independent code review of the diff.

Failed:

  • none observed

Not run:

  • Metal: no Mac; Metal has no native_mmvq_supported() (this repo builds no Metal backend).
  • Q4_K or other mixed llama-quantize recipes: they load (any type the products take), but only Q4_0 and IQ4_NL were
    measured.

Limits

  • On the RTX 2070, 2 of the 3 IQ4_NL-drafter runs of the 8,192-token chat ended early with
    cudaGraphInstantiate: out of memory ([Engine] Retry instead of failing when a CUDA graph is out of VRAM #301's case; main's Q8_0 drafter hits it too at the default reserve).
  • With these settings on 8 GB cards, decode with any drafter is often slower than without one on chat and code (the
    drafter takes ~300 experts' VRAM and its prompt features cost prompt speed); this PR does not change that.
  • The draft files here are requantized from the published Q8_0 one, not quantized from the original weights.
  • The target checks every draft, but on a card that does not hold every expert the tokens can still differ from a
    run with the Q8_0 drafter: other drafts give windows of other lengths, which round near-ties apart (as drafter on
    vs off already does there), and the larger expert cache computes other experts on the card instead of the CPU.

🤖 Generated with Claude Code

…ard multiplies

The drafter's loader took its layers' matrices only as BF16 or Q8_0, though
they go through lin() like the target's. It now takes any type
native_mmvq_supported() names, so a drafter file requantized to Q4_0 or
IQ4_NL (llama-quantize, keeping markov_w1, joint_proj and dspark_hidden_out
in BF16) loads: 455 MiB of drafter weights in VRAM instead of 580 (RTX 2070
Super), 28 more experts in the cache. Q8_0 and BF16 files load as before.

The target checks every draft. A smaller drafter changes two things the
tokens can follow on an 8 GB card: which drafts are kept (windows of other
lengths round near-ties apart, as drafter on vs off already does), and which
experts the larger cache computes on the card rather than on the CPU, as any
change of the VRAM reserve does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant