[PR #5471] [Engine] DeepSeek: faster Q4_K / Q5_K decode GEMVs and light experts with the same bits, the default only on integrated GPUs #5443

Open
opened 2026-11-07 17:34:24 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/5471
Author: @R-Okauchi
Created: 11/7/2026
Status: 🔄 Open

Base: main ← Head: dsv41-decode-kernels


📝 Commits (10+)

  • dc27c2a tests: dq_dense_test --path bench, gg::mv's time on the decode's dense shapes
  • e2a2197 DeepSeek engine: DS4_MV_NR, the low-bit GEMV with several rows a warp (opt-in)
  • f267812 DeepSeek engine: the low-bit GEMV's 8-column form, for the drafter's windows
  • ed0311c DeepSeek engine: DS4_MV_NR's kernel loads Q4_K / Q5_K sub-blocks 128 bits at a time
  • b01c725 DeepSeek engine: the low-bit GEMV's 128-bit loads by default on CUDA
  • e658167 dq_dense_test --path bench: the best and the median of 7 timed runs
  • d356f28 DeepSeek engine: the low-bit GEMV's 6-column instance for 5-6 activations
  • 05b5036 DeepSeek engine: the router's BF16 weights kept as BF16 on CUDA
  • a2b4a9a DeepSeek engine: DS4_MV_STAGE=1, the Q4_K / Q5_K GEMV with the row's weights staged a step ahead (opt-in)
  • ace2c6e DeepSeek engine: DS4_LIGHT_STAGE=1, the prompt's light experts with their rows staged a step ahead (opt-in)

📊 Changes

5 files changed (+465 additions, -7 deletions)

View changed files

📝 src/dsv41/ds4_iq.cu (+326 -0)
📝 src/dsv41/ds4_kernels.cu (+26 -0)
📝 src/dsv41/ds4_kernels.cuh (+4 -0)
📝 src/dsv41/ds4_model.cu (+38 -6)
📝 tests/dsv41/dq_dense_test.cpp (+71 -1)

📄 Description

Problem and result

On a DGX Spark (GB10), DeepSeek V4.1's decode spends part of its GPU time in the dense GEMVs (the attention's
projections, the shared expert), and a prompt spends part of its time in the light experts. The Q4_K / Q5_K GEMVs read
their weights well below what the memory gives, because each of mv_kernel's lanes waits on its own sub-block's loads.
Q5_K's wo_b (8192 x 5120, 28.8 MB) ran at 165 GB/s, where the Q8_0 GEMV of the same shape reaches 226 GB/s. This PR
adds faster forms of those kernels that give the same bits (223 GB/s for that wo_b). It makes them the default only on
a GPU that shares the PC's memory, where they were timed faster one by one.

End to end on the Spark the gain is small. Without the drafter, #5170's command decoded at 13.28 and 13.83 tok/s
against main's 12.52 and 12.54; a third run, the first after main's cold start, gave 12.22. With the drafter the speed
did not change: 14.03 and 14.67 against 13.94 and 14.77. Without the drafter the 1,308-token prompt read at 162-169
tok/s against 149-151, and with it at the same speed as main. Most of a token's time there goes elsewhere: in #5470's
profile of main on the same box, 42.0 of a token's 110.9 ms of GPU time is the wait for the CPU lane's experts.

On the discrete cards I timed (RTX 4070 Ti, RTX PRO 5000 Blackwell), the kernels were not faster overall. There
nothing changes by default, and they are opt-in.

#5170 (decode on a DGX Spark). Changing a default needs your agreement on scope, and there is none yet, so this is a
draft. If you would rather keep the kernels opt-in on the Spark too, that is the one function new_kernels_default().

This PR is independent of #5453 and applies to main. If #5453 lands first, the staged light kernel should take
SetArgs::wptr the way light_kernel_rows does there (one line).

