mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #4385] [Benchmark] RX 9060 XT 16 GB (gfx1200): DeepSeek-V4.1-Flash IQ2_XS 2.25 bpw on strata-dsv41 0.1.51 #1942
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#1942
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 @codywb on GitHub (Oct 28, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4385
Community benchmark on Radeon RX 9060 XT 16 GB (gfx1200)
Measured on 2026-10-27 and 2026-10-28. DeepSeek-V4.1-Flash (ISTA-DASLab IQ2_XS, 2.25 bpw) on
strata-dsv410.1.51, single RX 9060 XT 16 GB, Linux. As far as I can find, this is the first run of the DeepSeek engine on gfx1200 or on
any single 16 GB AMD card (docs/AMD_HIP.md lists the RX 9070-class package as built but untested). It works: the smoke
test passes, the server reaches READY, tool calls come back as real calls, and 68 server requests plus 8 batch runs over
two days produced no engine error, hang or amdgpu kernel message. Main limitation: decode is bound by the CPU lane on a 6-core Zen 3, about
6.2-6.6 tok/s with 6 experts and 6.8-7.5 tok/s with 5.
Hardware and software
desktop; the engine was pinned to the 9060 with
ROCR_VISIBLE_DEVICES(without it, the engine splits over every visibleGPU and the gfx120X libraries have no gfx906 code; the crash in issue 3933 is the same shape).
NVMe, PCIe 4.0 x4 (about 2.6 GB/s sequential read measured). Platform PCIe 4.0.
gfx120X-allwheels 7.10.0a20251120 (theversion the signed rx9070 package is built on).
562a0c2e(the 0.2.6 packages' build id);serve/server.py0.2.6 under Python 3.12.strata-dsv410.1.51 (build562a0c2ed),-DSTRATA_BUILD_DSV41=ON -DSTRATA_NATIVE_EXPERTS=ON -DCMAKE_HIP_ARCHITECTURES=gfx1200(thetools/dsv41/build_hip_linux.shrecipe), linked against the wheels above;strata-dsv41-0.1.51-linux-x86_64-hip-rx9070.tar.gz(sha256 verified against the release),run with its own bundled ROCm libraries.
HSA_ENABLE_SDMA=0,HSA_USERPTR_FOR_PAGED_MEM=0,GPU_PINNED_MIN_XFER_SIZE=1048576, and--reserve-mib 4096(4 GiBof VRAM left free instead of the default 600 MiB).
Model and configuration
ISTA-DASLab/DeepSeek-V4.1-Flash-1017-GSQ-RCO-GGUFat revision cb02422c, IQ2_XS,DeepSeek-V4.1-Flash-1017-GSQ-RCO-IQ2_XS-0000{1..4}-of-00004.gguf;DeepSeek-V4.1-Flash-Engram-IQ4_NL.gguf;dspark-DeepSeek-V4.1-Flash-1017-Q8_0.gguf; the UD-Q8_K_XL first shard (metadata) fromunsloth/DeepSeek-V4.1-Flash-1017-GGUFat f924b94f. All sizes and SHA-256 checked against setup.py's pins. Packed with the setup recipe; the shipped 2.25 bpw
expert profile.
auto(the engine left it unloaded, see the start-up lines). Experts 6 (--experts 6) or 5.RAM store automatic, or
--ssd-cache 58for one configuration.STRATA_DS4_PROMPT_SKIPleft at its default (on).reasoning_budget_tokens1024 insidemax_tokens1536; temperature 1.0,top_p 1.0; seeds 1, 2, 3.
block differently from the V4.1 model's; using the V4.1 template so tool calls come back as real calls").
Start-up lines (6 experts, one start; the other configurations differ only in the experts line and the store size):
Load is quick: the smoke test (
tools/dsv41/smoke.py, "The capital of France is Paris.") took 32 s including load, and theserver reached READY 22 s after it.
Method
28.2K and 42.2K tokens, each sent as a fresh conversation with a unique case tag at the very start of the system prompt,
so nothing could be reused from an earlier request. The engine reported 0 reused tokens on every timed request. (A first
attempt put the tag in the first user message: the engine then reused the identical system prompt and tools, 2,942 of
3,447 tokens. Worth knowing for anyone measuring prefill with agent prompts.)
seed-major order: 12 timed requests. One request at a time.
maya ds4 serve: prompt N tokens = R reused + X read in M ms (T tok/s), G generated in M ms (T tok/s)line for the request's first pass. When thinking reaches the budget the server runs a second, answer passwith the prompt reused; the first pass is the full prompt read plus the thinking decode, so it is the one reported.
36 of the 60 timed requests reached the 1,024-token budget (two passes); 24 finished thinking earlier in one pass,
generating 58-1,118 tokens. TTFT is client-side: from sending the streamed request to the first reasoning, content or
tool-call delta.
is the noise floor: decode differed by 0.11-0.33 tok/s between the two runs. A difference under twice that is not
claimed.
DS4_NO_EOS=1, a 41-token prompt, 512 tokens at temperature 1.0 and--verbose, for the engine's own decode breakdown.Results
--ssd-cache 58Reading, against the replicate's spread:
at three of the four lengths and level with it at 13.6K. Prompt reading is the same.
experts (below).
request, 505 new tokens on top of 2,942 reused took 31.7 s.
the store filled.
Decode breakdown (batch mode, 512 tokens, 6 experts, automatic store of 55.4 GB, engine's own lines; the same run with
--ssd-cache 58gave 8.06 tok/s and a 92.1 % store hit rate):Batch decode at a 41-token prompt (about 8 tok/s) is faster than served decode at 3-42K tokens (about 6.5); I did not
look into how much of that gap is context length and how much is the serving path.
About two thirds of the routed experts run on the CPU lane, and the CPU lane is most of each token's ~124 ms; the store
wait is about 24 ms a token. On this machine decode is bounded by the 6-core CPU, not by the SSD or RAM capacity.
SMT test (local patch).
DS4_CPU_SMT=1(both hardware threads per core) is only compiled into the Windows path ofnode_cores()insrc/dsv41/ds4_model.cu; on Linux the CPU lane always takes one thread per physical core, and--cpu-threadscan only lower that. I patched a copy to read the switch on Linux too (two lines: thesmtflag hoistedout of the
#if defined(_WIN32)block, andif (smt || sib.empty() || sib[0] == c)), which gave 10 CPU-lane threads insteadof 6. Alternating batch runs: stock 7.42 and 7.11 tok/s, SMT 6.90 and 7.01. No gain on this CPU; the CPU lane's time per
token did not fall. Probably not worth enabling on Linux for 6-core parts. Larger CPUs may differ.
Correctness and limitations
requests on the three longer prompts ended in a well-formed OpenAI
tool_callsresponse (two ended with a plain answer,one at
max_tokens); all 15 on the 3.4K prompt reachedmax_tokens, which that prompt does at this budget.supported by this engine), contexts above ~43K tokens in use,
--dspark on,STRATA_DS4_HIPK=0, long-running sessions.more VRAM for experts.
after the GPU's weights: store sized 46.7 GB, not 64.2"). That matches
store_gb_now()taking the unified-memory contextallowance (1.1e-4 GB a token beyond 16,384, i.e. 12.6 GB at 131,072) after free RAM fell by 4 GB or more during the
weight upload. On a discrete card those caches are in VRAM. On later starts the store was 55-63 GB with no such
deduction, and the 58 GB run above shows store size barely matters here, so it is minor; mentioning it in case the
unified-memory detection is meant to be exact.
@Niko1221 commented on GitHub (Oct 29, 2026):
Thank you for measuring this and writing it up. 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.