Maya now runs on two AMD GPUs (experimental), with MTP drafting on the second card, contributed by @boxwrench.
Update: git pull, then ./setup.sh. On two AMD cards: ./maya.sh --setup --backend hip --gpus 0,1 (see docs/AMD_MAYA.md).
What's new
- Two AMD GPUs (#14 by @boxwrench):
./maya.sh --backend hip --gpus 0,1splits the layers across two supported cards: RX 7900 XT / XTX, Radeon AI PRO R9700 / RX 9070. The two cards may be different models.- The second card runs the MTP block, which drafts the next token.
- Setup puts the card with more VRAM first and writes one hipBLASLt tuning table per card's architecture (
STRATA_HIPBLASLT_TUNINGtakes a:-separated list). - Measured by @boxwrench with Maya-S on an R9700 + RX 7900 XT: decode (writing the answer) about 33 tokens/s, against about 15 on the RX 7900 XT alone; prefill (reading the prompt) about 490 tokens/s on a 4K-token prompt, against about 414.
- Details: docs/AMD_MAYA.md.
- NVIDIA: unchanged. The change is in the AMD setup and the AMD-only prompt GEMM code, and every NVIDIA target builds.
- Not tested by us: we have no AMD hardware, so these results are the contributor's.
- README: AMD now says one GPU or two, and the install line shows
--gpus 0,1.
Thanks to @boxwrench for #14.