mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #3294] [Engine] Qwen3.6-35B-A3B: layer split across 2 GPUs (single GPU = 58 tok/s vs 95 with llama.cpp -sm layer) #1333
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#1333
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 @FernandoSPinto on GitHub (Oct 20, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3294
Context
Strata's Qwen3.6-35B-A3B path (
src/qwen35) runs on one GPU only. Setup says it explicitly:With the 0.1.45.3 engine it now loads on 2x Tesla P100-16GB (32 GB total) — the earlier engine died at load with
cudaMalloc(&d, h.size() * 4) failed: out of memory(q36_engine.cu:954) — but everything stays on GPU 0:GPU 1 stays at 262 MiB (idle).
The case a layer split fits
docs/MULTI_GPU.mdcalls the fast one ("every expert in VRAM"), instead of the current hybrid mode (76/256 experts in VRAM, the rest from pinned RAM / CPU).docs/OLDER_GPUS.md(2x P100 reported; 2x P40 ran the layer split in a community benchmark: IQ2_XS 19.6 tok/s on one card, 34.8 on both, #1028).-sm layeron these two cards: 91-95 tok/s, against 58 with Strata today.Request
Port the layer split from
src/program/generate.cpptosrc/qwen35/q36_engine.cu: contiguous layer ranges per GPU, each layer's dense/GDN state and KV cache on its own GPU, and an expert cache per card for its own layers. Expose it as--gpus 0,1("gpu": [0, 1]+"layer_split": "auto"in the config) — the setup already accepts--gpusfor this family and then warns that it runs on one GPU.Reproduce
What I already checked (so this is not a duplicate)
docs/MULTI_GPU.md: the split exists for Flash-Next/Coder;--peer-deviceand--gpu-placementare expert-cache tiers, not a layer split (--peer-deviceis refused beside--layer-split).docs/SECOND_GPU.md: secondary-GPU expert tiers — a different mechanism, not offered for the qwen36 family.src/qwen35/q36_engine.cu: split-K (intra-GPU) only, nothing across devices.Assisted-by: Hermes Agent (Nous Research)
@DebugSultan commented on GitHub (Oct 22, 2026):
Strongly interested in multi-GPU support for Qwen3.6-35B-A3B on the src/qwen35 path: a layer split, and also a helper-GPU mode (as in docs/SECOND_GPU.md) would both be very welcome.
I can test it if useful: I have 2x sm_61 (Pascal) cards with 8 GB each, plus 32 GB RAM. With 16 GB total VRAM against the 22.9 GB UD-Q4_K_XL, I’d be exercising layer split + hybrid mode, not the all-experts-in-VRAM case. I’m also willing to test other quants (e.g. smaller ones) and report benchmarks or try early builds.
@Niko1221 commented on GitHub (Nov 5, 2026):
Thanks for taking the time to report this.
Strata has changed a lot since this was opened, and 0.2.11 is out now, so many older reports no longer apply. We're closing issues older than a week that have had no new reports in the last week. Closed here does not mean rejected.
To reopen it takes about two minutes:
/reopen. A check runs and either reopens the issue or lists what is still missing.The rules are in CONTRIBUTING.md.