[GH-ISSUE #4375] [Engine] DeepSeek Prompt Skip: single-GPU activation diagnostics and reproducible A/B #1937

Closed
opened 2026-11-04 01:55:27 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @tjm8874 on GitHub (Oct 27, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4375

Request: start with a reproducible single-GPU experiment

Could we evaluate the existing DeepSeek Prompt Skip path and isolate the useful attention/cache optimizations on one GPU first, with explicit effective-mode logging and a small reproducible A/B harness?

A local experimental build reached 1,547.6 tok/s prefill with all 6 routed experts, and 1,715.9 tok/s with 4 experts, on an RTX PRO 4500 + RTX 5070 Ti. An isolated audit reproduced the measurements and checked small tasks against the official release. Those are two-GPU observations, not measured single-GPU gains. The final single-GPU variant has not been measured.

The request is a focused, opt-in investigation. The full experimental patch is not ready to merge, and removing the single-device guard is not a safe general solution.

Related: #4353 covers near-1M workspace/decoded-cache lifecycle and #4351 covers GPU expert misses. This report adds a narrower 16K existing-Prompt-Skip activation/ablation case and audited observations; it is not a competing workspace or expert-miss implementation proposal.

Why start with one GPU?

Current src/dsv41/ds4_model.cu already implements Prompt Skip for an eligible single-device layout. In the source inspected on 2026-10-27 (blob 91d29a266e8cba1dbb576d6911ee744eecddac20), yoco_mode() defaults to 1; DS4_YOCO overrides STRATA_DS4_PROMPT_SKIP, and yoco_layer() rejects mixed-device layouts:

if (l.nm != 1 || l.dev != L[0].dev) return -1;

A one-card experiment can compare skip off/on without relaxing this guard or using a Main/Helper split. It can then isolate the candidate attention, dense-cache and transfer changes separately. The existing default being enabled is different from proving that a particular request was eligible and actually skipped work.

Please retain architecture checks, the all-row-logits restriction and the current safe topology guard during this first experiment. Useful diagnostics would report effective mode, eligibility/rejection reason, retained tail, chunk/row cut and actual device layout.

Environment and identity

  • Strata app/Terminal 0.2.6; official DeepSeek engine 0.1.51, build 562a0c2ed.
  • Official Linux CUDA package SHA256: 88c9c54ecc3ffce6f2ddbef281a7066146694be85e4ace99d31e5cdd691f0603, matched to the v0.2.6 release.
  • Official executable SHA256: f1b106d43cae444a86b7cdd4c8b0fa943d289752a8507adf690f96f9214f8ac2.
  • Experimental source base: 4b9e05a2a806a3fe24f7b2560d98626c37dade35 + local patch. Performance executable SHA256: 3a49d4d663a7ed14c869420c3e0aba0ecd42a53f2bcab57fb8bc7de1f0d915e7.
  • Linux x86_64; Ryzen 9 9900X; DDR5 96 GB; RTX PRO 4500 Blackwell 32 GB (CUDA0, power limit 200 W) + RTX 5070 Ti 16 GB (CUDA1, 300 W).
  • NVIDIA driver 595.99.02; CUDA 13.0.88; GCC 13.3; CUDA architecture 120a in the local build. Clock and power-limit snapshots were recorded; clocks were not experimentally locked.
  • DeepSeek V4.1 Flash 1017, ISTA-DAS GSQ-RCO IQ2_XXS + Huihui abliterated replacement in the fourth shard. Engram IQ4_NL; DSpark disabled with --dspark none.
  • Context 32,768; chunk 8,192; 12 CPU threads; RAM store setting 92 GB. --ssd-cache is the engine setting, not a measurement of resident RAM.
  • Same frozen expert-profile seed copied independently for each condition: SHA256 cca11bb686b5701e01f846536e00e98bfacbab4378a788b31f99aa098b2dbe90. Profiles/cache could adapt during requests; prompt prefix reuse was disabled.

All six referenced GGUF files were hashed during the audit. These current hashes do not retroactively establish the identities of historical runs whose model hashes were not recorded.

Primary reproduction protocol: one physical GPU, 6 experts

Proposed validation, not already-run evidence. Use the exact 16,384-token inventory prompt and portable runner in the attached evidence ZIP, one selected GPU only. Freeze a copy of your installed pack profile (for example, cp /path/to/pack/expert-profile.bin frozen-profile.bin) and use the same starting bytes for both arms. That is a new experiment with its own recorded seed hash; it does not reproduce the audited absolute rates unless the original pack/profile/build also match. For example, CUDA-visible device 0 is the PRO 4500 in this machine:

# Every invocation starts a new process with an independent copy of the same profile.
python3 single_gpu_repro.py --engine /path/to/official/strata-dsv41 \
  --pack /path/to/huihui-pack --profile-seed frozen-profile.bin \
  --ids prompt-16384.ids.json --gpu 0 --experts 6 --yoco 0 --out single-stock-off

python3 single_gpu_repro.py --engine /path/to/official/strata-dsv41 \
  --pack /path/to/huihui-pack --profile-seed frozen-profile.bin \
  --ids prompt-16384.ids.json --gpu 0 --experts 6 --yoco 1 --out single-stock-on

The runner clears inherited DS4_, STRATA_DS4_ and MAYA_DS4_ settings, disables conversation reuse/slot reuse/auto-pin, sets CUDA_VISIBLE_DEVICES to exactly one physical GPU and passes --gpus 0 after visibility remapping. It never sets DS4_SPLIT or DS4_YOCO_MULTI. It does not stop or restart services.

Equivalent native-engine launch for either arm:

CUDA_DEVICE_ORDER=PCI_BUS_ID CUDA_VISIBLE_DEVICES=0
STRATA_DS4_REUSE=0 STRATA_DS4_SLOT_KEEP=0 STRATA_DS4_AUTO_PIN=0
STRATA_DS4_DISK_SKIP_W=0 STRATA_DS4_PROMPT_SKIP=0 DS4_YOCO=<0 or 1>
strata-dsv41 --pack <PACK> --max-context 32768 --eos 1 --dspark none
  --cpu-threads 12 --ssd-cache 92 --gpus 0 --prefill-chunk 8192
  --experts 6 --expert-profile <PRIVATE_PROFILE> --serve

Each process receives one warm-up and 3 measured requests, each GEN 256 temperature=0 top_p=1 top_k=0 min_p=0 seed=42 spec=0 <CSV IDs>, followed by normal QUIT. Check DONE prompt=16,384, output=256, token-line count=256, reuse=0 and exit=0. Record every failure separately. A request ending early must not silently count as the same workload.

Compute prefill and decode from their separate DONE durations; measure TTFT from GEN send to the first T line. Model load is outside these timings. Use ordinary median/min/max, not the larger of two measurements labeled as a median. Swap arm order in a follow-up before interpreting small differences.

Prompt identity: SHA256 of comma-separated IDs (ASCII, no final newline) is 73be3223a935b3eeef64f6e73263fa7128bbe88f8fdab13d522cf9b559ef2cf9. Profile starting hash and executable SHA must accompany each arm. The harness has been syntax/dry-run checked in this publication review; GPU execution of this new portable runner is not claimed.

Then compare each candidate change on the same single-GPU binary/configuration:

  1. Existing Prompt Skip off versus on; verify that the cut is active.
  2. Candidate attention path (DS4_ATT_ONE=16, DS4_ATT_A=8192) separately.
  3. Candidate dense-weight cache separately.
  4. Transfer/prefetch changes separately, only after handling registration success and lifetime correctly.

The candidate flags came from the local patch. Setting an unknown flag on a stock binary is not proof that the corresponding feature ran. Keep 6 experts for this primary study; 4 experts is a separately labeled routing tradeoff. Do not port the unsafe store-pin path merely to reproduce a headline number.

Audited two-GPU results: reference evidence, not a single-GPU promise

Fixed input 16,384 / output 256, warm-up 1 + measured 2 per configuration, reuse=0. All experimental rows use the same executable SHA above and the same private-profile starting bytes. They differ only in the named expert count, split and YOCO mode; all other experimental settings are fixed. Values below are ordinary medians [min–max].

Build / experts / Helper+Main split / skip Prefill tok/s Decode tok/s TTFT s
Official / 6 / 19+21 / off 720.56 [720.19–720.92] 27.58 [27.04–28.12] 22.742 [22.730–22.753]
Experimental / 6 / 19+21 / off 1004.89 [1002.48–1007.29] 23.40 [23.25–23.55] 16.308 [16.269–16.347]
Experimental / 6 / 19+21 / on 1265.29 [1254.07–1276.51] 25.31 [24.90–25.73] 12.954 [12.839–13.069]
Experimental / 6 / 10+30 / off 873.39 [872.05–874.73] 22.50 [22.11–22.89] 18.763 [18.735–18.792]
Experimental / 6 / 10+30 / on 1547.58 [1539.69–1555.46] 25.42 [25.14–25.71] 10.591 [10.537–10.645]
Experimental / 4 / 10+30 / on 1715.92 [1711.53–1720.30] 32.92 [32.16–33.68] 9.552 [9.528–9.577]

At 6 experts and fixed 19+21 split, enabling skip improves median prefill 25.9%. Rebalancing to 10+30 yields 54.0% over experimental 19+21/skip-off. The official-to-fastest-6-expert comparison is +114.8% prefill, −53.4% TTFT, −35.5% total time, but −7.8% decode. That comparison changes both binary and settings; it is not a YOCO-only speedup and does not improve every metric.

Experimental settings used in the audited rows:

--gpus 1,0 --prefill-chunk 8192 --experts <4 or 6> --ssd-cache 92
DS4_PREFILL_BLAS=0 DS4_DENSE_CACHE=1 DS4_ATT_A=8192
DS4_READERS=24 DS4_AHEAD=1 DS4_SETTLE_MS=300 DS4_SETTLE_STORE=0
DS4_ATT_ONE=16 DS4_STORE_PIN=1
DS4_SPLIT=<19,21 or 10,30> DS4_YOCO=<0 or 1> DS4_YOCO_MULTI=1

The official reference omits the experimental tuning variables and uses the official package libraries (their CUDA library SHA256 values matched the experimental system libraries). This benchmark is a custom workload with two samples per measured arm, not a standard-protocol result or confidence interval.

Active-cut log from the experimental two-GPU path:

ds4: yoco multi: n 16384, keep 2668, chunk 8192 -> cut chunk 1 row 5524, layers 21-39 on the last 2668 rows

Quality checks and remaining failures

Passed within a limited scope: four 16K tasks (arithmetic, strict JSON, Japanese two-item response, complete Python function). The official 6-expert references at 19+21 and 10+30 and a matched official 4-expert control all passed. The fastest candidate-on conditions showed no regressions in 12 reference/candidate comparisons. This is four task families across three comparisons, not twelve independent benchmarks. Python was executed for 0,1,2,10,100 and negative-input ValueError. Stop/new-GEN/normal-QUIT tests completed on the measured safe layouts.

Numerical equivalence is not established: at the first 16K prefix, full experimental off/off snapshots matched, while off/on tail logits differed (relative L2 about 5–10% across the full settings). Minimal YOCO-only builds also showed differences. On one fixed 31-position continuation at 6 experts / 10+30, top-1 matched at all positions, but max log-probability delta was 0.06789 nats versus 0.010497 for off/off. Neither observation justifies a general “lossless” claim. TS-Bench and broad quality testing were not run. A separate post-Stop 4-expert experimental-off arithmetic error (3974 instead of 4014) remains recorded; request/cache history differed and attribution is unresolved.

Reproduced failures in the local experimental patch, not asserted as stock-engine defects:

  • Relaxing the guard for 21+19 layers, 24,576 input + 32 output caused a 90 s timeout; skip-off completed in 49.8 s. Trace showed the receiver not starting on skipped chunks and source-layer-20 KV ACK starvation on chunk 2. A universal multi-GPU opt-in needs topology-aware synchronization or a safe rejection/fallback.
  • The local DS4_YOCO_MULTI uses presence rather than value: =0 still relaxes the guard. This flag is absent from the inspected stock source.
  • Experimental pinned store: 118 successful registrations / 77,579,943,936 bytes had 0 unregister calls in the observed lifetime. Injecting registration failure gave 140 failures yet still declared the arena pinned. Injection is not a naturally observed OOM. Process-exit driver cleanup does not establish correct model-destruction/shrink cleanup.
  • The full bundle also contains inactive faulty FP8 and V2 paths and a missing CMake addition. They were disabled in the fastest configuration and are not claimed as its direct cause.

These findings support starting with single-GPU ablations and separating the patches rather than lifting the topology guard globally.

Historical context

The same PC's earlier official engine 0.1.49, original model / 6 experts / 84 GB RAM cache, 16K input / 2K output, yielded 547.8 tok/s on the PRO 4500 alone and 704.4 on Main+Helper (1 warm-up + 3 measured runs). Later 4-expert / Huihui / modified-0.1.51 / 92 GB-cache experiments yielded 1141.8 → 1408.3 → 1727.6 (1 warm-up + 2 measured runs, 2K output).

This history changes model, engine, expert count and settings. The three historical experimental binary hashes also differ. It is not a controlled 547.8→1727.6 patch speedup, and the 2K-output decode results should not be mixed with the new 256-output cohort.

Would a focused first step—effective skip diagnostics plus a frozen-input/profile single-GPU ablation—be a useful basis for reviewing the attention/cache changes separately?

All 18 new measured requests (warm-ups excluded)
condition,run,prefill_tokens_s,decode_tokens_s,ttft_s,wall_s
perf-e4-s10-30-y0,1,982.307198830,30.437780896,16.683186569,25.093639629
perf-e4-s10-30-y0,2,982.542833326,30.277583943,16.679515053,25.134230338
perf-e4-s10-30-y1,1,1720.303657115,32.163228384,9.527908762,17.487211554
perf-e4-s10-30-y1,2,1711.533841027,33.675348592,9.576952290,17.178794104
perf-e4-s19-21-y0,1,1139.360222531,30.632635723,14.383726160,22.740802165
perf-e4-s19-21-y0,2,1135.790145024,30.184407867,14.428966618,22.910062862
perf-e4-s19-21-y1,1,1410.055596675,32.208955599,11.623084324,19.571059407
perf-e4-s19-21-y1,2,1417.227479543,33.277005070,11.564388430,19.257207700
perf-e6-s10-30-y0,1,874.727715372,22.892913034,18.734564432,29.916845256
perf-e6-s10-30-y0,2,872.045986800,22.109754202,18.791720153,30.370195557
perf-e6-s10-30-y1,1,1539.690445537,25.135249242,10.644801665,20.829506058
perf-e6-s10-30-y1,2,1555.462727376,25.713396077,10.537229966,20.492997182
perf-e6-s19-21-y0,1,1007.291551391,23.251589464,16.269298295,27.279145394
perf-e6-s19-21-y0,2,1002.484183218,23.547591891,16.347114787,27.218603799
perf-e6-s19-21-y1,1,1254.066300795,24.899090600,13.068858344,23.350228444
perf-e6-s19-21-y1,2,1276.509544215,25.725799158,12.839094804,22.790030451
perf-official-e6-s19-21-y0,1,720.194818325,27.039016456,22.753009816,32.220749645
perf-official-e6-s19-21-y0,2,720.920511297,28.116110751,22.730466751,31.835536745
Model-file SHA256 values captured during this audit
d46efb67ccffd8fb5d7f18b423896381b9e06d8491e161c370ddf3b05b07e050  DeepSeek-V4.1-Flash-1017-GSQ-RCO-IQ2_XXS-00001-of-00004.gguf
cec1b2c3da429dc768b8bb9bc4dc4403d81f74d34db660a6a34ee3e555bf2c70  DeepSeek-V4.1-Flash-1017-GSQ-RCO-IQ2_XXS-00002-of-00004.gguf
9d9c2140fcb134a0b9a74dedd0e5167e68077af6d08ce7f856bce112f0a35dd3  DeepSeek-V4.1-Flash-1017-GSQ-RCO-IQ2_XXS-00003-of-00004.gguf
9bb56083b354363bfbc006918681e0efca6e438fd5955d53990eee5f81e33312  DeepSeek-V4.1-Flash-1017-GSQ-RCO-IQ2_XXS-00004-of-00004.gguf
eb19f30d368d393784e1fc54fdfaffc427ebb2110bf3762fdf5a8fbb9a2d740a  DeepSeek-V4.1-Flash-Engram-IQ4_NL.gguf
6ba6ac1b331c540691a209e7fc97dec2a24e295acb1e755c84c7d24a4373927a  dspark-DeepSeek-V4.1-Flash-1017-Q8_0.gguf

These identify this custom pack. They are not historic hashes for Oct 24, and rebuilding a Huihui-patched shard may change GGUF bytes. The primary single-GPU comparison must hold its own model bytes fixed.

Attached reproduction package

The evidence ZIP contains the portable single-GPU runner, exact input token IDs, frozen profile seed, model hashes, individual measured requests and sanitized logs. It also preserves the original experimental patches with known defects for identification/reconstruction; they are not a corrected or recommended production patch. The provided audit did not implement fixes. See the ZIP README and the limitations above.

strata-prefill-repro-evidence.zip

Visual overview

The figures distinguish the historical development sequence from the new audit. All final experimental throughput shown is from two GPUs; the proposed single-GPU validation remains unmeasured.

Image Image
Originally created by @tjm8874 on GitHub (Oct 27, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/4375 ## Request: start with a reproducible single-GPU experiment Could we evaluate the existing DeepSeek Prompt Skip path and isolate the useful attention/cache optimizations **on one GPU first**, with explicit effective-mode logging and a small reproducible A/B harness? A local experimental build reached **1,547.6 tok/s prefill with all 6 routed experts**, and **1,715.9 tok/s with 4 experts**, on an RTX PRO 4500 + RTX 5070 Ti. An isolated audit reproduced the measurements and checked small tasks against the official release. Those are **two-GPU observations**, not measured single-GPU gains. The final single-GPU variant has **not been measured**. The request is a focused, opt-in investigation. The full experimental patch is not ready to merge, and removing the single-device guard is not a safe general solution. Related: [#4353](https://github.com/Niko1221/Strata/issues/4353) covers near-1M workspace/decoded-cache lifecycle and [#4351](https://github.com/Niko1221/Strata/issues/4351) covers GPU expert misses. This report adds a narrower 16K **existing-Prompt-Skip activation/ablation** case and audited observations; it is not a competing workspace or expert-miss implementation proposal. ## Why start with one GPU? Current `src/dsv41/ds4_model.cu` already implements Prompt Skip for an eligible single-device layout. In the source inspected on 2026-10-27 (blob `91d29a266e8cba1dbb576d6911ee744eecddac20`), `yoco_mode()` defaults to 1; `DS4_YOCO` overrides `STRATA_DS4_PROMPT_SKIP`, and `yoco_layer()` rejects mixed-device layouts: ```cpp if (l.nm != 1 || l.dev != L[0].dev) return -1; ``` A one-card experiment can compare skip off/on without relaxing this guard or using a Main/Helper split. It can then isolate the candidate attention, dense-cache and transfer changes separately. The existing default being enabled is different from proving that a particular request was eligible and actually skipped work. Please retain architecture checks, the all-row-logits restriction and the current safe topology guard during this first experiment. Useful diagnostics would report effective mode, eligibility/rejection reason, retained tail, chunk/row cut and actual device layout. ## Environment and identity - Strata app/Terminal 0.2.6; official DeepSeek engine 0.1.51, build `562a0c2ed`. - Official Linux CUDA package SHA256: `88c9c54ecc3ffce6f2ddbef281a7066146694be85e4ace99d31e5cdd691f0603`, matched to the [v0.2.6 release](https://github.com/Niko1221/Strata/releases/tag/v0.2.6). - Official executable SHA256: `f1b106d43cae444a86b7cdd4c8b0fa943d289752a8507adf690f96f9214f8ac2`. - Experimental source base: `4b9e05a2a806a3fe24f7b2560d98626c37dade35` + local patch. Performance executable SHA256: `3a49d4d663a7ed14c869420c3e0aba0ecd42a53f2bcab57fb8bc7de1f0d915e7`. - Linux x86_64; Ryzen 9 9900X; DDR5 96 GB; RTX PRO 4500 Blackwell 32 GB (CUDA0, power limit 200 W) + RTX 5070 Ti 16 GB (CUDA1, 300 W). - NVIDIA driver 595.99.02; CUDA 13.0.88; GCC 13.3; CUDA architecture 120a in the local build. Clock and power-limit snapshots were recorded; clocks were not experimentally locked. - DeepSeek V4.1 Flash 1017, ISTA-DAS GSQ-RCO IQ2_XXS + Huihui abliterated replacement in the fourth shard. Engram IQ4_NL; DSpark disabled with `--dspark none`. - Context 32,768; chunk 8,192; 12 CPU threads; RAM store setting 92 GB. `--ssd-cache` is the engine setting, not a measurement of resident RAM. - Same frozen expert-profile seed copied independently for each condition: SHA256 `cca11bb686b5701e01f846536e00e98bfacbab4378a788b31f99aa098b2dbe90`. Profiles/cache could adapt during requests; prompt prefix reuse was disabled. All six referenced GGUF files were hashed during the audit. These current hashes do not retroactively establish the identities of historical runs whose model hashes were not recorded. ## Primary reproduction protocol: one physical GPU, 6 experts **Proposed validation, not already-run evidence.** Use the exact 16,384-token inventory prompt and portable runner in the attached evidence ZIP, one selected GPU only. Freeze a copy of your installed pack profile (for example, `cp /path/to/pack/expert-profile.bin frozen-profile.bin`) and use the same starting bytes for both arms. That is a new experiment with its own recorded seed hash; it does not reproduce the audited absolute rates unless the original pack/profile/build also match. For example, CUDA-visible device 0 is the PRO 4500 in this machine: ```bash # Every invocation starts a new process with an independent copy of the same profile. python3 single_gpu_repro.py --engine /path/to/official/strata-dsv41 \ --pack /path/to/huihui-pack --profile-seed frozen-profile.bin \ --ids prompt-16384.ids.json --gpu 0 --experts 6 --yoco 0 --out single-stock-off python3 single_gpu_repro.py --engine /path/to/official/strata-dsv41 \ --pack /path/to/huihui-pack --profile-seed frozen-profile.bin \ --ids prompt-16384.ids.json --gpu 0 --experts 6 --yoco 1 --out single-stock-on ``` The runner clears inherited `DS4_`, `STRATA_DS4_` and `MAYA_DS4_` settings, disables conversation reuse/slot reuse/auto-pin, sets `CUDA_VISIBLE_DEVICES` to exactly one physical GPU and passes **`--gpus 0`** after visibility remapping. It never sets `DS4_SPLIT` or `DS4_YOCO_MULTI`. It does not stop or restart services. Equivalent native-engine launch for either arm: ```text CUDA_DEVICE_ORDER=PCI_BUS_ID CUDA_VISIBLE_DEVICES=0 STRATA_DS4_REUSE=0 STRATA_DS4_SLOT_KEEP=0 STRATA_DS4_AUTO_PIN=0 STRATA_DS4_DISK_SKIP_W=0 STRATA_DS4_PROMPT_SKIP=0 DS4_YOCO=<0 or 1> strata-dsv41 --pack <PACK> --max-context 32768 --eos 1 --dspark none --cpu-threads 12 --ssd-cache 92 --gpus 0 --prefill-chunk 8192 --experts 6 --expert-profile <PRIVATE_PROFILE> --serve ``` Each process receives one warm-up and **3 measured requests**, each `GEN 256 temperature=0 top_p=1 top_k=0 min_p=0 seed=42 spec=0 <CSV IDs>`, followed by normal `QUIT`. Check `DONE` prompt=16,384, output=256, token-line count=256, reuse=0 and exit=0. Record every failure separately. A request ending early must not silently count as the same workload. Compute prefill and decode from their separate `DONE` durations; measure TTFT from GEN send to the first `T` line. Model load is outside these timings. Use ordinary median/min/max, not the larger of two measurements labeled as a median. Swap arm order in a follow-up before interpreting small differences. Prompt identity: SHA256 of comma-separated IDs (ASCII, no final newline) is `73be3223a935b3eeef64f6e73263fa7128bbe88f8fdab13d522cf9b559ef2cf9`. Profile starting hash and executable SHA must accompany each arm. The harness has been syntax/dry-run checked in this publication review; GPU execution of this new portable runner is not claimed. Then compare each candidate change on the same single-GPU binary/configuration: 1. Existing Prompt Skip off versus on; verify that the cut is active. 2. Candidate attention path (`DS4_ATT_ONE=16`, `DS4_ATT_A=8192`) separately. 3. Candidate dense-weight cache separately. 4. Transfer/prefetch changes separately, only after handling registration success and lifetime correctly. The candidate flags came from the local patch. Setting an unknown flag on a stock binary is **not** proof that the corresponding feature ran. Keep 6 experts for this primary study; 4 experts is a separately labeled routing tradeoff. Do not port the unsafe store-pin path merely to reproduce a headline number. ## Audited two-GPU results: reference evidence, not a single-GPU promise Fixed input 16,384 / output 256, warm-up 1 + measured 2 per configuration, reuse=0. All experimental rows use the **same executable SHA** above and the same private-profile starting bytes. They differ only in the named expert count, split and YOCO mode; all other experimental settings are fixed. Values below are ordinary medians [min–max]. | Build / experts / Helper+Main split / skip | Prefill tok/s | Decode tok/s | TTFT s | |---|---:|---:|---:| | Official / 6 / 19+21 / off | 720.56 [720.19–720.92] | 27.58 [27.04–28.12] | 22.742 [22.730–22.753] | | Experimental / 6 / 19+21 / off | 1004.89 [1002.48–1007.29] | 23.40 [23.25–23.55] | 16.308 [16.269–16.347] | | Experimental / 6 / 19+21 / on | 1265.29 [1254.07–1276.51] | 25.31 [24.90–25.73] | 12.954 [12.839–13.069] | | Experimental / 6 / 10+30 / off | 873.39 [872.05–874.73] | 22.50 [22.11–22.89] | 18.763 [18.735–18.792] | | Experimental / 6 / 10+30 / on | 1547.58 [1539.69–1555.46] | 25.42 [25.14–25.71] | 10.591 [10.537–10.645] | | Experimental / 4 / 10+30 / on | 1715.92 [1711.53–1720.30] | 32.92 [32.16–33.68] | 9.552 [9.528–9.577] | At 6 experts and fixed 19+21 split, enabling skip improves median prefill **25.9%**. Rebalancing to 10+30 yields **54.0%** over experimental 19+21/skip-off. The official-to-fastest-6-expert comparison is **+114.8% prefill, −53.4% TTFT, −35.5% total time**, but **−7.8% decode**. That comparison changes both binary and settings; it is not a YOCO-only speedup and does not improve every metric. Experimental settings used in the audited rows: ```text --gpus 1,0 --prefill-chunk 8192 --experts <4 or 6> --ssd-cache 92 DS4_PREFILL_BLAS=0 DS4_DENSE_CACHE=1 DS4_ATT_A=8192 DS4_READERS=24 DS4_AHEAD=1 DS4_SETTLE_MS=300 DS4_SETTLE_STORE=0 DS4_ATT_ONE=16 DS4_STORE_PIN=1 DS4_SPLIT=<19,21 or 10,30> DS4_YOCO=<0 or 1> DS4_YOCO_MULTI=1 ``` The official reference omits the experimental tuning variables and uses the official package libraries (their CUDA library SHA256 values matched the experimental system libraries). This benchmark is a custom workload with two samples per measured arm, not a standard-protocol result or confidence interval. Active-cut log from the experimental two-GPU path: ```text ds4: yoco multi: n 16384, keep 2668, chunk 8192 -> cut chunk 1 row 5524, layers 21-39 on the last 2668 rows ``` ## Quality checks and remaining failures **Passed within a limited scope:** four 16K tasks (arithmetic, strict JSON, Japanese two-item response, complete Python function). The official 6-expert references at 19+21 and 10+30 and a matched official 4-expert control all passed. The fastest candidate-on conditions showed no regressions in **12 reference/candidate comparisons**. This is four task families across three comparisons, not twelve independent benchmarks. Python was executed for 0,1,2,10,100 and negative-input ValueError. Stop/new-GEN/normal-QUIT tests completed on the measured safe layouts. **Numerical equivalence is not established:** at the first 16K prefix, full experimental off/off snapshots matched, while off/on tail logits differed (relative L2 about 5–10% across the full settings). Minimal YOCO-only builds also showed differences. On one fixed 31-position continuation at 6 experts / 10+30, top-1 matched at all positions, but max log-probability delta was 0.06789 nats versus 0.010497 for off/off. Neither observation justifies a general “lossless” claim. TS-Bench and broad quality testing were not run. A separate post-Stop 4-expert experimental-off arithmetic error (3974 instead of 4014) remains recorded; request/cache history differed and attribution is unresolved. **Reproduced failures in the local experimental patch, not asserted as stock-engine defects:** - Relaxing the guard for **21+19 layers, 24,576 input + 32 output** caused a 90 s timeout; skip-off completed in 49.8 s. Trace showed the receiver not starting on skipped chunks and source-layer-20 KV ACK starvation on chunk 2. A universal multi-GPU opt-in needs topology-aware synchronization or a safe rejection/fallback. - The local `DS4_YOCO_MULTI` uses presence rather than value: `=0` still relaxes the guard. This flag is absent from the inspected stock source. - Experimental pinned store: 118 successful registrations / 77,579,943,936 bytes had 0 unregister calls in the observed lifetime. Injecting registration failure gave 140 failures yet still declared the arena pinned. Injection is not a naturally observed OOM. Process-exit driver cleanup does not establish correct model-destruction/shrink cleanup. - The full bundle also contains inactive faulty FP8 and V2 paths and a missing CMake addition. They were disabled in the fastest configuration and are not claimed as its direct cause. These findings support starting with single-GPU ablations and separating the patches rather than lifting the topology guard globally. ## Historical context The same PC's earlier official engine 0.1.49, original model / 6 experts / 84 GB RAM cache, 16K input / 2K output, yielded **547.8 tok/s on the PRO 4500 alone** and **704.4 on Main+Helper** (1 warm-up + 3 measured runs). Later 4-expert / Huihui / modified-0.1.51 / 92 GB-cache experiments yielded **1141.8 → 1408.3 → 1727.6** (1 warm-up + 2 measured runs, 2K output). This history changes model, engine, expert count and settings. The three historical experimental binary hashes also differ. It is not a controlled 547.8→1727.6 patch speedup, and the 2K-output decode results should not be mixed with the new 256-output cohort. Would a focused first step—effective skip diagnostics plus a frozen-input/profile single-GPU ablation—be a useful basis for reviewing the attention/cache changes separately? <details> <summary>All 18 new measured requests (warm-ups excluded)</summary> ```csv condition,run,prefill_tokens_s,decode_tokens_s,ttft_s,wall_s perf-e4-s10-30-y0,1,982.307198830,30.437780896,16.683186569,25.093639629 perf-e4-s10-30-y0,2,982.542833326,30.277583943,16.679515053,25.134230338 perf-e4-s10-30-y1,1,1720.303657115,32.163228384,9.527908762,17.487211554 perf-e4-s10-30-y1,2,1711.533841027,33.675348592,9.576952290,17.178794104 perf-e4-s19-21-y0,1,1139.360222531,30.632635723,14.383726160,22.740802165 perf-e4-s19-21-y0,2,1135.790145024,30.184407867,14.428966618,22.910062862 perf-e4-s19-21-y1,1,1410.055596675,32.208955599,11.623084324,19.571059407 perf-e4-s19-21-y1,2,1417.227479543,33.277005070,11.564388430,19.257207700 perf-e6-s10-30-y0,1,874.727715372,22.892913034,18.734564432,29.916845256 perf-e6-s10-30-y0,2,872.045986800,22.109754202,18.791720153,30.370195557 perf-e6-s10-30-y1,1,1539.690445537,25.135249242,10.644801665,20.829506058 perf-e6-s10-30-y1,2,1555.462727376,25.713396077,10.537229966,20.492997182 perf-e6-s19-21-y0,1,1007.291551391,23.251589464,16.269298295,27.279145394 perf-e6-s19-21-y0,2,1002.484183218,23.547591891,16.347114787,27.218603799 perf-e6-s19-21-y1,1,1254.066300795,24.899090600,13.068858344,23.350228444 perf-e6-s19-21-y1,2,1276.509544215,25.725799158,12.839094804,22.790030451 perf-official-e6-s19-21-y0,1,720.194818325,27.039016456,22.753009816,32.220749645 perf-official-e6-s19-21-y0,2,720.920511297,28.116110751,22.730466751,31.835536745 ``` </details> <details> <summary>Model-file SHA256 values captured during this audit</summary> ```text d46efb67ccffd8fb5d7f18b423896381b9e06d8491e161c370ddf3b05b07e050 DeepSeek-V4.1-Flash-1017-GSQ-RCO-IQ2_XXS-00001-of-00004.gguf cec1b2c3da429dc768b8bb9bc4dc4403d81f74d34db660a6a34ee3e555bf2c70 DeepSeek-V4.1-Flash-1017-GSQ-RCO-IQ2_XXS-00002-of-00004.gguf 9d9c2140fcb134a0b9a74dedd0e5167e68077af6d08ce7f856bce112f0a35dd3 DeepSeek-V4.1-Flash-1017-GSQ-RCO-IQ2_XXS-00003-of-00004.gguf 9bb56083b354363bfbc006918681e0efca6e438fd5955d53990eee5f81e33312 DeepSeek-V4.1-Flash-1017-GSQ-RCO-IQ2_XXS-00004-of-00004.gguf eb19f30d368d393784e1fc54fdfaffc427ebb2110bf3762fdf5a8fbb9a2d740a DeepSeek-V4.1-Flash-Engram-IQ4_NL.gguf 6ba6ac1b331c540691a209e7fc97dec2a24e295acb1e755c84c7d24a4373927a dspark-DeepSeek-V4.1-Flash-1017-Q8_0.gguf ``` These identify this custom pack. They are not historic hashes for Oct 24, and rebuilding a Huihui-patched shard may change GGUF bytes. The primary single-GPU comparison must hold its own model bytes fixed. </details> ## Attached reproduction package The evidence ZIP contains the portable single-GPU runner, exact input token IDs, frozen profile seed, model hashes, individual measured requests and sanitized logs. It also preserves the **original experimental patches with known defects** for identification/reconstruction; they are not a corrected or recommended production patch. The provided audit did not implement fixes. See the ZIP README and the limitations above. [strata-prefill-repro-evidence.zip](https://github.com/user-attachments/files/34049929/strata-prefill-repro-evidence.zip) ## Visual overview The figures distinguish the historical development sequence from the new audit. All final experimental throughput shown is from two GPUs; the proposed single-GPU validation remains unmeasured. <img width="1600" height="2400" alt="Image" src="https://github.com/user-attachments/assets/96b59dcc-ca6d-43e4-87ce-3fe0610b77d6" /> <img width="2400" height="3000" alt="Image" src="https://github.com/user-attachments/assets/7592424f-95a1-4ef1-add1-0e008b50d806" />
Author
Owner

@Niko1221 commented on GitHub (Nov 5, 2026):

Thanks for taking the time to report this.

Strata has changed a lot since this was opened, and 0.2.11 is out now, so many older reports no longer apply. We're closing issues older than a week that have had no new reports in the last week. Closed here does not mean rejected.

To reopen it takes about two minutes:

  1. Re-test on 0.2.11. It may already be fixed. Write down what you see.
  2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other].
  3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system.
  4. Comment /reopen. A check runs and either reopens the issue or lists what is still missing.

The rules are in CONTRIBUTING.md.

<!-- gh-comment-id:6660333752 --> @Niko1221 commented on GitHub (Nov 5, 2026): Thanks for taking the time to report this. Strata has changed a lot since this was opened, and 0.2.11 is out now, so many older reports no longer apply. We're closing issues older than a week that have had no new reports in the last week. Closed here does not mean rejected. To reopen it takes about two minutes: 1. Re-test on 0.2.11. It may already be fixed. Write down what you see. 2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other]. 3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system. 4. Comment `/reopen`. A check runs and either reopens the issue or lists what is still missing. The rules are in [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md).
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#1937
No description provided.