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
+3
-6
@@ -26,8 +26,7 @@ typedef void (*RowDecode)(const uint8_t* const* src, uint16_t* const* dst, int64
|
||||
* elements -- E4M3 codes, or bf16 as stored -- `row_bytes` apart, `out` M rows of n_embd bf16
|
||||
* `x_ld` elements apart. The row cache and the reads deal in `row_bytes`; the decode in elements.
|
||||
* `ahead` holds n_ahead ids a later call will gather, or is null. rank and world_size are the
|
||||
* call's. `resident` is the op's parameter of that name: keep a copy of the table in RAM and read
|
||||
* that, once it is there (avx_ngram.cpp). */
|
||||
* call's. */
|
||||
struct RowGather {
|
||||
const int32_t* ids;
|
||||
int64_t M;
|
||||
@@ -40,12 +39,10 @@ struct RowGather {
|
||||
const int32_t* ahead;
|
||||
int64_t n_ahead;
|
||||
int rank, world_size;
|
||||
int resident;
|
||||
};
|
||||
|
||||
/* The gather, through the row cache when a file backs the table, from its copy in RAM once
|
||||
* `resident` has made one, and from the table's memory when no file backs it. Returns a RAD_*
|
||||
* status; on anything but RAD_OK the output is not complete. */
|
||||
/* The gather, through the row cache when a file backs the table and from the table's memory when
|
||||
* none does. Returns a RAD_* status; on anything but RAD_OK the output is not complete. */
|
||||
int row_gather(const RowGather& g, RowDecode decode);
|
||||
|
||||
} /* namespace avx */
|
||||
|
||||
Reference in new issue
Block a user