mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #557] AMD MultiGPU #266
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#266
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 @Elefant-Freeciv on GitHub (Oct 2, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/557
I have a couple of 7900 XTX cards, and was wondering when and if it will be possible to use both of them?
@Elefant-Freeciv commented on GitHub (Oct 2, 2026):
I've tried it with the current version, but only got 45 tk/s vs 60 with only one card.
@Niko1221 commented on GitHub (Oct 3, 2026):
Two cards already work on Linux:
./setup.sh --backend hip --gpus 0,1splits the model's layers across them (Windows AMD is one card per model for now).Your 45 vs 60 tok/s is what a split usually does when one card already holds most of the experts. Every token then crosses from one card to the other, and that hand-off costs more than the extra cache saves. On an R9700 + 9070 XT pair we measured the same thing: 51-52 tok/s alone, 42-43 split (docs/AMD_HIP.md). A split pays off when no single card can hold the experts, for example a bigger quant or a long context with the KV cache in VRAM.
"split_skip_if_fits": truein the config runs the pair on the first card alone when that card holds every profiled expert.Which OS, model and context are you running? Could you post the start of
strata-<model>.logfor the split run? Then we can see what the second card holds and whether a different split helps. 0.1.38 also adds--peer-device, which uses a second card as an extra expert cache instead of a layer split. It needs peer-to-peer access between the cards, though, and nobody has tried it on AMD yet.@Elefant-Freeciv commented on GitHub (Oct 3, 2026):
Im on arch, with qwen 3.8 flash next iq3_s, 262144 ctx.
at 262144 ctx, single gpu is more like 55 tk/s, dual gpu 46.6 tk/s
--peer-device is not recognized as an option, but git pull says already up to date.
strata-iq3_s (Copy).log
@warappa commented on GitHub (Oct 3, 2026):
@Elefant-Freeciv Had this too, but you just need to re-run
setup.py@Niko1221 commented on GitHub (Oct 3, 2026):
Thanks for the numbers and the log. A split being slower than one card is expected here: with IQ3_S, one 7900 XTX already holds most of the experts, so the hand-off between the cards costs more than the extra cache gives (details in docs/AMD_HIP.md). One card is the better setup for this model.
As warappa said,
--peer-deviceneeds the 0.1.38 engine:git pullupdates the code but not the built engine, so run./update.sh(or setup again). If you try--peer-deviceon the pair, a new issue with the log would be welcome; nobody has run it on AMD yet. Closing this one as answered.