mirror of
https://github.com/mw00/project-maya.git
synced 2026-12-03 19:04:50 +07:00
[GH-ISSUE #9] Feature request: one GLM-5.3-Flash instance across 4 GPUs for higher-precision quants #6
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
mw00/project-maya#6
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 @areslp on GitHub (Oct 8, 2026).
Original GitHub issue: https://github.com/mw00/project-maya/issues/9
Could Maya support a single GLM-5.3-Flash instance across 4 × V100 32GB GPUs? I have 128GB total VRAM and 128GB system RAM. The goal is to fit a higher-precision model; two separate two-GPU instances would not address this.
The current GPU selector limits an instance to two GPUs (
github.com/mw00/project-maya@0afe195a7b/maya.py (L251-L280)). Is a four-way layer split planned, and could it retain MTP? Beyond Maya-S/M, which higher-precision GGUF variants would work, and what model/context sizes are realistic after reserving memory for KV cache, duplicated weights and workspaces?I haven't tested Maya locally yet. Guidance on feasibility and the main implementation blockers would be appreciated.
@mw00 commented on GitHub (Oct 8, 2026):
Thanks for the detailed question. Today one Maya instance spans at most two GPUs: the engine splits the layers in two halves, one per GPU, with MTP speculative decoding across them, and the installer offers one or two cards. A four-way split isn't implemented. Whether to add it is the maintainer's call, and we'll follow up here.
What runs now on 4x V100 32 GB with 128 GB RAM:
What a four-way split would change: each card would get a quarter of the layers and about 28 GB of expert room, roughly 112 GB in all. That's about the size of Maya-M's routed experts (105 GB), so it would run almost entirely from VRAM.
Quants: nothing above Maya-M is published for Maya. The installer sets up Maya-S (96.5 GB) and Maya-M (116 GB).
@mw00 commented on GitHub (Oct 8, 2026):
Follow-up: a four-way layer split is now on Maya's roadmap - one instance across up to four GPUs, keeping MTP speculative decoding. Combined with your 128 GB of VRAM, Maya-M's routed experts would sit almost entirely in VRAM. No date yet; progress will be posted here.
@mw00 commented on GitHub (Oct 8, 2026):
This is in now. Since v1.0.12 (#12, by @needmorevram), one Maya instance can span up to 16 GPUs.
Setup:
./maya.sh --setup --gpus 0,1,2,3.STRATA_GLM_SPLIT(or the config's"layer_split") pins the boundaries.MTP: the speculative decode is the two-GPU pipeline. With three or more GPUs the draft block isn't loaded, so decode runs without MTP. Prompts on 3+ GPUs run in 512-token chunks so every card stays busy.
Measured by @needmorevram on nine GPUs (8x RTX 5060 Ti 16 GB + an RTX 3090):
We haven't measured 4x V100 ourselves (our machines have one and two).
For your 4x V100 32 GB + 128 GB RAM:
If you try it, a
./maya.sh --bench(then--report) result here would be very welcome. It would be the first 4x V100 entry in the README's table. Closing as done; reopen if anything doesn't work.