Approach

  • mv_kernel_nr: one row per warp with mv_kernel's lanes, sub-blocks and shuffles, so the same sums in the same
    order, with Q4_K / Q5_K sub-blocks read as 128-bit loads (decode_v). DS4_MV_NR=2 / 4 / auto give a warp
    several rows. That is opt-in, because it was not faster at one activation.
  • mv_kernel_kst: the Q4_K / Q5_K GEMV with the row's weights staged a step ahead, as q8_mv_kernel does. A warp
    loads its next 32 sub-blocks in coalesced words while it computes the 32 it staged. It gives the same bits as
    mv_kernel_nr.
  • light_kernel_rows_st: the prompt's light experts (256-value types), staged the same way. It gives the same bits as
    light_kernel_rows.
  • Column instances: the new kernels have 6 and 8 columns for 5-6 and 7-8 activations, and mv_kernel has 8 for 5-8
    where new_kernels_default() holds, instead of 16. A column's sums do not depend on the instance.
  • The router's BF16 weights stay BF16 (gate_w16, gemv_bf16w). Each value is widened exactly as it is read, in the
    same fmaf chain, so the logits are the same bit for bit, at half the bytes. The F32 copies took 0.34 GB for 43
    layers; on the Spark the weights on the GPU went from 5.86 to 5.70 GB.
  • dq_dense_test --path bench times gg::mv on the decode's dense shapes: the best and the median of 7 runs, with
    256 MB of copies of the matrix taking turns so the cache holds none of it.

Defaults: they are on for a GPU that shares the PC's memory (cudaDevAttrIntegrated). Elsewhere they are opt-in:
DS4_MV_NR=1 (with DS4_MV_STAGE=1 for the staged GEMV), DS4_LIGHT_STAGE=1 and DS4_GATE_BF16=1. mv_kernel_nr
also runs the other low-bit types, with mv_kernel's loads and sums. HIP and Metal keep their kernels and the F32
router, since none of this was timed there.

Validation

The tests and timings below, except the builds, are of an earlier state of this branch. In it the kernels were the
default on every CUDA GPU, and it also unrolled the hyper-connections' mix loops by 4 (the same sums). I left that
unroll out of this PR because it was not timed apart. The kernels are the same at the head. On the Spark the head's
defaults are the ones that ran.

