Repository navigation
Description
Qwen4-35B-A3B on RX 7600 XT (gfx1102) - PolyStrata HIP speed report
Date: 2026-12-05
Reporter: local user benchmark, Windows 11
Repo: simplexai-labs/PolyStrata
This is a detailed user report with measured numbers. PolyStrata's own Qwen4 docs state that AMD HIP compiles and links cleanly under ROCm 10.2.0a20260930 but has not yet been measured on physical AMD GPU hardware. This report provides measurements on a physical RX 7600 XT.
1. Hardware and environment
| Item | Value |
|---|---|
| CPU | AMD Ryzen 5 7600X, 6 cores / 12 threads, AVX-512 |
| RAM | 31 GB physical |
| GPU 0 | AMD Radeon RX 7600 XT, 16 GB, gfx1102 / RDNA3 |
| GPU 1 | AMD Radeon(TM) Graphics, gfx1036 - not supported by the AMD backend |
| OS | Windows 11 |
| Free memory at load | about 21.8 GiB physical, about 29.5 GiB commit free |
| Other VRAM use | about 1,693 MiB of card 0 held by desktop and other programs |
2. PolyStrata build and engine
| Item | Value |
|---|---|
| Repo checkout | v0.2.20-poly.10 |
| Engine | strata-poly 0.1.66 |
| Archive | strata-poly-windows-x64-hip-rdna3-da0e075dee237a14.zip |
| BUILD.json | source release-hip, backend hip, family rdna3, version 0.1.66 |
| ROCm | 10.2.0a20260930 |
| hipBLASLt | 100500 |
| Archs in engine | gfx1100, gfx1101, gfx1102, gfx1151 |
| Vision | none; the image encoder is a CUDA program, so images are off on AMD |
| Server | 127.0.0.1:8098, isolated; never 8080 |
Setup used a private Python 3.11 venv because the bundled control Python had no pip. The prebuilt RDNA3 HIP engine was extracted into terminal/engine-poly and setup recognized it as already downloaded. No model files were downloaded for the trial; existing GGUFs were reused with --custom-gguf.
3. Quantizations tried
A. UD-Q3_K_XL
- Shard 1: 18.03 GB trunk + embedded MTP.
- Shard 2: 10.73 GB shared PLE / n-gram table.
- Config flags: --model , --max-context 32768, --expert-profile , --kv q8_0, --kv-whole.
- MTP: embedded draft block on by default; no --no-draft.
- Vision: off.
- Load: 23.1 s; 5,708 of 10,496 routed experts in VRAM (8.4 GiB); 8 CPU threads.
- RAM pressure: only 1.6 GiB free for 7.1 GiB of experts outside VRAM; engine held 1,024 MiB of them and read the rest from the file cache.
B. UD-IQ3_XXS
- Shard 1: 16.03 GB trunk + embedded MTP.
- Shard 2: 10.73 GB shared PLE / n-gram table, hardlinked and renamed to match the shard stem.
- Setup flagged this as a custom size not in its official list and read the expert size and RAM estimate from the header; RAM estimate about 21 GB.
- Vision: off.
- MTP: embedded draft block on by default.
- Load: 51.0 s; 6,959 of 10,496 routed experts in VRAM (9.1 GiB); 6 CPU threads.
- RAM pressure: only 1.5 GiB free for 4.6 GiB of experts outside VRAM.
4. Engine flags: what worked and what did not
The engine help for strata-poly 0.1.66 accepts, among others: --model, --max-context, --threads, --vram-reserve-mib, --vram-pool, --expert-profile, --no-gpu-experts, --kv, --kv-whole, --kv-resident, --basinkv, --basinkv-resident, --basinkv-cap, --basinkv-index, --basinkv-kv-quant, --expert-swaps, --ram-experts-mib, --lock-experts, --cold-lut, --cold-q2-lut, --prompt-batch, --stage-mib, --stage-ahead, --stage-ring, --stage-read-mib, --cpu-share, --prompt-cache, --conversation-cache-mib, --window, --no-draft, --draft-model, --draft-vocab, --batch, --batch-mtp, --tail-skip, --defer-rank, --route-top, --skip-weight and --cache-bias.
Unsupported in this engine, despite appearing in some docs or other engines: --expert-cache, --prefill, --spec, --spec-min-p and --pool-workers. Attempts using them ended with exit code 2 and "unknown option" messages. MTP is controlled by the embedded block and --no-draft, not by --spec.
Flag attempts in chronological order:
- UD-Q3_K_XL setup defaults: --model, --max-context 32768, --expert-profile, --kv q8_0, --kv-whole. Started successfully.
- UD-IQ3_XXS first tuning attempt: added --expert-cache auto, --prefill 4096, --spec 2, --spec-min-p 0.5, --vram-pool, --vram-reserve-mib 512, --tail-skip 4, --defer-rank 4, --pool-workers 6. Engine refused with "unknown option --expert-cache".
- Removed --expert-cache; engine refused with "unknown option --prefill".
- Final successful flag set: --model, --max-context 32768, --expert-profile, --conversation-cache-mib 0, --kv q8_0, --kv-whole, --vram-reserve-mib 512, --threads 6, --tail-skip 4, --defer-rank 4. --vram-pool was available but was not part of the final successful start.
5. Speed methodology
Requests were sent to /v1/chat/completions. The server's own timings object was used. Prompt text was a fixed repeated sentence; target lengths were approximate, so actual prompt_n is reported. Generation was 16 tokens per request. Sampling was temperature 0.7, top_p 0.8, top_k 20 and reasoning_effort none. TTFT was not captured separately; prompt_ms is engine prompt-processing time.
6. Measured speeds
UD-Q3_K_XL, setup defaults
| Actual prompt_n | Prompt ms | Prefill tok/s | Decode tok/s | Draft proposals / accepted |
|---|---|---|---|---|
| 43 | 1362.3 | 31.6 | 21.0 | 11 / 8 |
| 138 | 917.7 | 150.4 | 25.9 | 9 / 7 |
| 841 | 1446.9 | 581.2 | 32.8 | 8 / 7 |
| 3235 | 4369.5 | 740.4 | 34.2 | 8 / 5 |
UD-IQ3_XXS, final valid tuning flags
| Actual prompt_n | Prompt ms | Prefill tok/s | Decode tok/s | Draft proposals / accepted |
|---|---|---|---|---|
| 43 | 1570.4 | 27.4 | 24.3 | 9 / 5 |
| 138 | 899.6 | 153.4 | 31.5 | 12 / 6 |
| 841 | 1390.6 | 604.8 | 30.2 | 10 / 3 |
| 3235 | 4316.6 | 749.4 | 34.7 | 3 / 1 |
Engine console lines for the final run reported expert cache hit rates of 77.9%, 81.3%, 50.3% and 98.7% across the four requests. Draft acceptance was low, roughly 25-55% from the timings. Switching from Q3_K_XL to IQ3_XXS freed some VRAM and placed more experts in VRAM but barely changed decode speed.
7. Comparison with Strata on the same machine
On the same hardware, Strata 0.2.26 with strata-q4-lite 0.1.74 and UD-IQ3_XXS measured 51-63 tok/s decode and up to about 1,130 tok/s prefill with the same context class, MTP on and vision on. PolyStrata measured 24-35 tok/s decode and up to about 749 tok/s prefill with vision off. The gap is large and consistent across prompt lengths.
8. Caveats
- This is one machine, one driver, one engine release and one quant family per run. No medians across multiple process starts.
- The prompt was synthetic repeated text, not a real document.
- Vision was off because the AMD path has no image encoder.
- MTP draft acceptance was poor in these runs; no token-by-token equivalence check was done.
- RAM was tight at 31 GB; results may differ on a 64 GB machine.
- The trial folder was removed after measurement; port 8098 is free. No daily model, port 8080 or other engine was changed.
9. Reproduce
Use a fresh checkout of v0.2.20-poly.10, install the v0.2.20-poly.10 Windows RDNA3 HIP prebuilt engine archive, create a private Python 3.11 venv in terminal, then run setup with --family qwen4, --model UD-Q3_K_XL or a custom UD-IQ3_XXS shard pair, --backend hip, --custom-gguf, --context 32768, --kv q8_0, --mtp on, --vision none, --yes and --no-start. Use only the valid flags listed above if editing the generated config by hand.
Activity
VecSzn commentedon Dec 6, 2026
Thanks @JuggyBob for the detailed physical RX 7600 XT (
gfx1102) HIP measurements — real AMD community numbers are super helpful! We just shippedv0.2.20-poly.11with all 10 rebuilt AMD HIP packages (plus#470Qwen4 QSA 8-head prefill and opt-in--stage-next). If you'd like these numbers archived in the repo index, feel free to open a[Benchmark]PR underdocs/bench-results/anytime!iiaesoo commentedon Dec 6, 2026
@VecSzn Hello, Ive gotten this to run today on my rx 7600 (base 8g) + 32gb ddr4 at ~40-50 tps. I want to contribute. Can you point me to resources/guides to how to be useful?
Am very interested in if its possible to get vision working on amd cards. (or atleast the cpu)
iiaesoo commentedon Dec 6, 2026
@JuggyBob Did you really get vision working on this card using base Strata?
JuggyBob commentedon Dec 6, 2026
Hi @iiaesoo, answering your vision question for this card (RX 7600 XT, gfx1102, 16 GB):
Short answer: yes, but only in the Strata project's own engine, and the vision encoder runs on the CPU, not the GPU.
What I actually verified:
strata-vision: own tower (qwen3vl_merger, 27 layers, width 1152) loaded in 1.1 s, on the CPU, 6 threads, and the server reportsimages: true.In PolyStrata on an AMD card, images are off: its image encoder is a CUDA program, so the HIP build skips it. That is what setup reports on our cards.
For reference, my PC: Ryzen 5 7600X, RX 7600 XT 16 GB, 31 GB RAM, Windows 11. On this card Qwen4 UD-IQ3_XXS measured about 51-63 tok/s decode and up to roughly 1,130 tok/s prefill with a 128K context.
Contributing: docs/COMMUNITY_BENCHMARKS.md describes the benchmark format, tools/BENCH.bat runs it on your own PC, and docs/AMD_HIP.md covers the HIP build and tuning. Your RX 7600 numbers would be genuinely useful - same architecture as my card with half the VRAM is a data point nobody else has reported yet.
@VecSzn thanks for the poly.11 note. I will test the rebuilt AMD HIP packages on this card again soon and report back in this issue.