Archived
radiance 1.0.10
- Four-rank Qwen3.8-Flash-Next (PRs 14 and 16 by keptn42): the all-reduce runs fused with the hyper-connection's write, and with the MoE gather in front of it, on decode and verify steps on the exact wire. The routed experts are split in four classes, so every rank computes the same share; moe_gemm_q_mod4 is the new grouped GEMM. The oracle now checks moe_gemm_q on w4nl and w5nl containers. - --embedding-placement and --ngram-placement, each auto | vram | ram | disk. The token embedding can live in the pinned host pool, read in place over the link (from PR 17 by mechkbfan). An n-gram table can be copied into locked RAM at load instead of read from the container (from PR 15 by keptn42). auto takes the fastest tier with room once every other weight is placed, and startup prints what it chose and why. A tier that cannot be honoured stops the start with the reason; the embedding on disk and the n-gram table in VRAM are refused, since nothing can serve them. - The expert_tiered placement no longer spends the pinned host pool twice when it falls back to layer offload, and a lossy-wire request for a four-rank fused write is a selection miss rather than a startup abort.
This commit is contained in:
1 parent
2f56e3c477
commit
e466fa07e2
56 files changed
+1804
-761
No files matched your search
@@ -293,10 +293,10 @@ int Mover::init(const Program& prog, const Plan& plan, const MoverConfig& cfg, P
|
||||
*
|
||||
* A staging slot only ever receives a unit read from the container, so sizing it off every
|
||||
* class charges the host pool for classes that are never staged. The widest class is
|
||||
* typically the embedding table -- its own class, gigabytes wide, and resident in VRAM for
|
||||
* the whole run -- so sizing on it reserves several times that in pinned memory to receive
|
||||
* a weight that never arrives, and the file tier is then refused for want of memory it
|
||||
* did not need. */
|
||||
* typically the embedding table -- its own class, gigabytes wide, and never on the file
|
||||
* tier: in VRAM, or in the pinned host pool by --embedding-placement -- so sizing on it
|
||||
* reserves several times that in pinned memory to receive a weight that never arrives, and
|
||||
* the file tier is then refused for want of memory it did not need. */
|
||||
int64_t widest = 0;
|
||||
for (const MoveUnit& mu : plan.units) {
|
||||
if (mu.tier != Tier::SSD || mu.slab_class < 0) continue;
|
||||
|
||||
Reference in new issue
Block a user