Passed:

  • Bits, with main's and this branch's tests built the same way (CUDA 13.0.2, -DSTRATA_BUILD_TESTS=ON). I ran
    main's ds4_iq_test --dump, then this branch's --cmp against it: bit-compare vs golden: 84 buffers, 0 differ -> IDENTICAL, ALL OK. That held on an RTX 4070 Ti (sm_89, two machines), an RTX PRO 5000 Blackwell (sm_120) and a GB10
    (sm_121). ds4_dq_test's dense checks gave 147 results, all ok, on each. ds4_tq_test and ds4_gguf_test gave
    ALL OK on the RTX 4070 Ti and the RTX PRO 5000.

  • The kernels' times, from ds4_dq_test --path bench, main against this branch. Each cell is the range, over
    DeepSeek-V4.1's 8 dense shapes, of main's time divided by this branch's (above 1: this branch is faster):

    GPU Q4_K, 1 / 4 / 8 activations Q5_K, 1 / 4 / 8 activations
    GB10 (sm_121) 1.11-1.33 / 0.93-1.11 / 0.98-1.08 1.12-1.35 / 1.07-1.28 / 0.90-1.05
    RTX PRO 5000 Blackwell (sm_120) 0.85-1.31 / 0.96-1.02 / 0.90-1.04 1.02-1.41 / 1.04-1.38 / 0.88-0.99
    RTX 4070 Ti (sm_89) 0.94-1.03 / 0.87-1.03 / 0.79-1.00 0.92-1.10 / 0.93-1.08 / 0.81-1.02

    At one activation on the GB10:

    • Q5_K's wo_b (8192 x 5120) went 174.6 -> 129.4 us, and q_b (1280 x 32768) 156.7 -> 140.2.
    • The shared expert's two Q5_K shapes went 52.7 -> 39.9 and 50.2 -> 43.7.
    • Q4_K's wo_b went 142.0 -> 106.5.

    Q8_0 and BF16 did not change (0.99-1.01). Q6_K, which goes through mv_kernel_nr without the 128-bit loads, was
    1.00-1.01 at one activation, 0.97-1.05 at 4 and 0.81-1.04 at 8.

  • End to end on the same Spark (driver 580.178.04, nothing else on the GPU), with #5170's IQ2_XS pack and its command,
    after the same 1,308-token chat prompt, greedy. main (9f7d977d, the same code as this PR's base apart from READMEs)
    and this branch were built the same way, with spark/build_engine.sh's flags:

    DS4_UMA_HEADROOM_GIB=12 DS4_LANE_CAL=none strata-dsv41 --pack <IQ2_XS pack> --ids @<ids> --n 256 \
      --max-context 262144 --eos 1 --vision on --experts 6 --dspark none
    

    The runs, in the order they ran (the drafter's runs with --dspark auto --dspark-conf 0.65):

    # Engine Drafter Prompt Decode CPU lane Read from the disk
    1 main 66.09 tok/s 8.92 tok/s 1,609 of 61,200 57.1 MB a token
    2 this branch 161.85 12.22 1,388 44.1
    3 main 149.25 12.52 1,503 34.1
    4 this branch 168.93 13.83 1,553 26.3
    5 main 151.14 12.54 1,592 34.1
    6 this branch 166.57 13.28 1,455 29.2
    7 main on 158.15 13.94 (2.23 a round) 3,044 of 72,495 50.3
    8 this branch on 160.62 14.03 (2.44) 2,801 of 72,990 47.7
    9 main on 160.76 14.77 (2.35) 3,051 of 72,225 44.7
    10 this branch on 161.41 14.67 (2.27) 2,936 of 71,685 50.6

    Run 1 was the first after the engine's Pod started, with the model's files not yet in the page cache. No two runs
    gave the same 256 tokens: main's run 3 already parted from runs 1 and 5 at the first token. The CPU lane computes a
    timing-dependent set of experts and rounds differently from the GPU (#5170), so I compared the bits with the tests
    above, not with these texts.

  • The server end to end on two RTX PRO 5000 Blackwell. The engine was the release's server, with DeepSeek V4.1
    UD-Q2_K_XL and #5357 on both sides, the drafter on, --parallel 4, and each engine in its own Pod with no other
    traffic, with every new default on:

    • six questions alone: medians of 57.8 and 59.2 tok/s (main) against 57.6 and 59.5;
    • four at once: 112.3 and 113.2 against 114.0 and 114.7;
    • an agent's turns 2-8: a median of 56.1 tok/s against 56.6.

    None of these differ beyond the runs' spread, which is why the defaults stay on integrated GPUs.

  • Builds of the head (7c08d69f):

    • CUDA 13.0.2 for sm_121 (121-real;121-virtual) with spark/build_engine.sh's flags, on the Spark:
      strata-dsv41 builds. There are no warnings in the changed files apart from three that main has too.
    • HIP, ROCm 7.2.4 for gfx1151 and gfx1201: tools/dsv41/build_hip_linux.sh strata-dsv41 ds4_iq_test builds both.
    • Metal, macOS 26.4 on an M3 Max: metal/ with metal-cpp, target strata_ds4, builds.

Failed: none observed.

Not run:

  • An x86-64 CUDA build of the head. The x86-64 builds above (sm_89, sm_120) are of the earlier state, and the head
    changes only host code there: where the defaults apply.
  • AMD (HIP) and Apple (Metal) at runtime. I only built them, and their defaults do not change.
  • Other discrete NVIDIA cards, and the server end to end on an RTX 4070 Ti.
  • The prompt's light experts on the discrete cards, apart from the tests above.
  • Integrated NVIDIA GPUs other than the GB10 (Jetson), which the default also covers.

Limits

  • The defaults follow the GPU type (integrated or not), not the measured shapes. On the GB10 at 8 activations, Q5_K
    was up to 11% slower and Q6_K up to 19%: the new kernels' 8-column instances against main's 16, for a verify window
    of 7-8 tokens. The drafter's windows here averaged 4 tokens.
  • End to end on the Spark, the gain without the drafter is a few percent and within reach of the runs' spread; with
    the drafter I saw none.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/5471 **Author:** [@R-Okauchi](https://github.com/R-Okauchi) **Created:** 11/7/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `dsv41-decode-kernels` --- ### 📝 Commits (10+) - [`dc27c2a`](https://github.com/Niko1221/Strata/commit/dc27c2a73f227aa1e9c9429401137a1f61ba6655) tests: dq_dense_test --path bench, gg::mv's time on the decode's dense shapes - [`e2a2197`](https://github.com/Niko1221/Strata/commit/e2a2197a9cfe84c53d45e8dc076a1cc659f48186) DeepSeek engine: DS4_MV_NR, the low-bit GEMV with several rows a warp (opt-in) - [`f267812`](https://github.com/Niko1221/Strata/commit/f2678125f54d5aa6ecfe654d2d84584579849f69) DeepSeek engine: the low-bit GEMV's 8-column form, for the drafter's windows - [`ed0311c`](https://github.com/Niko1221/Strata/commit/ed0311cf7b8f7fb3af16c36b1b70a2985c740d0c) DeepSeek engine: DS4_MV_NR's kernel loads Q4_K / Q5_K sub-blocks 128 bits at a time - [`b01c725`](https://github.com/Niko1221/Strata/commit/b01c72537e6d6aeb5b1b28cd5c2636cc0c871ea7) DeepSeek engine: the low-bit GEMV's 128-bit loads by default on CUDA - [`e658167`](https://github.com/Niko1221/Strata/commit/e6581672caa182156eee7f9370b96766ec0e5067) dq_dense_test --path bench: the best and the median of 7 timed runs - [`d356f28`](https://github.com/Niko1221/Strata/commit/d356f28f123240cc36bd0a900bd44e91ac1bb62e) DeepSeek engine: the low-bit GEMV's 6-column instance for 5-6 activations - [`05b5036`](https://github.com/Niko1221/Strata/commit/05b503688417350dd46677fa7829acd42fda051a) DeepSeek engine: the router's BF16 weights kept as BF16 on CUDA - [`a2b4a9a`](https://github.com/Niko1221/Strata/commit/a2b4a9a2e3d7cf5f1b4ea062b6ba8c304a4d8c17) DeepSeek engine: DS4_MV_STAGE=1, the Q4_K / Q5_K GEMV with the row's weights staged a step ahead (opt-in) - [`ace2c6e`](https://github.com/Niko1221/Strata/commit/ace2c6e3de76bf0c2774b3801244fbddc162e5e3) DeepSeek engine: DS4_LIGHT_STAGE=1, the prompt's light experts with their rows staged a step ahead (opt-in) ### 📊 Changes **5 files changed** (+465 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `src/dsv41/ds4_iq.cu` (+326 -0) 📝 `src/dsv41/ds4_kernels.cu` (+26 -0) 📝 `src/dsv41/ds4_kernels.cuh` (+4 -0) 📝 `src/dsv41/ds4_model.cu` (+38 -6) 📝 `tests/dsv41/dq_dense_test.cpp` (+71 -1) </details> ### 📄 Description ## Problem and result On a DGX Spark (GB10), DeepSeek V4.1's decode spends part of its GPU time in the dense GEMVs (the attention's projections, the shared expert), and a prompt spends part of its time in the light experts. The Q4_K / Q5_K GEMVs read their weights well below what the memory gives, because each of `mv_kernel`'s lanes waits on its own sub-block's loads. Q5_K's wo_b (8192 x 5120, 28.8 MB) ran at 165 GB/s, where the Q8_0 GEMV of the same shape reaches 226 GB/s. This PR adds faster forms of those kernels that give the same bits (223 GB/s for that wo_b). It makes them the default only on a GPU that shares the PC's memory, where they were timed faster one by one. End to end on the Spark the gain is small. Without the drafter, #5170's command decoded at 13.28 and 13.83 tok/s against main's 12.52 and 12.54; a third run, the first after main's cold start, gave 12.22. With the drafter the speed did not change: 14.03 and 14.67 against 13.94 and 14.77. Without the drafter the 1,308-token prompt read at 162-169 tok/s against 149-151, and with it at the same speed as main. Most of a token's time there goes elsewhere: in #5470's profile of main on the same box, 42.0 of a token's 110.9 ms of GPU time is the wait for the CPU lane's experts. On the discrete cards I timed (RTX 4070 Ti, RTX PRO 5000 Blackwell), the kernels were not faster overall. There nothing changes by default, and they are opt-in. ## Related discussion #5170 (decode on a DGX Spark). Changing a default needs your agreement on scope, and there is none yet, so this is a draft. If you would rather keep the kernels opt-in on the Spark too, that is the one function `new_kernels_default()`. This PR is independent of #5453 and applies to main. If #5453 lands first, the staged light kernel should take `SetArgs::wptr` the way `light_kernel_rows` does there (one line). ## Approach - `mv_kernel_nr`: one row per warp with `mv_kernel`'s lanes, sub-blocks and shuffles, so the same sums in the same order, with Q4_K / Q5_K sub-blocks read as 128-bit loads (`decode_v`). `DS4_MV_NR=2` / `4` / `auto` give a warp several rows. That is opt-in, because it was not faster at one activation. - `mv_kernel_kst`: the Q4_K / Q5_K GEMV with the row's weights staged a step ahead, as `q8_mv_kernel` does. A warp loads its next 32 sub-blocks in coalesced words while it computes the 32 it staged. It gives the same bits as `mv_kernel_nr`. - `light_kernel_rows_st`: the prompt's light experts (256-value types), staged the same way. It gives the same bits as `light_kernel_rows`. - Column instances: the new kernels have 6 and 8 columns for 5-6 and 7-8 activations, and `mv_kernel` has 8 for 5-8 where `new_kernels_default()` holds, instead of 16. A column's sums do not depend on the instance. - The router's BF16 weights stay BF16 (`gate_w16`, `gemv_bf16w`). Each value is widened exactly as it is read, in the same `fmaf` chain, so the logits are the same bit for bit, at half the bytes. The F32 copies took 0.34 GB for 43 layers; on the Spark the weights on the GPU went from 5.86 to 5.70 GB. - `dq_dense_test --path bench` times `gg::mv` on the decode's dense shapes: the best and the median of 7 runs, with 256 MB of copies of the matrix taking turns so the cache holds none of it. Defaults: they are on for a GPU that shares the PC's memory (`cudaDevAttrIntegrated`). Elsewhere they are opt-in: `DS4_MV_NR=1` (with `DS4_MV_STAGE=1` for the staged GEMV), `DS4_LIGHT_STAGE=1` and `DS4_GATE_BF16=1`. `mv_kernel_nr` also runs the other low-bit types, with `mv_kernel`'s loads and sums. HIP and Metal keep their kernels and the F32 router, since none of this was timed there. ## Validation The tests and timings below, except the builds, are of an earlier state of this branch. In it the kernels were the default on every CUDA GPU, and it also unrolled the hyper-connections' mix loops by 4 (the same sums). I left that unroll out of this PR because it was not timed apart. The kernels are the same at the head. On the Spark the head's defaults are the ones that ran. **Passed:** - Bits, with main's and this branch's tests built the same way (CUDA 13.0.2, `-DSTRATA_BUILD_TESTS=ON`). I ran main's `ds4_iq_test --dump`, then this branch's `--cmp` against it: `bit-compare vs golden: 84 buffers, 0 differ -> IDENTICAL`, ALL OK. That held on an RTX 4070 Ti (sm_89, two machines), an RTX PRO 5000 Blackwell (sm_120) and a GB10 (sm_121). `ds4_dq_test`'s dense checks gave 147 results, all ok, on each. `ds4_tq_test` and `ds4_gguf_test` gave ALL OK on the RTX 4070 Ti and the RTX PRO 5000. - The kernels' times, from `ds4_dq_test --path bench`, main against this branch. Each cell is the range, over DeepSeek-V4.1's 8 dense shapes, of main's time divided by this branch's (above 1: this branch is faster): | GPU | Q4_K, 1 / 4 / 8 activations | Q5_K, 1 / 4 / 8 activations | | --- | --- | --- | | GB10 (sm_121) | 1.11-1.33 / 0.93-1.11 / 0.98-1.08 | 1.12-1.35 / 1.07-1.28 / 0.90-1.05 | | RTX PRO 5000 Blackwell (sm_120) | 0.85-1.31 / 0.96-1.02 / 0.90-1.04 | 1.02-1.41 / 1.04-1.38 / 0.88-0.99 | | RTX 4070 Ti (sm_89) | 0.94-1.03 / 0.87-1.03 / 0.79-1.00 | 0.92-1.10 / 0.93-1.08 / 0.81-1.02 | At one activation on the GB10: - Q5_K's wo_b (8192 x 5120) went 174.6 -> 129.4 us, and q_b (1280 x 32768) 156.7 -> 140.2. - The shared expert's two Q5_K shapes went 52.7 -> 39.9 and 50.2 -> 43.7. - Q4_K's wo_b went 142.0 -> 106.5. Q8_0 and BF16 did not change (0.99-1.01). Q6_K, which goes through `mv_kernel_nr` without the 128-bit loads, was 1.00-1.01 at one activation, 0.97-1.05 at 4 and 0.81-1.04 at 8. - End to end on the same Spark (driver 580.178.04, nothing else on the GPU), with #5170's IQ2_XS pack and its command, after the same 1,308-token chat prompt, greedy. main (9f7d977d, the same code as this PR's base apart from READMEs) and this branch were built the same way, with `spark/build_engine.sh`'s flags: ``` DS4_UMA_HEADROOM_GIB=12 DS4_LANE_CAL=none strata-dsv41 --pack <IQ2_XS pack> --ids @<ids> --n 256 \ --max-context 262144 --eos 1 --vision on --experts 6 --dspark none ``` The runs, in the order they ran (the drafter's runs with `--dspark auto --dspark-conf 0.65`): | # | Engine | Drafter | Prompt | Decode | CPU lane | Read from the disk | | --- | --- | --- | ---: | ---: | ---: | ---: | | 1 | main | | 66.09 tok/s | 8.92 tok/s | 1,609 of 61,200 | 57.1 MB a token | | 2 | this branch | | 161.85 | 12.22 | 1,388 | 44.1 | | 3 | main | | 149.25 | 12.52 | 1,503 | 34.1 | | 4 | this branch | | 168.93 | 13.83 | 1,553 | 26.3 | | 5 | main | | 151.14 | 12.54 | 1,592 | 34.1 | | 6 | this branch | | 166.57 | 13.28 | 1,455 | 29.2 | | 7 | main | on | 158.15 | 13.94 (2.23 a round) | 3,044 of 72,495 | 50.3 | | 8 | this branch | on | 160.62 | 14.03 (2.44) | 2,801 of 72,990 | 47.7 | | 9 | main | on | 160.76 | 14.77 (2.35) | 3,051 of 72,225 | 44.7 | | 10 | this branch | on | 161.41 | 14.67 (2.27) | 2,936 of 71,685 | 50.6 | Run 1 was the first after the engine's Pod started, with the model's files not yet in the page cache. No two runs gave the same 256 tokens: main's run 3 already parted from runs 1 and 5 at the first token. The CPU lane computes a timing-dependent set of experts and rounds differently from the GPU (#5170), so I compared the bits with the tests above, not with these texts. - The server end to end on two RTX PRO 5000 Blackwell. The engine was the release's server, with DeepSeek V4.1 UD-Q2_K_XL and #5357 on both sides, the drafter on, `--parallel 4`, and each engine in its own Pod with no other traffic, with every new default on: - six questions alone: medians of 57.8 and 59.2 tok/s (main) against 57.6 and 59.5; - four at once: 112.3 and 113.2 against 114.0 and 114.7; - an agent's turns 2-8: a median of 56.1 tok/s against 56.6. None of these differ beyond the runs' spread, which is why the defaults stay on integrated GPUs. - Builds of the head (7c08d69f): - CUDA 13.0.2 for sm_121 (`121-real;121-virtual`) with `spark/build_engine.sh`'s flags, on the Spark: `strata-dsv41` builds. There are no warnings in the changed files apart from three that main has too. - HIP, ROCm 7.2.4 for gfx1151 and gfx1201: `tools/dsv41/build_hip_linux.sh strata-dsv41 ds4_iq_test` builds both. - Metal, macOS 26.4 on an M3 Max: `metal/` with metal-cpp, target `strata_ds4`, builds. **Failed:** none observed. **Not run:** - An x86-64 CUDA build of the head. The x86-64 builds above (sm_89, sm_120) are of the earlier state, and the head changes only host code there: where the defaults apply. - AMD (HIP) and Apple (Metal) at runtime. I only built them, and their defaults do not change. - Other discrete NVIDIA cards, and the server end to end on an RTX 4070 Ti. - The prompt's light experts on the discrete cards, apart from the tests above. - Integrated NVIDIA GPUs other than the GB10 (Jetson), which the default also covers. ## Limits - The defaults follow the GPU type (integrated or not), not the measured shapes. On the GB10 at 8 activations, Q5_K was up to 11% slower and Q6_K up to 19%: the new kernels' 8-column instances against main's 16, for a verify window of 7-8 tokens. The drafter's windows here averaged 4 tokens. - End to end on the Spark, the gain without the drafter is a few percent and within reach of the runs' spread; with the drafter I saw none. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#5443
No description provided.