Archived
radiance 1.0.13
- Faster prefill on models with an MTP head (Qwen3.8-Flash-Next, Qwen3.6-35B-A3B). Every prefill chunk but a prompt's last runs the head only to leave its K and V behind, and the head no longer runs its expert layer and lm_head for nothing on those chunks. Flash-Next on two R9700: +1.4% at 8K tokens, +3.2% at 26K, +5.9% at 78K; text and decode unchanged. From Code000's opt33. - A request log at the info level: one line when a request is admitted (endpoint, peer, message and tool counts, prompt tokens, max_tokens), one when it ends (finish reason, cached prompt, generated and reasoning tokens, time to first token, decode rate), and every refusal with its status and peer -- a wrong API key included. No prompt text at info. (baKon) - deploy/grafana: a dashboard for /metrics on Prometheus or VictoriaMetrics. (keptn42) - Three-rank tensor parallelism for Qwen3.8-Flash-Next: the all-reduce and all-gather at three ranks, the vocabulary split by 128-row blocks where the world does not divide it, and tools/pad_tp.py to pad the checkpoint's head counts to a world of three -- docs/TP3.md. (baKon)
This commit is contained in:
1 parent
6b394ccca6
commit
d0f639bd06
16 files changed
+121
-62
No files matched your search
@@ -413,8 +413,10 @@ static int declare(RadBuilder* b, const RadModelMeta* meta, const RadBuildCtx* c
|
||||
|
||||
/* ---- the routed feed-forward.
|
||||
*
|
||||
* n_ff is `moe_intermediate_size` and geom_from already divided it by world_size -- and that
|
||||
* division is exactly what the header's tensor-parallel section is about. */
|
||||
* n_ff is `moe_intermediate_size`: divided by world_size when the world divides it, and left
|
||||
* whole when it does not (geom_from's `arch_splits_ff`). Either way it is only the starting
|
||||
* point -- at more than one rank the split below decides the rank's width, by whole fp8
|
||||
* blocks and parity, which is what the header's tensor-parallel section is about. */
|
||||
{
|
||||
MoeFP8::Config& mc = m.moecfg;
|
||||
mc.n_expert = meta_int2(meta, "qwen4exp.expert_count", "num_experts", 0);
|
||||
|
||||
Reference in new issue
Block a user