mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #5302] [Benchmark] RX 5700 XT 8 GB (gfx1010, 0.1.56 source build): Qwen3.8-Flash-Next IQ2_XS + DFlash2, standard run complete; STRATA_PREFILL_CPU_SHARE works on HIP (+29% prefill) #3163
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#3163
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @statou666 on GitHub (Nov 5, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5302
What I measured
A single RX 5700 XT (gfx1010, RDNA1, 8 GB) running Qwen3.8-Flash-Next IQ2_XS with the DFlash2 drafter on a source-built engine 0.1.56 (Strata 0.2.10). Two results:
STRATA_PREFILL_CPU_SHAREworks on HIP/gfx1010 here (+29% prompt throughput on a 15.6K prompt), althoughdocs/DETAILS.mddescribes it as CUDA-only and says HIP keeps it off unless set.A full report folder (
README.md,results.json,outputs.jsonl, engine log, sanitized config, provenance) is ready; I can open the results-only PR if that is preferred over an issue.Hardware
pp_od_clk_voltage). At the stock 2100 MHz any prompt above ~15K tokens ends in a gfxhub page fault and a GPU reset, so everything here is at 1800 MHz.11.6 GB/s host->device ... -> pcie_frac 0.32.Software
ffa80d73133ea5c548aefe57889a16e8085a938f; no prebuilt gfx1010 engine exists, so it is built locally withCMAKE_HIP_ARCHITECTURES=gfx1010,-DSTRATA_GGML_DIR=<llama.cpp @ 3cf03257>, HIP/ROCm from a TheRock-based Strata venv.AMD community tuning ... gfx1010 dot4 uses the SDWA sequence (#4855).tools/iq_pack.py,tools/dflash2_pack.py; CPU vision reader fromtools/vision.Model
ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUFIQ2_XS/, revisioned59f92082b1e93c0e96d60a8b11aab089b52f09; two shards 39,225,954,592 + 28,800,138,432 B.--ple-ggufpoints at shard 2 (shard 1 fails:per_layer_token_embd.weight is not in ...-00001-of-00002.gguf).incoai/Qwen3.8-Flash-Next-DFlash2@a22a1744e85c17364dcc54a6a420af7135d4c7f6, packed q8 (760 MB).Settings
--pack <iq2_xs_base> --native <shard1> --ple-gguf <shard2> --expert-profile <profile> --expert-cache auto --expert-cache-per-layer --prefill auto --spec 4 --spec-min-p 0.5 --mtp <mtp/rt> --max-context 262144 --kv int8 --kv-resident 32768 --vram-reserve-mib 512 --prompt-cache-every 4096 --prompt-cache-spread --draft dflash2 --draft-model <pack>,drafting: dflash2,env: {"STRATA_PREFILL_CPU_SHARE": "0.80"}. Expert cache 1,248 slots / 1.68 GiB; VRAM 7.29 GiB of 7.98.Standard run (
strata-qwen38-thinking-v1-draft.1, status complete)21/21 required requests, 0 failed, 0 skipped, 12/12 sanity checks, 14 min 32 s after load. Track
custom(hand-written config). Medians, engine timings:Some requests hit the 512-token cap while reasoning (shown in the report). No optional concurrency stage.
Prefill A/B (15.6K fresh prompt, engine's own rate)
--prefill auto)--prefill 8192--prefill 8192+STRATA_DEFAULTS=026--prefill 8192+--kv-resident 16384--pcie-frac 0STRATA_HIP_PROMPT_F16=1STRATA_PF_FUSED=1 STRATA_PF_GEMM=1 STRATA_PF_SWITCH_MIN_T=4096STRATA_PREFILL_CPU_SHARE=autoSTRATA_PREFILL_CPU_SHARE=0.80--prefill 8192--prefill 1024/512--pool-workers 26Each arm: fresh engine, desktop stopped, one request with a brand-new random-word prefix only (unique nonce, nothing cached), 8 generated tokens; numbers are the engine's own line. Single run per arm, arms back-to-back; repeat spread ≤2%.
Notes
STRATA_PREFILL_CPU_SHAREruns on gfx1010 and is the largest prompt-path gain I found;auto(170.1) is slightly behind a fixed0.80(172.2) on 14 cores. This matches the AMD measurement in #1378 (−25…−33% prompt time).STRATA_DEFAULTS=026) and--kv-resident 16384land on the same 145–146 as chunk 8192 alone.STRATA_HIP_PROMPT_F16=1gave nothing on gfx1010 (133.7), unlike the RDNA2 reports.--vram-reserve-mib 256the engine printsonly 494 MiB of VRAM free ... (below 512 MiB)and decode fell to 25.9/25.0 tok/s; at 512 it does 33.4/39.7 with no warning.--prompt-cache-every 4096 --prompt-cache-spread: a 15,605-token prefix re-reads in 4.3–4.4 s (cached=15360; 89 s cold). With the default--prompt-cache-every 16384the same prompt produced one checkpoint andcached=0on 0.1.51.For reference on the same card,
docs/OLDER_GPUS.md:344(Coder IQ1_M, 32K) lists prompt 115/144/149 tok/s at 4K/16K/30K, and #4734 reports ~120 tok/s prefill with IQ3_S at 256K.Reproduction status: measured locally. Happy to run anything gfx1010-specific.
@Niko1221 commented on GitHub (Nov 5, 2026):
Thank you for the benchmark. We have collected these results for the benchmarks page on the Strata website, so we are closing this here. If you measure again, for example on 0.2.11, you are welcome to open a new report.
The Strata project