[GH-ISSUE #608] ds4: a row's logits change when its window has more than 8 rows (DS4_ASYNC_T defaults to 8, so 9-16-row prompt-lookup windows take the host-routed MoE path); temp-0 text then depends on earlier requests #252

Closed
opened 2026-10-29 21:23:18 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @SeriousRising on GitHub (Oct 28, 2026).
Original GitHub issue: https://github.com/mw00/project-maya/issues/608

Symptom

At temperature 0, with prompt lookup on (--suffix-draft, default 3) and DSpark loaded, the same request can give a
different text depending on what ran before it in the same server lifetime. The cause is the window path: a token's
logits are bit-identical whether it is computed in a window of 1, 2, ... or 8 rows, and different in a window of 9-16
rows.

Stock v1.1.28 (6afa525) as released, one process, 48 prompt ids read once in windows of each size (m.reset() between
passes), logits compared with the windows-of-2 pass:

windows of rows bit-identical to windows of 2 max abs diff argmax equal
1, 3, 4, 5, 6, 7, 8 48 / 48 0 48 / 48
9, 10, ..., 16 0 / 48 (from position 0) 8.04 42 / 48
9 .. 16 with DS4_ASYNC_T=16 48 / 48 0 48 / 48

With the default, windows 1..16 fall into six classes ({1..8} | {9,15} | {10} | {11} | {12,13,16} | {14}): a size's
class depends on how many of its windows (the last one is shorter) have more than 8 rows. With DS4_ASYNC_T=16, all
windows 1..16 are one bit-identical class. Our v1.1.34-based tree, with all our switches on, shows the same: six
classes by default and one with the switch.

Hardware: 2x NVIDIA CMP 170HX 64 GB (sm_80, CUDA 12.8; PCIe Gen2, the second card on x4), DeepSeek-V4.1-Flash-1017 GSQ-RCO
IQ2_XXS, --tp 1 --gpus 0,1, --cpu-threads 14. Nothing here depends on the cards. The threshold is a plain row
count.

Why it matters

DSpark's verify windows stay at 6 rows or fewer. Prompt lookup's windows can reach verify_max() = kWin = 16 rows.
DraftPolicy chooses between lookup and DSpark windows from EMAs of wall-clock round times and from earlier
requests' acceptance, and it lives as long as the engine. So whether a request verifies a 9+-row lookup window depends
on timing and on the requests before it. Each such window computes its rows on the other path. A different last bit
then grows into a different token a few hundred tokens later.

We saw this as one gate prompt giving two different texts: run alone, and run after another request. Both runs used
fresh servers with equal expert placement.
draft_policy.hpp says "it only chooses which drafts to verify: the output is unchanged". That holds only while a
verify row's bits do not depend on the window's size.

Cause

src/ds4/ds4_model.cu, v1.1.34 (v1.1.28 in brackets). Checked in the v1.1.34 source; v1.1.35's notes list no
DeepSeek changes:

  • :1437 [:1224] int async_max_t = DS4_ASYNC_T ? atoi(...) : 8; // windows up to this
  • :16423 [:12309] plan_window: wp.async = par || (!sync_decode && T <= async_max_t); (and :13808 [:10247]
    dp.async, the same test for the decode window's mailbox).
  • :17273 [:12946] layer()'s FFN, if (wp.async):
    • the routing is published to the mailbox;
    • the VRAM experts run through win_experts (fused gate/up + swiglu);
    • the CPU lane is answered by the service thread;
    • mx_combine_kernel combines the results.
  • its else branch (T 9-16, or DS4_SYNC) is the host-routed path:
    • gemv_f32 + route, with the picks synchronised to the host;
    • the VRAM experts gathered and run as per-expert GEMVs (gg::mv -> iq::mv_nc, activations rounded per 32 by
      q8_quant);
    • a separate float swiglu;
    • the CPU lane's part summed on the host;
    • combine.

These are two implementations of the routed experts with different roundings, chosen by the window's row count. So
every layer's MoE output depends on whether the window has more than 8 rows. Layer 0's MoE is the first place the two
paths part.

Repro (stock)

Compare window sizes inside one process. Expert placement comes from the free VRAM at load (cudaMemGetInfo minus
the reserve), so two processes can place an expert differently and confound the comparison. We added a test-only
switch to ds4_main.cpp's bench loop (+16 / -3, below; cut on v1.1.28, applies to v1.1.34 unchanged). With DS4_BENCH_WINDOWS=a,b,..., pass i reads the prompt in windows of the i-th size, with the m.reset()
the bench already does between DS4_BENCH_REPEAT passes.

DS4_CHUNK_MIN=100000 DS4_BENCH_WINDOWS=2,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,2 MAYA_DS4_STREAM=0 \
  ./build/maya-ds4 --pack <pack> --gpus 0,1 --tp 1 --vision off --dspark on --n 0 --window 2 \
    --ids @ids48.txt --dump-logits out.f32
# compare the passes' logits bit for bit: 1-8 equal, 9-16 differ; add DS4_ASYNC_T=16 and all equal

DS4_CHUNK_MIN=100000 keeps the prompt on the window path, which is the path a verify window runs.

Test-only patch: DS4_BENCH_WINDOWS
diff --git a/src/ds4/ds4_main.cpp b/src/ds4/ds4_main.cpp
index f9fbf08..aa9197f 100644
--- a/src/ds4/ds4_main.cpp
+++ b/src/ds4/ds4_main.cpp
@@ -1306,8 +1306,21 @@ int main(int argc, char** argv) {
     }
     // DS4_BENCH_REPEAT=N: the prompt and the decode N times, the state reset between them and the expert cache kept
     // (the later passes measure a warmed cache, as a server's requests run)
-    const int reps = std::max(1, std::getenv("DS4_BENCH_REPEAT") ? std::atoi(std::getenv("DS4_BENCH_REPEAT")) : 1);
+    // DS4_BENCH_WINDOWS=a,b,..: pass i reads the prompt in windows of the i-th size instead (tests, rw-09-tinv: is a
+    // row the same whatever window it is in - one load, so one expert placement); the passes' count with it
+    std::vector<int> bwin;
+    if (const char* v = std::getenv("DS4_BENCH_WINDOWS"))
+        for (const char* p = v; *p != 0;) {
+            char* e = nullptr;
+            const long w = std::strtol(p, &e, 10);
+            if (e == p) break;
+            bwin.push_back((int) std::max(1L, w));
+            p = *e == ',' ? e + 1 : e;
+        }
+    const int reps = !bwin.empty() ? (int) bwin.size()
+                                   : std::max(1, std::getenv("DS4_BENCH_REPEAT") ? std::atoi(std::getenv("DS4_BENCH_REPEAT")) : 1);
     for (int rep = 0; rep < reps; ++rep) {
+    const int win = bwin.empty() ? window : bwin[(size_t) rep];
     if (rep > 0) {
         m.reset();
         std::fprintf(stderr, "pass %d of %d\n", rep + 1, reps);
@@ -1323,7 +1336,7 @@ int main(int argc, char** argv) {
     if (prof_prompt) cudaProfilerStart();
     const double t0 = now_ms();
     for (size_t a = 0; a < ids.size();) {
-        const int T = (int) std::min<size_t>((size_t) window, ids.size() - a);
+        const int T = (int) std::min<size_t>((size_t) win, ids.size() - a);
         const bool last = a + (size_t) T == ids.size();
         if (!m.feed(ids.data() + a, T, df != nullptr ? T : (last ? 1 : 0), err)) {
             std::fprintf(stderr, "maya-ds4: %s\n", err.c_str());
@@ -1336,7 +1349,7 @@ int main(int argc, char** argv) {
     const double t1 = now_ms();
     if (prof_prompt) cudaProfilerStop();
     std::fprintf(stderr, "prompt: %zu tokens in %.0f ms (%.2f tok/s, windows of %d)\n", ids.size(), t1 - t0,
-                 1000.0 * (double) ids.size() / (t1 - t0), window);
+                 1000.0 * (double) ids.size() / (t1 - t0), win);
     if (const char* dl = std::getenv("DS4_DUMP_LAST")) {   // the prompt's last row of logits, <file>.<pass>
         std::vector<float> ll;
         std::FILE* f = m.logits(ll) ? std::fopen((std::string(dl) + "." + std::to_string(rep)).c_str(), "wb") : nullptr;

Proposed fix

Make the default async_max_t kWin (16):

-    int async_max_t = std::getenv("DS4_ASYNC_T") ? std::atoi(std::getenv("DS4_ASYNC_T")) : 8;   // windows up to this
+    int async_max_t = std::getenv("DS4_ASYNC_T") ? std::atoi(std::getenv("DS4_ASYNC_T")) : kWin;   // windows up to this

The async path already covers every T <= kWin:

  • Req / Resp are [kWin].
  • win_experts takes up to 16 entries.
  • --parallel (wp.async = par) and the chunk runner already use it at any T.

After the change, the host-routed path serves only DS4_SYNC. Windows of 1-8 rows run exactly as before, so DSpark
rounds and plain decode do not change.

Measured 2026-10-28, same rig, one process per arm. Pass times are for the 48 ids; the last window of a pass is the
remainder:

windows of default (8) DS4_ASYNC_T=16
1-8 521-1454 ms within 1.5 % of default (514-1433 ms)
9 703 ms 576 ms (-18 %)
12 651 ms 510 ms (-22 %)
16 601 ms 464 ms (-23 %)

The async path is faster on these cards. That speed result is specific to our CMP 170HX setup, where part of each layer's experts sits on the CPU lane, and is
worth re-measuring elsewhere. The exactness result is not specific to these cards.

Serving check, two requests in flight, prompt lookup on: one request run alone and run after another request gives
the same text (573 / 573 verify rows bit-identical, in order). Our serving config with DS4_ASYNC_T=16 passes our
"two in flight = alone" gate 4/4 and our 12-prompt quality set 12/12.

A test worth adding: one row's logits in windows of 1..16, bit for bit, in one process (the patch above is the
harness).

Not covered

Restart-to-restart reproducibility is a separate issue. Placement depends on the moment's free VRAM, so two lifetimes
can place an expert differently; we have not filed that one.

Originally created by @SeriousRising on GitHub (Oct 28, 2026). Original GitHub issue: https://github.com/mw00/project-maya/issues/608 ## Symptom At temperature 0, with prompt lookup on (`--suffix-draft`, default 3) and DSpark loaded, the same request can give a different text depending on what ran before it in the same server lifetime. The cause is the window path: a token's logits are bit-identical whether it is computed in a window of 1, 2, ... or 8 rows, and different in a window of 9-16 rows. Stock v1.1.28 (6afa525) as released, one process, 48 prompt ids read once in windows of each size (`m.reset()` between passes), logits compared with the windows-of-2 pass: | windows of | rows bit-identical to windows of 2 | max abs diff | argmax equal | |---|---|---|---| | 1, 3, 4, 5, 6, 7, 8 | 48 / 48 | 0 | 48 / 48 | | 9, 10, ..., 16 | 0 / 48 (from position 0) | 8.04 | 42 / 48 | | 9 .. 16 with `DS4_ASYNC_T=16` | 48 / 48 | 0 | 48 / 48 | With the default, windows 1..16 fall into six classes ({1..8} | {9,15} | {10} | {11} | {12,13,16} | {14}): a size's class depends on how many of its windows (the last one is shorter) have more than 8 rows. With `DS4_ASYNC_T=16`, all windows 1..16 are one bit-identical class. Our v1.1.34-based tree, with all our switches on, shows the same: six classes by default and one with the switch. Hardware: 2x NVIDIA CMP 170HX 64 GB (sm_80, CUDA 12.8; PCIe Gen2, the second card on x4), DeepSeek-V4.1-Flash-1017 GSQ-RCO IQ2_XXS, `--tp 1 --gpus 0,1`, `--cpu-threads 14`. Nothing here depends on the cards. The threshold is a plain row count. ## Why it matters DSpark's verify windows stay at 6 rows or fewer. Prompt lookup's windows can reach `verify_max()` = kWin = 16 rows. `DraftPolicy` chooses between lookup and DSpark windows from EMAs of **wall-clock** round times and from earlier requests' acceptance, and it lives as long as the engine. So whether a request verifies a 9+-row lookup window depends on timing and on the requests before it. Each such window computes its rows on the other path. A different last bit then grows into a different token a few hundred tokens later. We saw this as one gate prompt giving two different texts: run alone, and run after another request. Both runs used fresh servers with equal expert placement. `draft_policy.hpp` says "it only chooses which drafts to verify: the output is unchanged". That holds only while a verify row's bits do not depend on the window's size. ## Cause `src/ds4/ds4_model.cu`, v1.1.34 (v1.1.28 in brackets). Checked in the v1.1.34 source; v1.1.35's notes list no DeepSeek changes: - `:1437` [`:1224`] `int async_max_t = DS4_ASYNC_T ? atoi(...) : 8; // windows up to this` - `:16423` [`:12309`] `plan_window`: `wp.async = par || (!sync_decode && T <= async_max_t);` (and `:13808` [`:10247`] `dp.async`, the same test for the decode window's mailbox). - `:17273` [`:12946`] `layer()`'s FFN, `if (wp.async)`: - the routing is published to the mailbox; - the VRAM experts run through `win_experts` (fused gate/up + swiglu); - the CPU lane is answered by the service thread; - `mx_combine_kernel` combines the results. - its `else` branch (T 9-16, or `DS4_SYNC`) is the host-routed path: - `gemv_f32` + `route`, with the picks synchronised to the host; - the VRAM experts gathered and run as per-expert GEMVs (`gg::mv` -> `iq::mv_nc`, activations rounded per 32 by `q8_quant`); - a separate float `swiglu`; - the CPU lane's part summed on the host; - `combine`. These are two implementations of the routed experts with different roundings, chosen by the window's row count. So every layer's MoE output depends on whether the window has more than 8 rows. Layer 0's MoE is the first place the two paths part. ## Repro (stock) Compare window sizes inside **one** process. Expert placement comes from the free VRAM at load (`cudaMemGetInfo` minus the reserve), so two processes can place an expert differently and confound the comparison. We added a test-only switch to `ds4_main.cpp`'s bench loop (+16 / -3, below; cut on v1.1.28, applies to v1.1.34 unchanged). With `DS4_BENCH_WINDOWS=a,b,...`, pass i reads the prompt in windows of the i-th size, with the `m.reset()` the bench already does between `DS4_BENCH_REPEAT` passes. ``` DS4_CHUNK_MIN=100000 DS4_BENCH_WINDOWS=2,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,2 MAYA_DS4_STREAM=0 \ ./build/maya-ds4 --pack <pack> --gpus 0,1 --tp 1 --vision off --dspark on --n 0 --window 2 \ --ids @ids48.txt --dump-logits out.f32 # compare the passes' logits bit for bit: 1-8 equal, 9-16 differ; add DS4_ASYNC_T=16 and all equal ``` `DS4_CHUNK_MIN=100000` keeps the prompt on the window path, which is the path a verify window runs. <details><summary>Test-only patch: DS4_BENCH_WINDOWS</summary> ```diff diff --git a/src/ds4/ds4_main.cpp b/src/ds4/ds4_main.cpp index f9fbf08..aa9197f 100644 --- a/src/ds4/ds4_main.cpp +++ b/src/ds4/ds4_main.cpp @@ -1306,8 +1306,21 @@ int main(int argc, char** argv) { } // DS4_BENCH_REPEAT=N: the prompt and the decode N times, the state reset between them and the expert cache kept // (the later passes measure a warmed cache, as a server's requests run) - const int reps = std::max(1, std::getenv("DS4_BENCH_REPEAT") ? std::atoi(std::getenv("DS4_BENCH_REPEAT")) : 1); + // DS4_BENCH_WINDOWS=a,b,..: pass i reads the prompt in windows of the i-th size instead (tests, rw-09-tinv: is a + // row the same whatever window it is in - one load, so one expert placement); the passes' count with it + std::vector<int> bwin; + if (const char* v = std::getenv("DS4_BENCH_WINDOWS")) + for (const char* p = v; *p != 0;) { + char* e = nullptr; + const long w = std::strtol(p, &e, 10); + if (e == p) break; + bwin.push_back((int) std::max(1L, w)); + p = *e == ',' ? e + 1 : e; + } + const int reps = !bwin.empty() ? (int) bwin.size() + : std::max(1, std::getenv("DS4_BENCH_REPEAT") ? std::atoi(std::getenv("DS4_BENCH_REPEAT")) : 1); for (int rep = 0; rep < reps; ++rep) { + const int win = bwin.empty() ? window : bwin[(size_t) rep]; if (rep > 0) { m.reset(); std::fprintf(stderr, "pass %d of %d\n", rep + 1, reps); @@ -1323,7 +1336,7 @@ int main(int argc, char** argv) { if (prof_prompt) cudaProfilerStart(); const double t0 = now_ms(); for (size_t a = 0; a < ids.size();) { - const int T = (int) std::min<size_t>((size_t) window, ids.size() - a); + const int T = (int) std::min<size_t>((size_t) win, ids.size() - a); const bool last = a + (size_t) T == ids.size(); if (!m.feed(ids.data() + a, T, df != nullptr ? T : (last ? 1 : 0), err)) { std::fprintf(stderr, "maya-ds4: %s\n", err.c_str()); @@ -1336,7 +1349,7 @@ int main(int argc, char** argv) { const double t1 = now_ms(); if (prof_prompt) cudaProfilerStop(); std::fprintf(stderr, "prompt: %zu tokens in %.0f ms (%.2f tok/s, windows of %d)\n", ids.size(), t1 - t0, - 1000.0 * (double) ids.size() / (t1 - t0), window); + 1000.0 * (double) ids.size() / (t1 - t0), win); if (const char* dl = std::getenv("DS4_DUMP_LAST")) { // the prompt's last row of logits, <file>.<pass> std::vector<float> ll; std::FILE* f = m.logits(ll) ? std::fopen((std::string(dl) + "." + std::to_string(rep)).c_str(), "wb") : nullptr; ``` </details> ## Proposed fix Make the default `async_max_t` `kWin` (16): ```diff - int async_max_t = std::getenv("DS4_ASYNC_T") ? std::atoi(std::getenv("DS4_ASYNC_T")) : 8; // windows up to this + int async_max_t = std::getenv("DS4_ASYNC_T") ? std::atoi(std::getenv("DS4_ASYNC_T")) : kWin; // windows up to this ``` The async path already covers every T <= kWin: - `Req` / `Resp` are `[kWin]`. - `win_experts` takes up to 16 entries. - `--parallel` (`wp.async = par`) and the chunk runner already use it at any T. After the change, the host-routed path serves only `DS4_SYNC`. Windows of 1-8 rows run exactly as before, so DSpark rounds and plain decode do not change. Measured 2026-10-28, same rig, one process per arm. Pass times are for the 48 ids; the last window of a pass is the remainder: | windows of | default (8) | `DS4_ASYNC_T=16` | |---|---|---| | 1-8 | 521-1454 ms | within 1.5 % of default (514-1433 ms) | | 9 | 703 ms | 576 ms (-18 %) | | 12 | 651 ms | 510 ms (-22 %) | | 16 | 601 ms | 464 ms (-23 %) | The async path is faster on these cards. That speed result is specific to our CMP 170HX setup, where part of each layer's experts sits on the CPU lane, and is worth re-measuring elsewhere. The exactness result is not specific to these cards. Serving check, two requests in flight, prompt lookup on: one request run alone and run after another request gives the same text (573 / 573 verify rows bit-identical, in order). Our serving config with `DS4_ASYNC_T=16` passes our "two in flight = alone" gate 4/4 and our 12-prompt quality set 12/12. A test worth adding: one row's logits in windows of 1..16, bit for bit, in one process (the patch above is the harness). ## Not covered Restart-to-restart reproducibility is a separate issue. Placement depends on the moment's free VRAM, so two lifetimes can place an expert differently; we have not filed that one.
Author
Owner

@somnergy commented on GitHub (Oct 28, 2026):

A data point from a different place: the drafter pass of --parallel drafting, measured on 2× Blackwell cards on a layer split.

DS4_ASYNC_T=16 makes our multi-conversation drafter passes match the lone drafter. The pass runs 10-15 rows (2-3 conversations × a 5-row block), so with the default 8 it took the host-routed branch. Its drafts then differed from the lone drafter's in the last bits: 116 of 154 differed. With DS4_ASYNC_T=16, and later with dp.async = par || ... in the code, they were bit for bit the lone drafter's: 83 of 83, then 92 of 92.

One caveat on "all windows 1..16 are one bit-identical class". On the async path, the experts' kernels take an expert's rows in tiles of 1/4/8/16, and an expert that draws 9 or more rows of one window sums in another order. On a layer split with every main expert in VRAM:

  • the rows of 7- and 8-row verify windows were bit for bit the lone path's;
  • the first 10-row window differed in its first row (max |d| about 0.75-0.96), and the tokens diverged a few rows later.

A single-sequence check rarely routes 9+ rows of a window to one expert, so it may not show this; it shows once several conversations share a window. Raising the default still looks right to us. The tile rule is a separate dependence on row count.

<!-- gh-comment-id:6479254364 --> @somnergy commented on GitHub (Oct 28, 2026): A data point from a different place: the drafter pass of `--parallel` drafting, measured on 2× Blackwell cards on a layer split. **`DS4_ASYNC_T=16` makes our multi-conversation drafter passes match the lone drafter.** The pass runs 10-15 rows (2-3 conversations × a 5-row block), so with the default 8 it took the host-routed branch. Its drafts then differed from the lone drafter's in the last bits: 116 of 154 differed. With `DS4_ASYNC_T=16`, and later with `dp.async = par || ...` in the code, they were bit for bit the lone drafter's: 83 of 83, then 92 of 92. **One caveat on "all windows 1..16 are one bit-identical class".** On the async path, the experts' kernels take an expert's rows in tiles of 1/4/8/16, and an expert that draws 9 or more rows of one window sums in another order. On a layer split with every main expert in VRAM: - the rows of 7- and 8-row verify windows were bit for bit the lone path's; - the first 10-row window differed in its first row (max |d| about 0.75-0.96), and the tokens diverged a few rows later. A single-sequence check rarely routes 9+ rows of a window to one expert, so it may not show this; it shows once several conversations share a window. Raising the default still looks right to us. The tile rule is a separate dependence on row count.
Author
Owner

@mw00 commented on GitHub (Oct 28, 2026):

Fixed in v1.1.36: windows of 9-16 rows now take the same path as 1-8 (DS4_ASYNC_T default 16), so a row's logits no longer depend on its window's size. We reproduced it on one V100: 48 positions read in windows of 12 differed from windows of 2 (largest logit difference about 20); with the new default they are bit-identical, and windows of 1-8 are unchanged bit for bit. Decode and prefill times are the same or slightly better. Thank you @SeriousRising, the table and the repro made this a ten-minute check.

Released in v1.1.36: https://github.com/mw00/project-maya/releases/tag/v1.1.36

<!-- gh-comment-id:6480778901 --> @mw00 commented on GitHub (Oct 28, 2026): Fixed in v1.1.36: windows of 9-16 rows now take the same path as 1-8 (`DS4_ASYNC_T` default 16), so a row's logits no longer depend on its window's size. We reproduced it on one V100: 48 positions read in windows of 12 differed from windows of 2 (largest logit difference about 20); with the new default they are bit-identical, and windows of 1-8 are unchanged bit for bit. Decode and prefill times are the same or slightly better. Thank you @SeriousRising, the table and the repro made this a ten-minute check. Released in **v1.1.36**: https://github.com/mw00/project-maya/releases/tag/v1.1.36
Author
Owner

@somnergy commented on GitHub (Oct 29, 2026):

A correction to my earlier comment here (and to point 1 of mine on #611): the "tile rule" caveat was wrong. v1.1.36 with #587 on top, two-GPU layer split, every multi step on the async path, --multi-check --n 160, the expert cache off so the placement stays fixed:

  • --parallel 2: drafting windows of about 12 rows;
  • --parallel 3: windows of about 14 rows;
  • --parallel 4: windows of about 16 rows (710 drafts in 62 rounds).

At all three, every conversation's tokens with the drafter are the same as alone, and the plain rows are bit for bit (318/318, 477/477, 636/636).

So windows of 9-16 rows are fine on the async path. My failing 10-row and 16-row windows must have taken the host-routed branch (DS4_ASYNC_T was 8 then), which is what this issue fixed. The experts' tile sizes were a wrong guess at the cause. Sorry for the noise.

<!-- gh-comment-id:6489682018 --> @somnergy commented on GitHub (Oct 29, 2026): A correction to my earlier comment here (and to point 1 of mine on #611): **the "tile rule" caveat was wrong.** v1.1.36 with #587 on top, two-GPU layer split, every multi step on the async path, `--multi-check --n 160`, the expert cache off so the placement stays fixed: - `--parallel 2`: drafting windows of about 12 rows; - `--parallel 3`: windows of about 14 rows; - `--parallel 4`: windows of about 16 rows (710 drafts in 62 rounds). At all three, every conversation's tokens with the drafter are the same as alone, and the plain rows are bit for bit (318/318, 477/477, 636/636). So windows of 9-16 rows are fine on the async path. My failing 10-row and 16-row windows must have taken the host-routed branch (`DS4_ASYNC_T` was 8 then), which is what this issue fixed. The experts' tile sizes were a wrong guess at the cause. Sorry for the noise.
Sign in to join this conversation.
No labels
pull-request
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
mw00/project-maya#252
No description provided.