[GH-ISSUE #4556] [Benchmark] Single 7900 XTX: tuning gives +45% prefill on 0.1.48, but decode has degraded from 60+ t/s (0.1.3x) to 34.8 t/s (0.1.48 default) #2059

Closed
opened 2026-11-04 01:56:19 +07:00 by bsakaguchi · 5 comments
Owner

Originally created by @wan0791 on GitHub (Oct 29, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4556

[gfx1100] Single 7900 XTX: tuning gives +45% prefill on 0.1.48, but decode has degraded from 60+ t/s (0.1.3x) to 34.8 t/s (0.1.48 default)

Summary / 摘要

Running Qwen3.8-Flash-Next IQ3_S on a single RX 7900 XTX 24 GB (gfx1100) in production. Two findings:

  1. Tuning the default 0.1.48 config gives +45% prefill (1021 → 1490 tok/s at 272K) — much more than the +7% reported in #1386 (which was a 2-card layer split). The switches STRATA_PF_GEMM=1 + --prefill auto:32768 are the main contributor.
  2. Decode throughput has degraded across versions on our machine: from 60+ tok/s on 0.1.3x builds down to 34.8 tok/s on 0.1.48 default. Tuning recovers only ~5.5% (to 36.7 tok/s). The 0.1.4x line appears to be a net regression for decode on this config.

I think this is useful for the gfx1100 user base, and the +45% prefill number is surprising enough that I wanted to report it before drawing conclusions.

Machine / 机器

Item Value
GPU 1× AMD Radeon RX 7900 XTX 24 GB (gfx1100), PCIe 3.0 x16
CPU 2× Intel Xeon E5-2630 v3 (16 cores / 32 threads each, old Haswell-EP, no AVX-512)
RAM 125 GB
OS Ubuntu 24.04, ROCm 6.4.2 (system), but the engine is the official self-contained hip-rx7900 0.1.48 package (ships its own LLVM 22 + hipBLASLt 100200)
Model Qwen3.8-Flash-Next-IQ3_S-uncensored (IQ3_S 54.8 GB + MTP 5.2 GB), --max-context 524288, --kv int8 --kv-resident 32768

Part 1: Tuning result on 0.1.48 (the good news)

Three arms, same 17 production args otherwise. Medians of 3 runs for decode; prefill is a single 272,071-token prompt.

Arm Env / args decode 256 tok (median) prefill 272K cache warm (300-word)
A: default (none) 34.8 tok/s 1021 tok/s 1.68–2.05 s
B+D STRATA_PF_GEMM=1 STRATA_PF_FUSED=1 + --prefill auto:32768 34.5 tok/s 1479 tok/s 2.13–2.30 s
E: full B+D + STRATA_ROUTE_TAIL_SKIP=7 36.7 tok/s 1490 tok/s 1.59–1.77 s

Gains vs default (E vs A): prefill +46%, decode +5.5%, cache −10% (faster).

Questions I cannot answer myself:

  • #1386 measured only +7% for STRATA_PF_GEMM on a 2-card gfx1100 layer split (0.1.40). We get +45% on a single card (0.1.48). Is the difference the single-vs-split topology, or our weak CPU / PCIe 3.0 making the "keep the prompt on the GPU, out of the CPU↔GPU round trips" path pay more?
  • Should STRATA_PF_GEMM=1 + a larger prefill chunk be the default for gfx1100 single-card (at least on weak-CPU boxes)? We see no quality change in normal use (we have not run a formal quality suite).
  • STRATA_ROUTE_TAIL_SKIP=7 is off by default on RDNA3. For us it gives +5.5% decode and faster cache. We noticed the wording of answers shifts slightly (expected, per the docs). Did you measure a quality delta for this specific value on gfx1100?

Part 2: Decode degradation across versions (the concerning part)

Same machine, same model family (IQ3_S), decode throughput for a 256-token answer:

Build decode (256 tok) prefill source / note
0.1.38 (ROCm 10.2, hipBLASLt 100500 table) ~88 tok/s 1687 tok/s community 7900 XTX, 128K, --spec 3
0.1.40 (Win11, 192 GB) 77–80 tok/s 1612 tok/s community 7900 XTX, 262K
0.1.45 (our own build, hip710 + ROCm 10.1) 58–61 tok/s (80-tok) — our 10-24 A/B test
0.1.48 default (official hip-rx7900) 34.8 tok/s (256-tok) 1021 tok/s our 10-28 test
0.1.48 + tuning (arm E above) 36.7 tok/s (256-tok) 1490 tok/s our 10-28 test

⚠️ Caveat — these are not like-for-like. The rows come from different builds, some self-built, different context lengths (128K/262K/524K), different hipBLASLt tables (100500 vs 100200), and different prompt lengths for the decode sample. The 88 and 77–80 tok/s rows are community numbers from the #2828 / #1386 threads, not measured by us on this exact box. The 0.1.45 → 0.1.48 drop is from our own A/B on the same box and is the most reliable datapoint.

What I can say with confidence:

  • On our box, 0.1.48 default is materially slower to decode than 0.1.45 (39.5 vs 43 tok/s at 512 tok in the 10-24 A/B; 34.8 tok/s at 256 tok in the 10-28 tuning test).
  • The tuning above recovers only a small fraction of the gap to the 0.1.3x community numbers.

So the question for the maintainers: is there a known decode regression between 0.1.3x and 0.1.4x on gfx1100 single-card? Or is it the hipBLASLt 100200 table shipped in the 0.1.48 package (vs the 100500 table the 0.1.3x community builds used) that is costing us here? We are happy to A/B any switch or table you point us at.

Reproduction

Tuning arm E (the one we run in production now):

# systemd unit environment
Environment=STRATA_PF_GEMM=1
Environment=STRATA_PF_FUSED=1
Environment=STRATA_ROUTE_TAIL_SKIP=7
// profile args (17 production args, the only change is --prefill)
"--prefill", "auto:32768"

Everything else is the stock production profile: --serve --pack <iq3_s> --native <gguf-1> --ple-gguf <gguf-2> --expert-profile <bin> --expert-cache auto --kv int8 --kv-grow --kv-resident 32768 --max-context 524288 --ple-io ram --resident-experts --mtp <rt> --spec 4 --spec-min-p 0.5 --rope-scaling none --rope-scale 1 --adapt-every 0 --adapt-async 1 --vision.

Happy to share the raw timing logs if useful — can paste them into the issue.


中文摘要

在**单张 RX 7900 XTX 24 GB(gfx1100)**上跑 Qwen3.8-Flash-Next IQ3_S 生产环境,两个发现:

  1. 对 0.1.48 默认配置调优后 prefill +45%(272K 从 1021 → 1490 tok/s)——远高于 #1386 报告的 +7%(那是双卡 layer split)。主要贡献是 STRATA_PF_GEMM=1 + --prefill auto:32768。
  2. decode 吞吐随版本下降:我们这台机器从 0.1.3x 的 60+ tok/s 降到 0.1.48 默认的 34.8 tok/s。调优只能找回约 5.5%(到 36.7 tok/s)。0.1.4x 这一代对我们这套配置来说 decode 是净回退。

机器

  • GPU:1× RX 7900 XTX 24 GB(gfx1100),PCIe 3.0 x16
  • CPU:2× Xeon E5-2630 v3(老 Haswell-EP,无 AVX-512)
  • 内存 125 GB,Ubuntu 24.04,ROCm 6.4.2
  • 引擎:官方 0.1.48 hip-rx7900 自包含包(自带 LLVM 22 + hipBLASLt 100200)
  • 模型:IQ3_S 54.8 GB + MTP,--max-context 524288 --kv int8 --kv-resident 32768

调优结果(0.1.48,三组对照,decode 取 3 次中位,prefill 为单次 272,071 token)

组 配置 decode 256 prefill 272K cache warm
A 默认 无 34.8 tok/s 1021 tok/s 1.68–2.05 s
B+D PF_GEMM+PF_FUSED+32K 分块 34.5 tok/s 1479 tok/s 2.13–2.30 s
E 全开 B+D + TAIL_SKIP=7 36.7 tok/s 1490 tok/s 1.59–1.77 s

E vs A:prefill +46%、decode +5.5%、cache 快 10%。

想请教的问题:

  • #1386 在双卡 layer split 上测 STRATA_PF_GEMM 只有 +7%,我们单卡是 +45%。差异是拓扑(单卡 vs 双卡)还是我们的弱 CPU / PCIe 3.0 让"prompt 留在 GPU、减少 CPU↔GPU 往返"这条路收益放大?
  • gfx1100 单卡(尤其弱 CPU 机器)是否应该把 STRATA_PF_GEMM=1 + 更大 prefill 分块设为默认?
  • STRATA_ROUTE_TAIL_SKIP=7 在 RDNA3 默认关,我们测到 decode +5.5% 且 cache 更快,答案措辞略有差异(文档预期内)。你们在 gfx1100 上对这个值有测过质量差异吗?

decode 跨版本下降(需要留意)

同机器、同模型族(IQ3_S),256 token 回答的 decode 吞吐:

构建 decode 256 prefill 来源 / 说明
0.1.38(ROCm 10.2,hipBLASLt 100500 表) ~88 tok/s 1687 tok/s 社区 7900 XTX,128K,--spec 3
0.1.40(Win11,192 GB) 77–80 tok/s 1612 tok/s 社区 7900 XTX,262K
0.1.45(我们自编,hip710 + ROCm 10.1) 58–61 tok/s (80-tok) — 我们 10-24 A/B 测试
0.1.48 默认(官方 hip-rx7900) 34.8 tok/s (256-tok) 1021 tok/s 我们 10-28 测试
0.1.48 + 调优(上面 E 组) 36.7 tok/s (256-tok) 1490 tok/s 我们 10-28 测试

⚠️ 注意——这些不是同口径对比。 各行来自不同构建(部分自编)、不同上下文长度(128K/262K/524K)、不同 hipBLASLt 表(100500 vs 100200)、不同 decode 采样 prompt 长度。88 和 77–80 tok/s 两行是 #2828 / #1386 帖子里的社区数字,不是我们在同一台机器上实测的。0.1.45 → 0.1.48 的下降来自我们自己在同一台机器上的 A/B,是最可靠的数据点。

可以确定的:

  • 在我们这台机器上,0.1.48 默认 decode 明显比 0.1.45 慢(10-24 A/B:512 tok 下 39.5 vs 43 tok/s;10-28 调优测试:256 tok 下 34.8 tok/s)。
  • 上面的调优只能找回与 0.1.3x 社区数字之间差距的一小部分。

所以想问维护者:gfx1100 单卡上 0.1.3x 到 0.1.4x 之间是否有已知的 decode 回退? 还是说 0.1.48 包自带的 hipBLASLt 100200 表(vs 0.1.3x 社区构建用的 100500 表)在这里让我们吃了亏?你们指定任何开关或表,我们都可以 A/B。

Originally created by @wan0791 on GitHub (Oct 29, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/4556 # [gfx1100] Single 7900 XTX: tuning gives +45% prefill on 0.1.48, but decode has degraded from 60+ t/s (0.1.3x) to 34.8 t/s (0.1.48 default) ## Summary / 摘要 Running Qwen3.8-Flash-Next IQ3_S on a **single RX 7900 XTX 24 GB (gfx1100)** in production. Two findings: 1. **Tuning the default 0.1.48 config gives +45% prefill** (1021 → 1490 tok/s at 272K) — much more than the +7% reported in #1386 (which was a 2-card layer split). The switches `STRATA_PF_GEMM=1` + `--prefill auto:32768` are the main contributor. 2. **Decode throughput has degraded across versions** on our machine: from **60+ tok/s** on 0.1.3x builds down to **34.8 tok/s** on 0.1.48 default. Tuning recovers only ~5.5% (to 36.7 tok/s). The 0.1.4x line appears to be a net regression for decode on this config. I think this is useful for the gfx1100 user base, and the +45% prefill number is surprising enough that I wanted to report it before drawing conclusions. ## Machine / 机器 | Item | Value | |---|---| | GPU | 1× AMD Radeon RX 7900 XTX 24 GB (gfx1100), PCIe **3.0 x16** | | CPU | 2× Intel Xeon E5-2630 v3 (16 cores / 32 threads each, **old Haswell-EP, no AVX-512**) | | RAM | 125 GB | | OS | Ubuntu 24.04, ROCm 6.4.2 (system), but the engine is the **official self-contained `hip-rx7900` 0.1.48 package** (ships its own LLVM 22 + hipBLASLt 100200) | | Model | Qwen3.8-Flash-Next-IQ3_S-uncensored (IQ3_S 54.8 GB + MTP 5.2 GB), `--max-context 524288`, `--kv int8 --kv-resident 32768` | ## Part 1: Tuning result on 0.1.48 (the good news) Three arms, same 17 production args otherwise. Medians of 3 runs for decode; prefill is a single 272,071-token prompt. | Arm | Env / args | decode 256 tok (median) | prefill 272K | cache warm (300-word) | |---|---|---|---|---| | A: default | (none) | 34.8 tok/s | 1021 tok/s | 1.68–2.05 s | | B+D | `STRATA_PF_GEMM=1` `STRATA_PF_FUSED=1` + `--prefill auto:32768` | 34.5 tok/s | **1479 tok/s** | 2.13–2.30 s | | E: full | B+D + `STRATA_ROUTE_TAIL_SKIP=7` | **36.7 tok/s** | **1490 tok/s** | **1.59–1.77 s** | **Gains vs default (E vs A): prefill +46%, decode +5.5%, cache −10% (faster).** Questions I cannot answer myself: - **#1386 measured only +7% for `STRATA_PF_GEMM`** on a *2-card* gfx1100 layer split (0.1.40). We get **+45%** on a *single* card (0.1.48). Is the difference the single-vs-split topology, or our weak CPU / PCIe 3.0 making the "keep the prompt on the GPU, out of the CPU↔GPU round trips" path pay more? - Should `STRATA_PF_GEMM=1` + a larger prefill chunk be the **default for gfx1100 single-card** (at least on weak-CPU boxes)? We see no quality change in normal use (we have not run a formal quality suite). - `STRATA_ROUTE_TAIL_SKIP=7` is off by default on RDNA3. For us it gives +5.5% decode **and** faster cache. We noticed the wording of answers shifts slightly (expected, per the docs). Did you measure a quality delta for this specific value on gfx1100? ## Part 2: Decode degradation across versions (the concerning part) Same machine, same model family (IQ3_S), decode throughput for a 256-token answer: | Build | decode (256 tok) | prefill | source / note | |---|---|---|---| | 0.1.38 (ROCm 10.2, hipBLASLt 100500 table) | **~88 tok/s** | 1687 tok/s | community 7900 XTX, 128K, `--spec 3` | | 0.1.40 (Win11, 192 GB) | **77–80 tok/s** | 1612 tok/s | community 7900 XTX, 262K | | 0.1.45 (our own build, hip710 + ROCm 10.1) | 58–61 tok/s (80-tok) | — | our 10-24 A/B test | | 0.1.48 default (official hip-rx7900) | **34.8 tok/s** (256-tok) | 1021 tok/s | our 10-28 test | | 0.1.48 + tuning (arm E above) | **36.7 tok/s** (256-tok) | 1490 tok/s | our 10-28 test | > ⚠️ **Caveat — these are not like-for-like.** The rows come from different builds, some self-built, different context lengths (128K/262K/524K), different hipBLASLt tables (100500 vs 100200), and different prompt lengths for the decode sample. The 88 and 77–80 tok/s rows are community numbers from the #2828 / #1386 threads, not measured by us on this exact box. The 0.1.45 → 0.1.48 drop is from our own A/B on the same box and is the most reliable datapoint. What I can say with confidence: - **On our box, 0.1.48 default is materially slower to decode than 0.1.45** (39.5 vs 43 tok/s at 512 tok in the 10-24 A/B; 34.8 tok/s at 256 tok in the 10-28 tuning test). - The tuning above recovers only a small fraction of the gap to the 0.1.3x community numbers. So the question for the maintainers: **is there a known decode regression between 0.1.3x and 0.1.4x on gfx1100 single-card?** Or is it the hipBLASLt 100200 table shipped in the 0.1.48 package (vs the 100500 table the 0.1.3x community builds used) that is costing us here? We are happy to A/B any switch or table you point us at. ## Reproduction Tuning arm E (the one we run in production now): ```ini # systemd unit environment Environment=STRATA_PF_GEMM=1 Environment=STRATA_PF_FUSED=1 Environment=STRATA_ROUTE_TAIL_SKIP=7 ``` ```json // profile args (17 production args, the only change is --prefill) "--prefill", "auto:32768" ``` Everything else is the stock production profile: `--serve --pack <iq3_s> --native <gguf-1> --ple-gguf <gguf-2> --expert-profile <bin> --expert-cache auto --kv int8 --kv-grow --kv-resident 32768 --max-context 524288 --ple-io ram --resident-experts --mtp <rt> --spec 4 --spec-min-p 0.5 --rope-scaling none --rope-scale 1 --adapt-every 0 --adapt-async 1 --vision`. Happy to share the raw timing logs if useful — can paste them into the issue. --- ## 中文摘要 在**单张 RX 7900 XTX 24 GB(gfx1100)**上跑 Qwen3.8-Flash-Next IQ3_S 生产环境,两个发现: 1. **对 0.1.48 默认配置调优后 prefill +45%**(272K 从 1021 → 1490 tok/s)——远高于 #1386 报告的 +7%(那是双卡 layer split)。主要贡献是 `STRATA_PF_GEMM=1` + `--prefill auto:32768`。 2. **decode 吞吐随版本下降**:我们这台机器从 0.1.3x 的 **60+ tok/s** 降到 0.1.48 默认的 **34.8 tok/s**。调优只能找回约 5.5%(到 36.7 tok/s)。0.1.4x 这一代对我们这套配置来说 decode 是净回退。 ### 机器 - GPU:1× RX 7900 XTX 24 GB(gfx1100),PCIe 3.0 x16 - CPU:2× Xeon E5-2630 v3(老 Haswell-EP,无 AVX-512) - 内存 125 GB,Ubuntu 24.04,ROCm 6.4.2 - 引擎:**官方 0.1.48 `hip-rx7900` 自包含包**(自带 LLVM 22 + hipBLASLt 100200) - 模型:IQ3_S 54.8 GB + MTP,`--max-context 524288 --kv int8 --kv-resident 32768` ### 调优结果(0.1.48,三组对照,decode 取 3 次中位,prefill 为单次 272,071 token) | 组 | 配置 | decode 256 | prefill 272K | cache warm | |---|---|---|---|---| | A 默认 | 无 | 34.8 tok/s | 1021 tok/s | 1.68–2.05 s | | B+D | PF_GEMM+PF_FUSED+32K 分块 | 34.5 tok/s | **1479 tok/s** | 2.13–2.30 s | | E 全开 | B+D + TAIL_SKIP=7 | **36.7 tok/s** | **1490 tok/s** | **1.59–1.77 s** | **E vs A:prefill +46%、decode +5.5%、cache 快 10%。** 想请教的问题: - #1386 在**双卡** layer split 上测 `STRATA_PF_GEMM` 只有 +7%,我们**单卡**是 +45%。差异是拓扑(单卡 vs 双卡)还是我们的弱 CPU / PCIe 3.0 让"prompt 留在 GPU、减少 CPU↔GPU 往返"这条路收益放大? - gfx1100 单卡(尤其弱 CPU 机器)是否应该把 `STRATA_PF_GEMM=1` + 更大 prefill 分块设为**默认**? - `STRATA_ROUTE_TAIL_SKIP=7` 在 RDNA3 默认关,我们测到 decode +5.5% 且 cache 更快,答案措辞略有差异(文档预期内)。你们在 gfx1100 上对这个值有测过质量差异吗? ### decode 跨版本下降(需要留意) 同机器、同模型族(IQ3_S),256 token 回答的 decode 吞吐: | 构建 | decode 256 | prefill | 来源 / 说明 | |---|---|---|---| | 0.1.38(ROCm 10.2,hipBLASLt 100500 表) | **~88 tok/s** | 1687 tok/s | 社区 7900 XTX,128K,`--spec 3` | | 0.1.40(Win11,192 GB) | **77–80 tok/s** | 1612 tok/s | 社区 7900 XTX,262K | | 0.1.45(我们自编,hip710 + ROCm 10.1) | 58–61 tok/s (80-tok) | — | 我们 10-24 A/B 测试 | | 0.1.48 默认(官方 hip-rx7900) | **34.8 tok/s** (256-tok) | 1021 tok/s | 我们 10-28 测试 | | 0.1.48 + 调优(上面 E 组) | **36.7 tok/s** (256-tok) | 1490 tok/s | 我们 10-28 测试 | > ⚠️ **注意——这些不是同口径对比。** 各行来自不同构建(部分自编)、不同上下文长度(128K/262K/524K)、不同 hipBLASLt 表(100500 vs 100200)、不同 decode 采样 prompt 长度。88 和 77–80 tok/s 两行是 #2828 / #1386 帖子里的社区数字,不是我们在同一台机器上实测的。0.1.45 → 0.1.48 的下降来自我们自己在同一台机器上的 A/B,是最可靠的数据点。 可以确定的: - **在我们这台机器上,0.1.48 默认 decode 明显比 0.1.45 慢**(10-24 A/B:512 tok 下 39.5 vs 43 tok/s;10-28 调优测试:256 tok 下 34.8 tok/s)。 - 上面的调优只能找回与 0.1.3x 社区数字之间差距的一小部分。 所以想问维护者:**gfx1100 单卡上 0.1.3x 到 0.1.4x 之间是否有已知的 decode 回退?** 还是说 0.1.48 包自带的 hipBLASLt 100200 表(vs 0.1.3x 社区构建用的 100500 表)在这里让我们吃了亏?你们指定任何开关或表,我们都可以 A/B。
Author
Owner

@github-actions[bot] commented on GitHub (Oct 29, 2026):

Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:

  • Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes".

Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment /reopen.

Details: CONTRIBUTING.md

<!-- gh-comment-id:6484981069 --> @github-actions[bot] commented on GitHub (Oct 29, 2026): Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing: - [ ] Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes". Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment `/reopen`. Details: [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md)
Author
Owner

@github-actions[bot] commented on GitHub (Oct 29, 2026):

Thanks, this follows the format now.

<!-- gh-comment-id:6485388885 --> @github-actions[bot] commented on GitHub (Oct 29, 2026): Thanks, this follows the format now.
Author
Owner

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

Thank you for measuring this and writing it up. The decode slowdown you measured between the 0.1.3x builds and 0.1.48 is on our list for the next update. We are building a Strata website with a page for community benchmarks, and results like these will be added there when it launches, so we are closing this here. If your numbers change with a new version, you are welcome to post them again.

感谢你测量并整理了这份报告。你测到的从 0.1.3x 构建到 0.1.48 的解码速度下降已列入我们下一次更新的待办清单。我们正在建设 Strata 网站,其中有一个社区基准测试页面,这类结果会在网站上线时添加到那里,所以我们在这里关闭此条目。如果新版本下你的数据有变化,欢迎再次发布。

<!-- gh-comment-id:6495603668 --> @Niko1221 commented on GitHub (Oct 29, 2026): Thank you for measuring this and writing it up. The decode slowdown you measured between the 0.1.3x builds and 0.1.48 is on our list for the next update. We are building a Strata website with a page for community benchmarks, and results like these will be added there when it launches, so we are closing this here. If your numbers change with a new version, you are welcome to post them again. 感谢你测量并整理了这份报告。你测到的从 0.1.3x 构建到 0.1.48 的解码速度下降已列入我们下一次更新的待办清单。我们正在建设 Strata 网站,其中有一个社区基准测试页面,这类结果会在网站上线时添加到那里,所以我们在这里关闭此条目。如果新版本下你的数据有变化,欢迎再次发布。
Author
Owner

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

We measured the tail skip on its own on an RTX 3060, a Tesla P100 and two RTX A4000s. We have not measured it on a 7900 XTX; the setting works the same way there, but the numbers below are from NVIDIA cards.

On the model's own text it changes the words a little: the mean KL is 0.006 to 0.012, and the top choice is the same 97% of the time. On long human-written text the shift is larger (KL 0.07 to 0.27). On our 61-task suite it made no difference: 52 tasks passed with it, and 51 and 53 in two runs without it, with no repetition and no change in the copy-exact answers. It makes decode about 12% faster on cards that miss experts. It stays off by default on RDNA3.

If you find a prompt where the answers are worse with it, please send the prompt and both outputs.

我们在 RTX 3060、Tesla P100 和两张 RTX A4000 上单独测量了 tail skip。我们没有在 7900 XTX 上测过;这个设置在那里的工作方式相同,但下面的数字来自 NVIDIA 显卡。

在模型自己生成的文本上,它对用词的影响很小:平均 KL 为 0.006 到 0.012,97% 的情况下首选词相同。在较长的人类撰写文本上偏移更大(KL 0.07 到 0.27)。在我们的 61 项任务测试中没有差别:开启时通过 52 项,关闭时两次分别通过 51 和 53 项,没有重复输出,逐字复制类答案也没有变化。在需要换入专家的显卡上,它能让解码快约 12%。在 RDNA3 上它仍然默认关闭。

如果你发现某个提示在开启后答案变差,请把提示和两次输出发给我们。

<!-- gh-comment-id:6497899894 --> @Niko1221 commented on GitHub (Oct 29, 2026): We measured the tail skip on its own on an RTX 3060, a Tesla P100 and two RTX A4000s. We have not measured it on a 7900 XTX; the setting works the same way there, but the numbers below are from NVIDIA cards. On the model's own text it changes the words a little: the mean KL is 0.006 to 0.012, and the top choice is the same 97% of the time. On long human-written text the shift is larger (KL 0.07 to 0.27). On our 61-task suite it made no difference: 52 tasks passed with it, and 51 and 53 in two runs without it, with no repetition and no change in the copy-exact answers. It makes decode about 12% faster on cards that miss experts. It stays off by default on RDNA3. If you find a prompt where the answers are worse with it, please send the prompt and both outputs. 我们在 RTX 3060、Tesla P100 和两张 RTX A4000 上单独测量了 tail skip。我们没有在 7900 XTX 上测过;这个设置在那里的工作方式相同,但下面的数字来自 NVIDIA 显卡。 在模型自己生成的文本上,它对用词的影响很小:平均 KL 为 0.006 到 0.012,97% 的情况下首选词相同。在较长的人类撰写文本上偏移更大(KL 0.07 到 0.27)。在我们的 61 项任务测试中没有差别:开启时通过 52 项,关闭时两次分别通过 51 和 53 项,没有重复输出,逐字复制类答案也没有变化。在需要换入专家的显卡上,它能让解码快约 12%。在 RDNA3 上它仍然默认关闭。 如果你发现某个提示在开启后答案变差,请把提示和两次输出发给我们。
Author
Owner

@wan0791 commented on GitHub (Oct 31, 2026):

Reporter update (gfx1100 / RX 7900 XTX): engine 0.1.55 with the tuning from this issue now gives 46–50 tok/s decode.

Following the note at close ("If your numbers change with a new version, you are welcome to post them again"), I benchmarked the official hip-rx7900 prebuilt 0.1.55 (app 0.2.9) on the same machine with the same 17 production args as the original post.

Machine unchanged: 1× RX 7900 XTX 24 GB (gfx1100), PCIe 3.0 x16, 2× Xeon E5-2630 v3 (AVX2 only, no AVX-512), 125 GB RAM, Ubuntu 24.04; Qwen3.8-Flash-Next IQ3_S + MTP, --max-context 524288, --kv int8 --kv-resident 32768. Both arms run the official self-contained packages; per BUILD.json both are hipBLASLt 100200 with the same gfx1100-hipblaslt-100200.txt table — so BLAS is not the variable, the engine version is.

Each arm is a fresh engine start; decode = median of 3 × 256-token replies (same coding prompt); prefill = one 272,071-token prompt (max_tokens=20); cache = the same ~300-word prompt timed after one warm call.

Arm Engine Config Load decode 256 (median of 3) prefill 272K cache warm
A 0.1.48 full tune 162 s 38.5 t/s 1518 t/s 1.54–1.57 s
B 0.1.55 stock defaults 141 s 33.9 t/s 1019 t/s 1.98–2.10 s
C1 0.1.55 full tune 161 s 46.2 t/s 1495 t/s 1.62–1.76 s
C2 0.1.55 full tune (re-run) 154 s 49.6 t/s 1484 t/s 1.42–1.65 s

"full tune" = STRATA_PF_GEMM=1, STRATA_PF_FUSED=1, STRATA_ROUTE_TAIL_SKIP=7, --prefill auto:32768 — exactly the switches from this issue.

What I read from this:

  • The tuning pays far more on 0.1.55. Default→tuned decode gain was +11% on 0.1.48 (34.8 → 38.5; note the 0.1.48 stock arm was measured on 10-28, so that pair spans days), but +41% on 0.1.55 measured the same day (33.9 → 46.2 / 49.6, two independent starts). C vs A on the same day: +21% to +29%.
  • At stock defaults 0.1.55 ≈ 0.1.48 (33.9 vs 34.8, −2.6%) and prefill matches too (1019 vs 1021), so this reads as the tuned path (PF_GEMM / PF_FUSED / tail skip) becoming more effective on 0.1.55, rather than the decode regression fix itself — the 0.1.3x-era 77–80 t/s is still ~40% above.
  • prefill and cache between 0.1.48-tuned and 0.1.55-tuned are unchanged within noise; 0.1.55 starts 8–20 s faster.
  • Run spread on this box is wide (single runs ranged 21.9–51.2 tok/s); the first run after each start is consistently the slowest — medians above, not means.
  • The 0.1.55 rx7900 package is marked "built and checked, but not run through a model" — this is the gfx1100 real-hardware check: text, GPU vision (strata-vision-hip) and prompt cache all work on 0.1.55.
  • STRATA_ROUTE_TAIL_SKIP=7 behaves as your note describes (small wording shifts on some prompts); on this box it still adds decode and cache.

I have switched production to 0.1.55 with the same tuning. I will post again if the 400K-prompt long-context behavior differs from 0.1.48.


报告人跟进(gfx1100 / RX 7900 XTX):按本帖方法调优的 0.1.55,decode 已到 46–50 tok/s。

按关帖时"新版本下数据有变化欢迎再发"的说明,我在同一台机器、同一套 17 个生产参数上实测了官方预编译 hip-rx7900 0.1.55(app 0.2.9)。机器同前帖:单张 7900 XTX 24GB(gfx1100)、PCIe 3.0 x16、双 E5-2630 v3(仅 AVX2、无 AVX-512)、125GB RAM、Ubuntu 24.04;IQ3_S + MTP、524K 上下文、--kv int8 --kv-resident 32768。两版都按 BUILD.json 为 hipBLASLt 100200、同一张 tuning 表——BLAS 不是变量,唯一变量是引擎版本。每组均为全新启动;decode = 3 次 256-token 回答取中位;prefill = 单次 272,071 token(max_tokens=20);cache = 预热 1 次后同 prompt 计时。结果见上表。

要点:

  • 调优开关在 0.1.55 上收益显著放大:默认→全调优的 decode 增益,0.1.48 为 +11%(34.8→38.5,0.1.48 默认组是 10-28 测的,跨天);0.1.55 同日实测为 +41%(33.9 → 46.2 / 49.6,两次独立启动复现)。同日 C 对比 A:+21%~29%。
  • 默认配置上 0.1.55 ≈ 0.1.48(33.9 vs 34.8,−2.6%;prefill 1019 vs 1021 持平),说明这次改善更像"调优路径在 0.1.55 上更有效",而不是 decode 回退本身的修复——0.1.3x 时代的 77–80 t/s 仍差约 40%。
  • 0.1.48 调优 vs 0.1.55 调优:prefill 与 cache 在噪声范围内持平;0.1.55 启动快 8–20s。
  • 本机单次波动较大(21.9–51.2),每次启动后首轮最慢,表里取中位。
  • 0.1.55 rx7900 包标注"已构建校验、我们未跑过模型"——本条即 gfx1100 真机验证:文本、GPU vision(strata-vision-hip)、prompt cache 全部正常。
  • STRATA_ROUTE_TAIL_SKIP=7 的表现与你们回复一致(个别 prompt 措辞小幅变化);本机仍带来 decode 与 cache 增益。

生产已切到 0.1.55 全调优。如果 40 万 token 长上下文行为与 0.1.48 有差异,我会再来追报。

<!-- gh-comment-id:6546819406 --> @wan0791 commented on GitHub (Oct 31, 2026): **Reporter update (gfx1100 / RX 7900 XTX): engine 0.1.55 with the tuning from this issue now gives 46–50 tok/s decode.** Following the note at close ("If your numbers change with a new version, you are welcome to post them again"), I benchmarked the official `hip-rx7900` prebuilt **0.1.55** (app 0.2.9) on the same machine with the same 17 production args as the original post. Machine unchanged: 1× RX 7900 XTX 24 GB (gfx1100), PCIe 3.0 x16, 2× Xeon E5-2630 v3 (AVX2 only, no AVX-512), 125 GB RAM, Ubuntu 24.04; Qwen3.8-Flash-Next IQ3_S + MTP, `--max-context 524288`, `--kv int8 --kv-resident 32768`. Both arms run the official self-contained packages; per `BUILD.json` both are hipBLASLt **100200** with the same `gfx1100-hipblaslt-100200.txt` table — so BLAS is not the variable, the engine version is. Each arm is a fresh engine start; decode = median of 3 × 256-token replies (same coding prompt); prefill = one 272,071-token prompt (`max_tokens=20`); cache = the same ~300-word prompt timed after one warm call. | Arm | Engine | Config | Load | decode 256 (median of 3) | prefill 272K | cache warm | |---|---|---|---|---|---|---| | A | 0.1.48 | full tune | 162 s | 38.5 t/s | 1518 t/s | 1.54–1.57 s | | B | 0.1.55 | stock defaults | 141 s | 33.9 t/s | 1019 t/s | 1.98–2.10 s | | C1 | 0.1.55 | full tune | 161 s | 46.2 t/s | 1495 t/s | 1.62–1.76 s | | C2 | 0.1.55 | full tune (re-run) | 154 s | 49.6 t/s | 1484 t/s | 1.42–1.65 s | "full tune" = `STRATA_PF_GEMM=1`, `STRATA_PF_FUSED=1`, `STRATA_ROUTE_TAIL_SKIP=7`, `--prefill auto:32768` — exactly the switches from this issue. What I read from this: - **The tuning pays far more on 0.1.55.** Default→tuned decode gain was +11% on 0.1.48 (34.8 → 38.5; note the 0.1.48 stock arm was measured on 10-28, so that pair spans days), but **+41% on 0.1.55 measured the same day** (33.9 → 46.2 / 49.6, two independent starts). C vs A on the same day: **+21% to +29%**. - **At stock defaults 0.1.55 ≈ 0.1.48** (33.9 vs 34.8, −2.6%) and prefill matches too (1019 vs 1021), so this reads as the tuned path (PF_GEMM / PF_FUSED / tail skip) becoming more effective on 0.1.55, rather than the decode regression fix itself — the 0.1.3x-era 77–80 t/s is still ~40% above. - prefill and cache between 0.1.48-tuned and 0.1.55-tuned are unchanged within noise; 0.1.55 starts 8–20 s faster. - Run spread on this box is wide (single runs ranged 21.9–51.2 tok/s); the first run after each start is consistently the slowest — medians above, not means. - The 0.1.55 rx7900 package is marked "built and checked, but not run through a model" — **this is the gfx1100 real-hardware check**: text, GPU vision (`strata-vision-hip`) and prompt cache all work on 0.1.55. - `STRATA_ROUTE_TAIL_SKIP=7` behaves as your note describes (small wording shifts on some prompts); on this box it still adds decode and cache. I have switched production to 0.1.55 with the same tuning. I will post again if the 400K-prompt long-context behavior differs from 0.1.48. --- **报告人跟进(gfx1100 / RX 7900 XTX):按本帖方法调优的 0.1.55,decode 已到 46–50 tok/s。** 按关帖时"新版本下数据有变化欢迎再发"的说明,我在**同一台机器、同一套 17 个生产参数**上实测了官方预编译 `hip-rx7900` **0.1.55**(app 0.2.9)。机器同前帖:单张 7900 XTX 24GB(gfx1100)、PCIe 3.0 x16、双 E5-2630 v3(仅 AVX2、无 AVX-512)、125GB RAM、Ubuntu 24.04;IQ3_S + MTP、524K 上下文、`--kv int8 --kv-resident 32768`。两版都按 `BUILD.json` 为 hipBLASLt **100200**、同一张 tuning 表——BLAS 不是变量,唯一变量是引擎版本。每组均为全新启动;decode = 3 次 256-token 回答取中位;prefill = 单次 272,071 token(`max_tokens=20`);cache = 预热 1 次后同 prompt 计时。结果见上表。 要点: - **调优开关在 0.1.55 上收益显著放大**:默认→全调优的 decode 增益,0.1.48 为 +11%(34.8→38.5,0.1.48 默认组是 10-28 测的,跨天);0.1.55 同日实测为 **+41%**(33.9 → 46.2 / 49.6,两次独立启动复现)。同日 C 对比 A:**+21%~29%**。 - **默认配置上 0.1.55 ≈ 0.1.48**(33.9 vs 34.8,−2.6%;prefill 1019 vs 1021 持平),说明这次改善更像"调优路径在 0.1.55 上更有效",而不是 decode 回退本身的修复——0.1.3x 时代的 77–80 t/s 仍差约 40%。 - 0.1.48 调优 vs 0.1.55 调优:prefill 与 cache 在噪声范围内持平;0.1.55 启动快 8–20s。 - 本机单次波动较大(21.9–51.2),每次启动后首轮最慢,表里取中位。 - 0.1.55 rx7900 包标注"已构建校验、我们未跑过模型"——**本条即 gfx1100 真机验证**:文本、GPU vision(`strata-vision-hip`)、prompt cache 全部正常。 - `STRATA_ROUTE_TAIL_SKIP=7` 的表现与你们回复一致(个别 prompt 措辞小幅变化);本机仍带来 decode 与 cache 增益。 生产已切到 0.1.55 全调优。如果 40 万 token 长上下文行为与 0.1.48 有差异,我会再来追报。
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#2059
No description provided.