mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #1304] Prefill/Reading the prompt with multi-gpu cards is slow #532
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#532
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 @sense1024 on GitHub (Oct 7, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/1304
I have 2x 2080TI 22GB with NVLink.
I use them to run llama.cpp with Qwen 3.8 27B Q6. The prefill speed is between 2300 and 700 t/s.
Now, I set up Strata with 3.8 Flash Next IQ3_S. The prefill speed is always less than 400 t/s.
Why and how to improve prefill speed?
I know that the current version of Strata does not support P2P/NCCL communication.
Do I need to remove NVLink to run Strata?
Thanks.
@KLNHOMEALONE commented on GitHub (Oct 7, 2026):
The same with 2 5060Ti 16gb. The prefill is around 288 t/s. No NVLink. But my PCIE is 8/4. With 1 5060Ti the prefill is around 1400-1500 t/s.
@Niko1221 commented on GitHub (Oct 7, 2026):
Two RTX 2080 Ti with NVLink: the default layer split cannot use NVLink, so each prompt chunk crosses PCIe from card to card. Try --peer-device (it uses peer-to-peer copies, which is what NVLink speeds up) and --pipeline-windows N (it overlaps the two cards while the prompt is read); on two-GPU boxes the peer path is the faster prompt route. Please post the full command line, the startup log (the GPU, split and expert cache lines) and the prompt tok/s you get with each flag, plus how you measured the llama.cpp numbers (model, quant, prompt length), and we will see what is left.
@MarsLuay commented on GitHub (Oct 13, 2026):
I ran the requested A/Bs on Strata v0.1.43.1 CUDA 12 with an RTX 3080 Ti 12 GB (CUDA0) + Tesla V100 32 GB PCIe (CUDA1) on Windows/WDDM. This is PCIe-only (no NVLink). Model: Qwen3.8-Flash-Next GSQ-RCO IQ3_S; 131,072-token context;
--spec 4 --mtp; 10,064-token prompts; 128 greedy output tokens; two measured requests per arm after warm-up. Prompt tok/s is the engine's reported prompt rate; decode is the reported generated-token rate.Manual layer split baseline
Arguments added:
Startup:
Prompt: 1,460.0 / 1,494.1 tok/s (mean 1,477.0). Decode: 68.4 / 72.0 tok/s (mean 70.2).
--pipeline-windows 2Arguments added:
I omitted
--remote-expert-optfor this arm. Startup reported:Prompt: 1,445.7 / 1,532.8 tok/s (mean 1,489.2). Decode: 78.6 / 76.7 tok/s (mean 77.7). All verify captures reported upload/sync without error.
--peer-device 1Arguments added:
The model remained on CUDA0; both CUDA ordinals were visible to the engine. Startup reported:
Prompt: 634.2 / 665.1 tok/s (mean 649.7). Decode: 86.0 / 89.2 tok/s (mean 87.6). The peer path moved about 82% of routed decode traffic through the peer/PCIe path in these requests, so it improved decode but substantially slowed prompt reading versus the layer split. No request or verification errors occurred.
On this PCIe-only pair,
--pipeline-windows 2is the useful prompt/decode tradeoff;--peer-deviceis faster for decode but not for prompt ingestion. The peer result is not an NVLink result.@Niko1221 commented on GitHub (Oct 13, 2026):
Thanks for the report. To keep the tracker current we are closing issues older than three days: 0.1.44 is out with a long list of fixes, and many older reports are covered by it or by 0.1.43.1.
If this still happens on 0.1.44, please leave a comment here with your engine log (and the version line it prints), and we will reopen it. A new issue that links this one works too.