[PR #628] [CLOSED] bench: report Coder IQ1_M on Threadripper 3990X and RX 6900 XT #2730

Closed
opened 2026-11-04 02:02:43 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/628
Author: @Yasei-no-otoko
Created: 10/3/2026
Status: ❌ Closed

Base: main ← Head: bench/rx6900xt-coder-2026-10-03


📝 Commits (10+)

  • 8f5148c CS-T: the partial pin at most 24 GiB (STRATA_PARTIAL_PIN_GIB), the Q4_K/Q5_1/Q8_0 multi-token kernels from two tokens on
  • 5ffda19 CS-T: the GGUF-in-place prefetch asks Windows for all of a layer's missed slices at once (PrefetchVirtualMemory)
  • ed6c124 #253: the 8 GiB arena pin cap only under WDDM; STRATA_ARENA_PIN_GIB; the split's prompt chunk steps down
  • 450149d --split-skip-if-fits (opt-in): an auto split runs on the main card alone when it holds every profiled expert + KV
  • 6926e0b Merge branch 'f-131-amd' into r131-amd
  • c7aa3e5 Revert #257 (AVX2 two-block Q2_0 unpack): bit-exact but not faster on an AVX2-only CPU (Ryzen 9 3900X: gate/up -2.6..-4.7% at 1 token, down -3..-5% at 2 tokens)
  • 2736bd0 CS-T: the partial pin locks only what it does not register and ends at an expert boundary; the Q4_K/Q5_1/Q8_0 multi-token kernels opt-in (STRATA_KQ256=1)
  • de3f045 decode: hyper-connection read in 2 kernels - norm folded into a stream-split down kernel (164 blocks), rs/lo/inject in up's prologue (STRATA_GR_V3=0 = old)
  • 8895c12 decode: hc read v3 is opt-in (STRATA_GR_V3=1: another summation order); its shared memory is sized from the card's opt-in limit - one or two column halves, else the default kernels (Turing/HIP 64 KB fit with two; capability-based split as proposed by @Adamyno); the neutral knobs (DOWN_R2, UP_PF, KSPLIT) dropped (review)
  • 1508caa tests (#264 follow-up): iq_parity skips (exit 3) when no fixture was generated, as its generator does; a partly missing set still fails; the open handle of a half-present fixture is closed

📊 Changes

5 files changed (+60 additions, -5 deletions)

View changed files

📝 bench/results/2026-10-03-windows-groups/README.md (+6 -2)
➕ bench/results/2026-10-03-windows-groups/cpu-tests-review-negative-control.txt (+3 -0)
➕ bench/results/2026-10-03-windows-groups/cpu-tests-review.txt (+27 -0)
➕ bench/results/2026-10-03-windows-groups/review-validation.md (+15 -0)
📝 docs/benchmarks/windows-zen2-gfx1030-workers.md (+9 -3)

📄 Description

Add reproducible Coder IQ1_M measurements from a Ryzen Threadripper 3990X (64 cores / 128 threads, 128 GiB DDR4-3200) and Radeon RX 6900 XT (16 GiB, gfx1030) on Windows 11 Pro 10.0.26300, AMD driver 32.0.21045.5002.

The report separates three sets of evidence:

  • Official v0.1.38 release-binary sweep: 63/31/15 workers, including three-run short, 4K and 32K workloads at 63/31 workers. The historical manual 31-worker selection is retained as a measurement, not a proposed default.
  • Matched-setting source builds before/after the processor-group correction in #626: with 63 explicit workers and 3,245 effective cache slots, short/4K decode medians improved from 12.69 / 13.08 to 46.09 / 47.43 tokens/s (about 3.6x). All 31-worker comparison rows are included, including the fixed-31 regression. A separate single 32K request measured 48.87 tokens/s.
  • Pre-review code with automatic worker selection: 63 workers, automatic cache at 2,675 slots, short/4K medians 43.13 / 57.91 tokens/s. This has a different cache budget and is explicitly separated from the before/after comparison.

Each short/4K case uses three fresh requests, 256 output tokens, temperature 0 and no reasoning; warm-up is excluded and all measured prefix reuse is zero. Context is 65,536 with INT8 KV and 32,768 resident cells. The data includes per-request input/output, engine and client timings, median/min/max summaries, configs, source/binary/model hashes, topology and hardware snapshots, build/test records, and standard-library Python reproduction scripts. The separate generated clamp smoke test passed 2,001 bounded integer cases.

The machine reports one NUMA node spanning two processor groups. This is one interactive desktop and synthetic coding workload: background applications stayed open, free VRAM varied and the fixed-cache patched runs reported low VRAM. Results do not establish an optimum for all hardware or general coding quality. The final automatic run and single 32K observation are not pooled into the paired medians.

This PR contains benchmark data/documentation only; the engine change and tests are in #626. Neither PR changes the automatic default to 31 workers.

Review follow-up: local account names in the captured CPU-test paths are redacted. The added review-validation record covers the later reversible host CPU Set implementation in #626; historical throughput figures remain tied to their recorded revisions and were not rerun for that follow-up. Both AVX-512 pool tests, including pool_stress, skip their workloads on this CPU; its zero exit status was previously mistaken for a stress-workload pass, and the report now corrects that distinction.


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

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/628 **Author:** [@Yasei-no-otoko](https://github.com/Yasei-no-otoko) **Created:** 10/3/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `bench/rx6900xt-coder-2026-10-03` --- ### 📝 Commits (10+) - [`8f5148c`](https://github.com/Niko1221/Strata/commit/8f5148c14d34c404e8a2d6a45188088714f3c9bb) CS-T: the partial pin at most 24 GiB (STRATA_PARTIAL_PIN_GIB), the Q4_K/Q5_1/Q8_0 multi-token kernels from two tokens on - [`5ffda19`](https://github.com/Niko1221/Strata/commit/5ffda19098202b82943fc80281ce0eb34d8e08a3) CS-T: the GGUF-in-place prefetch asks Windows for all of a layer's missed slices at once (PrefetchVirtualMemory) - [`ed6c124`](https://github.com/Niko1221/Strata/commit/ed6c1244dcd31789007540cb9d8498fbd4134b7f) #253: the 8 GiB arena pin cap only under WDDM; STRATA_ARENA_PIN_GIB; the split's prompt chunk steps down - [`450149d`](https://github.com/Niko1221/Strata/commit/450149d3f248438d8a2526c600b5a75c3dbea6c6) --split-skip-if-fits (opt-in): an auto split runs on the main card alone when it holds every profiled expert + KV - [`6926e0b`](https://github.com/Niko1221/Strata/commit/6926e0b4f4f72cda4f95a0218a89500135af7e4e) Merge branch 'f-131-amd' into r131-amd - [`c7aa3e5`](https://github.com/Niko1221/Strata/commit/c7aa3e5c18a57433d2fe3e131bf3e44da9f82c0d) Revert #257 (AVX2 two-block Q2_0 unpack): bit-exact but not faster on an AVX2-only CPU (Ryzen 9 3900X: gate/up -2.6..-4.7% at 1 token, down -3..-5% at 2 tokens) - [`2736bd0`](https://github.com/Niko1221/Strata/commit/2736bd0a70c0295c19c4670f1a8c18c75fed2f6d) CS-T: the partial pin locks only what it does not register and ends at an expert boundary; the Q4_K/Q5_1/Q8_0 multi-token kernels opt-in (STRATA_KQ256=1) - [`de3f045`](https://github.com/Niko1221/Strata/commit/de3f0454a762147a03698eb2860427cb1ff36aaa) decode: hyper-connection read in 2 kernels - norm folded into a stream-split down kernel (164 blocks), rs/lo/inject in up's prologue (STRATA_GR_V3=0 = old) - [`8895c12`](https://github.com/Niko1221/Strata/commit/8895c1263d00e648604a78e5dec579aebb30837f) decode: hc read v3 is opt-in (STRATA_GR_V3=1: another summation order); its shared memory is sized from the card's opt-in limit - one or two column halves, else the default kernels (Turing/HIP 64 KB fit with two; capability-based split as proposed by @Adamyno); the neutral knobs (DOWN_R2, UP_PF, KSPLIT) dropped (review) - [`1508caa`](https://github.com/Niko1221/Strata/commit/1508caab2823505f118d80949261cb6a9769ec69) tests (#264 follow-up): iq_parity skips (exit 3) when no fixture was generated, as its generator does; a partly missing set still fails; the open handle of a half-present fixture is closed ### 📊 Changes **5 files changed** (+60 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `bench/results/2026-10-03-windows-groups/README.md` (+6 -2) ➕ `bench/results/2026-10-03-windows-groups/cpu-tests-review-negative-control.txt` (+3 -0) ➕ `bench/results/2026-10-03-windows-groups/cpu-tests-review.txt` (+27 -0) ➕ `bench/results/2026-10-03-windows-groups/review-validation.md` (+15 -0) 📝 `docs/benchmarks/windows-zen2-gfx1030-workers.md` (+9 -3) </details> ### 📄 Description Add reproducible Coder IQ1_M measurements from a Ryzen Threadripper 3990X (64 cores / 128 threads, 128 GiB DDR4-3200) and Radeon RX 6900 XT (16 GiB, gfx1030) on Windows 11 Pro 10.0.26300, AMD driver 32.0.21045.5002. The report separates three sets of evidence: - Official v0.1.38 release-binary sweep: 63/31/15 workers, including three-run short, 4K and 32K workloads at 63/31 workers. The historical manual 31-worker selection is retained as a measurement, not a proposed default. - Matched-setting source builds before/after the processor-group correction in #626: with 63 explicit workers and 3,245 effective cache slots, short/4K decode medians improved from **12.69 / 13.08** to **46.09 / 47.43 tokens/s** (about **3.6x**). All 31-worker comparison rows are included, including the fixed-31 regression. A separate single 32K request measured 48.87 tokens/s. - Pre-review code with automatic worker selection: **63 workers**, automatic cache at 2,675 slots, short/4K medians **43.13 / 57.91 tokens/s**. This has a different cache budget and is explicitly separated from the before/after comparison. Each short/4K case uses three fresh requests, 256 output tokens, temperature 0 and no reasoning; warm-up is excluded and all measured prefix reuse is zero. Context is 65,536 with INT8 KV and 32,768 resident cells. The data includes per-request input/output, engine and client timings, median/min/max summaries, configs, source/binary/model hashes, topology and hardware snapshots, build/test records, and standard-library Python reproduction scripts. The separate generated clamp smoke test passed 2,001 bounded integer cases. The machine reports one NUMA node spanning two processor groups. This is one interactive desktop and synthetic coding workload: background applications stayed open, free VRAM varied and the fixed-cache patched runs reported low VRAM. Results do not establish an optimum for all hardware or general coding quality. The final automatic run and single 32K observation are not pooled into the paired medians. This PR contains benchmark data/documentation only; the engine change and tests are in #626. Neither PR changes the automatic default to 31 workers. Review follow-up: local account names in the captured CPU-test paths are redacted. The added review-validation record covers the later reversible host CPU Set implementation in #626; historical throughput figures remain tied to their recorded revisions and were not rerun for that follow-up. Both AVX-512 pool tests, including pool_stress, skip their workloads on this CPU; its zero exit status was previously mistaken for a stress-workload pass, and the report now corrects that distinction. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-04 02:02:43 +07:00
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#2730
No description provided.