mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #4587] [Docs] MULTI_GPU: --prefill-pipe on 2x RX 6900 XT (b/a 3072: 8K +16%, 12K +8%, 4K untouched) #5101
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#5101
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?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/4587
Author: @Vop3p
Created: 10/29/2026
Status: 🔄 Open
Base:
main← Head:docs-prefill-pipe-6900xt📝 Commits (1)
5a1cfe2docs/MULTI_GPU.md: --prefill-pipe on 2x RX 6900 XT (b/a 3072: 8K +16%, 12K +8%, 4K untouched)📊 Changes
1 file changed (+20 additions, -0 deletions)
View changed files
📝
docs/MULTI_GPU.md(+20 -0)📄 Description
Problem and result
The
--prefill-pipesection ofdocs/MULTI_GPU.mdhas four GP100 dies (where it pays), 2x RTX 3090 Ti and 2x RTX 4090 (where a small chunk loses). A reader with two mid-range AMD cards on a two-stage split cannot tell which side they are on, nor which prompt lengths a given b/a changes.After: one paragraph and one table under the GP100 one with a two-stage RDNA2 split (2x RX 6900 XT, HIP): per prompt length, the chunk each b/a plans and the prompt speed against
--prefill auto. b/a 3072 re-chunks 8K (2x4096, +16%) and 12K (2x6144, +8%) and leaves 4K, 16K and 32K as they are; 1536 adds 12K +12% and 16K +5% but costs 4K -23%. No b/a both spares 4K and splits 16K (the rule needs b/a below 1,672 for 16K and at least 1,806 for 4K), which the text states so nobody looks for one.Related discussion
#1441 (the
--prefill-pipedesign and the GP100 / 3090 Ti / 4090 numbers). No issue: a docs data point, no behaviour change.Approach
Docs only. The numbers come from one cold engine (0.2.7 built for gfx1030 with the RDNA2 prompt-attention patch of #3381 and the CPU-share-batch patch of #3382; neither touches the chunk plan), the b/a passed per request through the server's
strata_tune.prefill_pipeso every value read the same text on the same engine. Values 0, 1, 768, 1536, 3072, 6144 at 4K, 8K and 32K; 1536 and 3072 again at 12K and 16K; 3072 against 0 again on real text (a mix of English, Chinese and code) at 4K, 8K and 12K. Two interleaved rounds per cell, a--prefill autoread before every value. The chunk each read used is the engine's ownstrata prefill: N tokens in C-token chunks over 2 stagesline.Validation
Passed: every cell is a fresh prompt (a nonce in the text,
reused 0in/metrics); the plan line was read for every request that re-chunked and its absence confirmed for the ones that did not. The real-text runs reproduce the synthetic ones within 1-2 points (8K +16% / +16%, 12K +9% / +8%, 4K untouched / -1%). The answers for the same prompt are the same text with and without the plan (32-token greedy answers, hash compared).Failed: none observed.
Not run: no build is affected, so CUDA, HIP, SYCL and Metal are untouched. A third stage,
--calibrateitself (the values were swept by hand), and the pipeline's effect on a conversation's later turns were not measured.Limits
Developed with an AI coding assistant; every number above was measured on the 2x RX 6900 XT machine described.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.