Archived
radiance 1.1.0
- The VRAM split has no ratio: --expert-vs-cache-ratio is gone (now an unknown option). The experts keep what the pinned host pool cannot hold, the KV cache takes the rest and lends idle blocks to the experts. Flash-Next at tp2: 7.9 GiB of KV a card, up from 4.7. Startup, /stats, /metrics and the dashboard report the most the cache can hold. - Linear-state snapshots live in pinned host memory, not VRAM (--checkpoint-slots sizes the store). Prefix-cache misses on agent sessions fixed; a published conversation is no longer trimmed away. - Any world size from the shipped container (baKon): --tp 3 on Flash-Next with no padded checkpoint -- the attention world, uneven delta-net heads, the fill op. - Kernels (keptn42): moe_gemm_q decode loads and one-trip run search, hc_read's prefill form (+3.7% prefill at 18K), hc_up row groups up to eight, the fused router launch. Each is the rule where it was measured faster; no environment switches. - Tool calls: a typed argument is always JSON (Python True/None no longer leak into arguments -- Codeberg #21); nine further reply-parser fixes; the reply path inside a call is ~12x cheaper on the host. - The kernel changes: prefill +2-3% and decode -2% a step on 2x R9700 at tp2, identical text.
This commit is contained in:
1 parent
9f5feb24ee
commit
82b5835c02
101 files changed
+5105
-3767
No files matched your search
@@ -13,23 +13,6 @@ int weight_share(const WeightInfo& w, const RadEncoding& enc, uint32_t rank, con
|
||||
return RAD_E_SHAPE;
|
||||
};
|
||||
if (w.n_sel < 1 || w.n_sel > RAD_ENC_MAX_PLANES) return refuse("no planes selected");
|
||||
/* A ZERO SHARE: the declaration's own extents of every selected plane, and nothing to read.
|
||||
* At one rank there is no share to zero -- the weight is whole and real. */
|
||||
if (w.shard_zero && world > 1) {
|
||||
for (int k = 0; k < w.n_sel; ++k) {
|
||||
const RadEncPlane& p = enc.plane[w.sel[k]];
|
||||
PlaneShare& s = out[k];
|
||||
s = PlaneShare{};
|
||||
s.dtype = p.dtype;
|
||||
s.rows = w.sel_rows[k];
|
||||
s.cols = w.sel_cols[k];
|
||||
s.row_bytes = rad_enc_row_bytes(p.dtype, s.cols);
|
||||
s.zero = true;
|
||||
if (s.rows <= 0 || s.cols <= 0)
|
||||
return refuse(fmt("a zero share of the '%s' plane has no extent", p.role));
|
||||
}
|
||||
return RAD_OK;
|
||||
}
|
||||
int64_t R = 0, C = 0;
|
||||
rad_enc_view(rank, shape, &R, &C);
|
||||
|
||||
|
||||
Reference in new issue
Block a user