[GH-ISSUE #4292] [Engine] V100 (sm_70) 2-card layer split: engine 0.1.51 reads a 32K prompt ~5% slower than 0.1.43.1 (server ruled out by a crossed test) #1895

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

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

Area

[Engine]

Desktop app, Terminal or source?

Source (a serve/server.py start on a source-built engine; the engine compiled from the same checkout with setup.py --update)

Reproduction status

Reproduced locally

Strata version

v0.2.6 from source · engine 0.1.51 (source build, BUILD.json: archs [70], toolkit 12)
Previous: v0.1.43.1 (engine 0.1.43.1, same build settings)

Graphics card, memory and system

2x Tesla V100-SXM2-16GB (sm_70), driver 580.173.02, CUDA 12.9, Linux · Xeon E5-2696 v3 (Haswell, AVX2) · 125 GB DDR4 · 200 W power cap on both cards

Model, size and settings

Qwen3.8-Flash-Next GSQ-RCO IQ3_XXS native pack · --layer-split auto (CUDA0 0-24, CUDA1 25-47) · --expert-cache auto · --prefill auto (8192-token chunks, a 384-slot ring — identical in both versions) · --spec 4 --spec-min-p 0.5 · --kv int8 --kv-resident 32768 · --max-context 262144 · --remote-expert-opt · STRATA_SM70_TABLE=1 · STRATA_PF_WMMA unset

What happened

Reading a fixed 32,233-token prompt is about 5% slower on engine 0.1.51 than on 0.1.43.1, on the same PC, same day, same config, cold engine before each arm. Decode did not regress (if anything it improved); this is specifically the prompt path.

Three runs per arm, the service restarted before each arm so the engine reloads and the KV cache starts empty (the engine's own line says 0 reused), the same 32,233-token prompt with a unique prefix per run so the prefix cache cannot help:

arm engine prompt read, median of 3 runs
0.1.43.1 0.1.43.1 1766.3 tok/s 1756.9 / 1766.3 / 1769.1
0.2.6 0.1.51 1675.3 tok/s 1710.5 / 1671.5 / 1675.3

The old engine re-measured to 1766.3 on the same day, so this is not drift. The engine's own lines:

0.1.43.1: prompt 32233 tokens = 0 reused + 32233 read in 18347 ms (1756.9 tok/s)
0.1.51  : prompt 32233 tokens = 0 reused + 32233 read in 18844 ms (1710.5 tok/s)

The server is ruled out. #3667 shows that the 0.2.x serve/server.py costs ~30% on V100 short replies, so I crossed it on this box (same pack, same args, one variable at a time):

serve/server.py engine 32K prompt, median of 3
0.1.43.1 0.1.43.1 1766.3 tok/s
0.1.43.1 0.1.51 1679.7 tok/s
0.2.6 0.1.51 1675.3 tok/s

With the old server the new engine still reads the prompt at ~1680 tok/s, so the ~5% is in the engine, not in the server or the launcher.

STRATA_PF_WMMA changed sign on this pack. On 0.1.43.1 the FP16 tensor-core prompt path was faster (1817.8 with it on vs 1757.5 with it off, +3.4%); on 0.1.51 it is slower (1649.4 vs 1675.3, -1.5%). Same 32K prompt, same protocol, cold engine per arm. If that is the same change in the prompt path it may be a useful marker, so I am reporting both.

Excluded: thermal throttling (clocks_throttle_reasons.active = 0x0, 200 W on both cards, 46-49 °C), prompt chunk size (prompt chunk auto: 8192 tokens, a 384-slot ring in both versions), prefix-cache reuse (0 reused in every run), and the expert cache (both filled: 7351 slots on the shared line, 5197 on CUDA1).

Decode is not the problem. The same fixed 400-token greedy request measured 80.7-83.3 tok/s on 0.1.43.1 and 85.6-95.6 tok/s on 0.1.51; the spread is wide because the draft acceptance follows the generated text, but it did not fall.

Is this a known change in the sm_70 prompt path (a kernel selection, a chunk pipeline change, or part of the Volta/Pascal group that went into 0.1.46)? If it is not expected, is there a bisect hint between 0.1.43.1 and 0.1.51 for a 32K prompt on sm_70? I can also re-run any engine between the two if that helps narrow it down.

Originally created by @zhaochengggg on GitHub (Oct 27, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/4292 ### Area [Engine] ### Desktop app, Terminal or source? Source (a `serve/server.py` start on a source-built engine; the engine compiled from the same checkout with `setup.py --update`) ### Reproduction status Reproduced locally ### Strata version v0.2.6 from source · engine **0.1.51** (source build, `BUILD.json`: `archs [70]`, `toolkit 12`) Previous: v0.1.43.1 (engine **0.1.43.1**, same build settings) ### Graphics card, memory and system 2x Tesla V100-SXM2-16GB (sm_70), driver 580.173.02, CUDA 12.9, Linux · Xeon E5-2696 v3 (Haswell, AVX2) · 125 GB DDR4 · 200 W power cap on both cards ### Model, size and settings Qwen3.8-Flash-Next GSQ-RCO IQ3_XXS native pack · `--layer-split auto` (CUDA0 0-24, CUDA1 25-47) · `--expert-cache auto` · `--prefill auto` (8192-token chunks, a 384-slot ring — identical in both versions) · `--spec 4 --spec-min-p 0.5` · `--kv int8 --kv-resident 32768` · `--max-context 262144` · `--remote-expert-opt` · `STRATA_SM70_TABLE=1` · `STRATA_PF_WMMA` unset ### What happened Reading a fixed 32,233-token prompt is about **5% slower** on engine 0.1.51 than on 0.1.43.1, on the same PC, same day, same config, cold engine before each arm. Decode did not regress (if anything it improved); this is specifically the prompt path. Three runs per arm, the service restarted before each arm so the engine reloads and the KV cache starts empty (the engine's own line says `0 reused`), the same 32,233-token prompt with a unique prefix per run so the prefix cache cannot help: | arm | engine | prompt read, median of 3 | runs | | --- | --- | ---: | --- | | 0.1.43.1 | 0.1.43.1 | **1766.3 tok/s** | 1756.9 / 1766.3 / 1769.1 | | 0.2.6 | 0.1.51 | **1675.3 tok/s** | 1710.5 / 1671.5 / 1675.3 | The old engine re-measured to 1766.3 on the same day, so this is not drift. The engine's own lines: ``` 0.1.43.1: prompt 32233 tokens = 0 reused + 32233 read in 18347 ms (1756.9 tok/s) 0.1.51 : prompt 32233 tokens = 0 reused + 32233 read in 18844 ms (1710.5 tok/s) ``` **The server is ruled out.** #3667 shows that the 0.2.x `serve/server.py` costs ~30% on V100 short replies, so I crossed it on this box (same pack, same args, one variable at a time): | `serve/server.py` | engine | 32K prompt, median of 3 | | --- | --- | ---: | | 0.1.43.1 | 0.1.43.1 | 1766.3 tok/s | | **0.1.43.1** | **0.1.51** | **1679.7 tok/s** | | 0.2.6 | 0.1.51 | 1675.3 tok/s | With the old server the new engine still reads the prompt at ~1680 tok/s, so the ~5% is in the engine, not in the server or the launcher. **`STRATA_PF_WMMA` changed sign on this pack.** On 0.1.43.1 the FP16 tensor-core prompt path was faster (1817.8 with it on vs 1757.5 with it off, +3.4%); on 0.1.51 it is slower (1649.4 vs 1675.3, -1.5%). Same 32K prompt, same protocol, cold engine per arm. If that is the same change in the prompt path it may be a useful marker, so I am reporting both. **Excluded:** thermal throttling (`clocks_throttle_reasons.active` = `0x0`, 200 W on both cards, 46-49 °C), prompt chunk size (`prompt chunk auto: 8192 tokens, a 384-slot ring` in both versions), prefix-cache reuse (`0 reused` in every run), and the expert cache (both filled: 7351 slots on the shared line, 5197 on CUDA1). **Decode is not the problem.** The same fixed 400-token greedy request measured 80.7-83.3 tok/s on 0.1.43.1 and 85.6-95.6 tok/s on 0.1.51; the spread is wide because the draft acceptance follows the generated text, but it did not fall. Is this a known change in the sm_70 prompt path (a kernel selection, a chunk pipeline change, or part of the Volta/Pascal group that went into 0.1.46)? If it is not expected, is there a bisect hint between 0.1.43.1 and 0.1.51 for a 32K prompt on sm_70? I can also re-run any engine between the two if that helps narrow it down.
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:6660223034 --> @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#1895
No description provided.