glm5next: the width split is for all-MXFP4 experts

The layout rule chose the width split at four ranks and up before it knew the
weights' format. MoeFP8 refuses to slice a plain bf16 expert, so a container
of bf16 experts, or of MXFP4 with protected bf16 ones, that main serves at TP4
was refused unless --weights-disk-tier was set.

Read the container's encodings first, on every rank alike, and take the width
split only when every routed expert is MXFP4. The check declares no name map,
so no pinned graph moves.
This commit is contained in:
AnimusNull authored and AnimusNull committed 2026-11-05 14:25:05 +00:00
1 parent e0c386ee85
commit f713f449c2
3 files changed
+83 -4

No files matched your search

+2 -2
View File
@@ -887,8 +887,8 @@ as shipped, to calibrate or compare against. The bf16 Qwen3.8-Flash-Next (335 Gi
cards at about 28 s a 32K-token step, so use large prefill steps:
GLM-5.3-Flash lays its routed experts out by what the deployment needs. At four and eight cards each
expert is split by width across every card, the shape its MXFP4 kernels are tuned for, and every expert
must then fit in VRAM and the host pool. `--weights-disk-tier` keeps them whole on one card each, so they
MXFP4 expert is split by width across every card, the shape its kernels are tuned for, and every expert
must then fit in VRAM and the host pool. A container with any expert in another format stays whole. `--weights-disk-tier` keeps them whole on one card each, so they
can stay on the drive, at about a third of the prefill speed and two thirds of the decode speed on 4 x
R9700. Two cards always keep them whole.