[PR #4587] [Docs] MULTI_GPU: --prefill-pipe on 2x RX 6900 XT (b/a 3072: 8K +16%, 12K +8%, 4K untouched) #5101

Open
opened 2026-11-07 16:32:41 +07:00 by bsakaguchi · 0 comments
Owner

📋 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)

  • 5a1cfe2 docs/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-pipe section of docs/MULTI_GPU.md has 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.

#1441 (the --prefill-pipe design 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_pipe so 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 auto read before every value. The chunk each read used is the engine's own strata prefill: N tokens in C-token chunks over 2 stages line.

Validation

Passed: every cell is a fresh prompt (a nonce in the text, reused 0 in /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, --calibrate itself (the values were swept by hand), and the pipeline's effect on a conversation's later turns were not measured.

Limits

  • One pair of cards, one model (Flash-Next IQ3_S), one host (Ryzen 5 5600X, PCIe 4.0 x8 per card). The b/a band 1,800-3,400 is specific to this rig; the table shows which prompt lengths change, not a value for other rigs.
  • Prompt tok/s only; decode was not timed in this sweep (the plan ends before the first token).

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.

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/4587 **Author:** [@Vop3p](https://github.com/Vop3p) **Created:** 10/29/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `docs-prefill-pipe-6900xt` --- ### 📝 Commits (1) - [`5a1cfe2`](https://github.com/Niko1221/Strata/commit/5a1cfe2b008d35710ccd3c7911269817e5822d26) docs/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) <details> <summary>View changed files</summary> 📝 `docs/MULTI_GPU.md` (+20 -0) </details> ### 📄 Description ## Problem and result The `--prefill-pipe` section of `docs/MULTI_GPU.md` has 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-pipe` design 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_pipe` so 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 auto` read before every value. The chunk each read used is the engine's own `strata prefill: N tokens in C-token chunks over 2 stages` line. ## Validation **Passed:** every cell is a fresh prompt (a nonce in the text, `reused 0` in `/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, `--calibrate` itself (the values were swept by hand), and the pipeline's effect on a conversation's later turns were not measured. ## Limits - One pair of cards, one model (Flash-Next IQ3_S), one host (Ryzen 5 5600X, PCIe 4.0 x8 per card). The b/a band 1,800-3,400 is specific to this rig; the table shows which prompt lengths change, not a value for other rigs. - Prompt tok/s only; decode was not timed in this sweep (the plan ends before the first token). Developed with an AI coding assistant; every number above was measured on the 2x RX 6900 XT machine described. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#5101
No description provided.