mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
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#1683
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 @PyroFlareX on GitHub (Oct 24, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3933
What did you measure, or what went wrong
DeepSeek-V4.1-Flash IST-DAS IQ2_XS (2.25 bpw) on a mixed AMD pair, Radeon AI PRO R9700 (gfx1201) + RX 7900 XTX (gfx1100), Linux, source-built
strata-dsv41. As far as I can tell this pairing, and RX 7000 under the DeepSeek engine, has no upstream numbers yet. Every run is listed below, including the failed one and the slow ones.Hardware / software
HIP_VISIBLE_DEVICES=0,1(see failure 1)rocm[libraries,devel,device-gfx1100,device-gfx1201]==10.1.0a202608228183c6b6(0.1.49.1),-DSTRATA_BUILD_DSV41=ON -DSTRATA_NATIVE_EXPERTS=ON -DCMAKE_HIP_ARCHITECTURES="gfx1100;gfx1201"pack_gguf.pywith the setup.py IST-DAS recipe (--shards×4,--engram,--engram-metaUD shard 1,--dspark-gguf, noise 128799, markov rank 256) plusdata/dsv41/profile-2.25.bin.--pack-info: every tensor is a device type, all files present.tools/dsv41/smoke.py --gpus 0,1: "The capital of France is Paris."All files were checked against the setup.py SHA-256 pins.
Method. Each run is one CLI process:
strata-dsv41 --pack P --ids @F --n N --max-context 16384 --eos 1 --verbose --gpus 0,1 --cpu-threads 5 <arm>, launched astaskset -c 0-4,6-10 nice -n 5, so one physical core stays free for the desktop. Every run loads the model fresh (about 50–60 s with both cards, about 20 s on the R9700 alone). Thinking is off (<|Assistant|></think>) and decoding is greedy. Speeds are taken from the engine's ownprompt:/decode:lines.tune.py+smoke.py+dsv41_fit.py).All arms with exit code 0 gave sensible text. I spot-checked several by decoding them; for example, the baseline wrote a correct
parse_iso8601_duration.Results. Prompt and decode are in tok/s, "store hit" is the share of CPU-lane experts found in the RAM store, and swap-out is in MB during the run.
--dspark autodid not load the drafter)--ssd-cache 24--ssd-cache 32--ssd-cache 40--ssd-cache 32--ssd-cache 32--ssd-cache 32 --no-expert-cache--ssd-cache 32 --ssd-policy lfu--ssd-cache 32 --cpu-threads 4--ssd-cache 32 --gpus 0--ssd-cache 32 --dspark on --dspark-conf 0.65--no-expert-cache--no-expert-cache --ssd-cache 40--ssd-cache 32 --gpus 0--ssd-cache 32,DS4_SPLIT=35,5--ssd-cache 32,DS4_SPLIT=34,6--ssd-cache 32(engine's own split)--no-expert-cache--ssd-cache 32 --no-expert-cache --gpus 0--ssd-cache 32 --gpus 0--ssd-cache 32,DS4_SPLIT=35,5--ssd-cache 32,DS4_SPLIT=34,6On short-prompt decode, run-to-run spread on this box is about ±15%: s2-base 8.85 vs s2-base-rep 7.72, and s3-nc-a 5.65 vs s3-nc-b 7.47.
Through
serve.serverwith the chosen settings (DSpark on,--ssd-cache 32,--cpu-threads 5,DS4_SPLIT=35,5,HIP_VISIBLE_DEVICES=0,1), four requests on one warm engine, all finished cleanly:Observations
ds4 prompt streamlines), and the XTX's share went over x1. WithDS4_SPLIT=35,5, the XTX gets layers 35–39 + head, and all 1,920 of their experts stay resident on it. The XTX then streamed 0 GB, the R9700 streamed 161.5 GB at 2.51 GB/s, and the prompt reached 166 tok/s. One more layer (34,6) no longer fits: 2,190 of 2,304 experts resident. In that long-prompt run the host also swapped (4.5 GB out) and decode fell to 0.71 tok/s. As far as I can read it, the cost-based split inds4_model.cuweighs each group's free VRAM but not its link speed, so on this box it picks a split that streams over the x1 card.MemAvailablewas about 23 GB, after subtracting 12 GB./proc/meminfoshowedGPUReclaim: 32022604 kB(amdgpu's reclaimable pool, not counted in MemAvailable) while the process RSS of the whole system summed to 11.6 GB. Setting--ssd-cache 32cut disk reads from 354 to about 200–225 MB/token and raised decode from 6.3 to 7.7–8.9 tok/s. 40 GB pushed one of three runs into swap.autoleaving it unloaded (149 GB of experts vs 77–82 GB of VRAM room): 9.8–9.9 tok/s against 7.7–8.9 tok/s, in three runs each, with 87–95% of drafts kept per position.Failure 1. The first run had neither
--gpusnorHIP_VISIBLE_DEVICESset. It aborted with exit 134 after a 665 s load, having split the model over three devices, including the Raphael iGPU (gfx1036):rocBLAS error: Cannot read .../rocblas/library/TensileLibrary.dat: Illegal seek for GPU arch : gfx1036. The iGPU has no rocBLAS library in these wheels. Every later run used both--gpus 0,1andHIP_VISIBLE_DEVICES=0,1, so I can't say whether--gpusalone would have been enough. With no--gpus, the engine used every visible device, including the integrated GPU.All per-run logs (full stderr, command and environment) and
results.jsonlare available if useful.Reproduction status
Measured locally
@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.