mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #5320] [Benchmark] RX 6900 XT (gfx1030) on 0.1.57: DFlash2 now runs on RDNA2, and STRATA_HIP_PROMPT_F16 is still worth 2.1x #3171
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#3171
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 @lvxianchao on GitHub (Nov 5, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5320
This is a re-measurement of the same machine I reported on 10-30 in #4723 (closed, results collected for the benchmarks page). Nothing went wrong again; two things changed and are worth a look.
Short version
STRATA_HIP_PROMPT_F16=1is still not the default on gfx103x and is still worth 2.11x prompt speed (480.7 → 1013.5 tok/s at 8.2K). Same ratio as on 0.1.54.Hardware and software
Unchanged from #4723: RX 6900 XT 16 GB, gfx1030 (Navi 21), PCIe Gen4 x16, Resizable BAR on; Intel i3-13100T; 96 GB installed / 78.5 GiB visible; QEMU/KVM guest on Proxmox VE 9.2 with the card passed through (vfio-pci, cpu: host), so these are not bare-metal numbers; Ubuntu 24.04.4, kernel 6.8.0-124, system ROCm 6.3.0 (not used — the
rx6000package carries its own HIP runtime).linux-x86_64-hip-rx6000(signed release package, installed bystrata update; the update's own test start answered a probe).4c1eb2ce…/316b46f3…), from ModelScope.--kv k8v4,--kv-resident 32768,--vision(CPU reader, 3 threads),--pool-cores 1,3,5.STRATA_HIP_PROMPT_F16=1in every run except the control below.Standard benchmark, three ways
strata bench run, protocolstrata-qwen38-thinking-v1-draft.1, same corpus, same machine, nothing else running. Median (min–max), n=3.Runs:
20261105T144040Z-80e10c0a(DFlash2),20261105T144829Z-4350914b(MTP). Same six of nine performance requests truncated at the 512-token cap in both, as before;results.jsonmarks them.DFlash2 against MTP, same build: +10.0% short, +1.0% at 4K, +4.7% at 16K. That is the same shape the release notes report on other cards (more on short answers). Draft acceptance on this card was 78–91% per request during the DFlash2 run.
Cost of the drafter on a 16 GB card: DFlash2 takes 1,026 MiB of VRAM, so the expert cache drops from 4,647 slots / 8.86 GiB (MTP) to 4,567 slots / 8.71 GiB (DFlash2) — –1.7% slots, 890 MiB VRAM left free. Decode expert-cache hit rate during the DFlash2 run: 78.7–88.2%.
Across versions at MTP: short +1.0%, 4K –1.5%, 16K –5.7% (40.2 → 37.9). It is n=3 and the min–max ranges do not overlap (40.0–44.3 against 36.8–38.0), so it may be a real small regression in the MTP path rather than noise — I cannot separate the two from one box. DFlash2 more than covers it at 16K (39.7).
The prompt lever is unchanged
8,192-token prompt,
max_tokens=1, three fresh nonces each (no prefix-cache hits), same binary and flags, only the variable differs:STRATA_HIP_PROMPT_F16=12.11x, the same ratio I measured on 0.1.54 (488.2 → 1,028.8). The engine still prints the tip on gfx103x, and the release notes still do not mention making it the default. Repeating the suggestion from #4723: this is the single largest lever on RDNA2 and it is currently invisible to anyone who does not read the engine log.
Long context and pictures (not part of the protocol)
cache_n 0, truly cold): prefill 1,112.4 tok/s in 190.6 s, decode 38.7 tok/s, drafts accepted 57 of 82. On 0.1.55 the same test was 988.9 / 35.7.strata-vision: on the CPU, 3 threadsas before.auto: 8192 tokensand the prompt path borrows 2,282 cache slots (4.32 GiB) on this card.What I did not test
rdna2package; bare metal; clocks/power per request (singlerocm-smireadings only); long soak; concurrency;--layer-split.--contextsweep from #4723 was not repeated on 0.1.57.Raw
results.json,outputs.jsonl,config.jsonandprovenance/for both runs are available and can be attached or turned into a results-only PR if that is preferred — #4723's files were not added to the repository, so I did not open one unasked.Reported by lvxianchao.