[GH-ISSUE #431] Feature request: NUMA-local expert placement beyond 2 nodes (4/8-socket servers) #173

Open
opened 2026-10-29 21:22:02 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @hristo000109 on GitHub (Oct 23, 2026).
Original GitHub issue: https://github.com/mw00/project-maya/issues/431

Hi, thanks for Project Maya.

Use case: large-RAM multi-socket servers (4- and 8-socket Xeon E7 v3/v4, e.g. Lenovo x3950 X6 or Supermicro 8048) are cheap on the used market and can hold DeepSeek-V4.1-Flash or GLM-5.3-Flash Maya-L entirely in RAM, with RTX 3090-class GPUs attached.

From reading the source, as I understand it:

  • GLM path: the RAM tier is one interleaved pool (MPOL_INTERLEAVE); CPU lanes are split per GPU, not per NUMA node.
  • DS4 path: experts are split per node, but nh = min(2, nodes) (ds4_model.cu ~4542), and only when experts are copied into RAM.

Request: per-node expert placement with node-local CPU threads for N > 2 nodes (similar to llama.cpp --numa distribute or ktransformers), for both the GLM and DS4 paths. Only activations would cross sockets, not expert weights.

Questions:

  1. Is there a technical reason for the 2-node cap (e.g. measured cross-socket cost)?
  2. Would you accept a PR for this, or is it out of scope?
Originally created by @hristo000109 on GitHub (Oct 23, 2026). Original GitHub issue: https://github.com/mw00/project-maya/issues/431 Hi, thanks for Project Maya. Use case: large-RAM multi-socket servers (4- and 8-socket Xeon E7 v3/v4, e.g. Lenovo x3950 X6 or Supermicro 8048) are cheap on the used market and can hold DeepSeek-V4.1-Flash or GLM-5.3-Flash Maya-L entirely in RAM, with RTX 3090-class GPUs attached. From reading the source, as I understand it: - GLM path: the RAM tier is one interleaved pool (MPOL_INTERLEAVE); CPU lanes are split per GPU, not per NUMA node. - DS4 path: experts are split per node, but nh = min(2, nodes) (ds4_model.cu ~4542), and only when experts are copied into RAM. Request: per-node expert placement with node-local CPU threads for N > 2 nodes (similar to llama.cpp --numa distribute or ktransformers), for both the GLM and DS4 paths. Only activations would cross sockets, not expert weights. Questions: 1. Is there a technical reason for the 2-node cap (e.g. measured cross-socket cost)? 2. Would you accept a PR for this, or is it out of scope?
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
mw00/project-maya#173
No description provided.