radiance 2.0.0

Radiance becomes a multi-model engine: one process serves several models behind one port, loads
each when a request names it, parks it in host memory or restores it from its container, and
shares the cards between them (docs/MULTIMODEL.md). The configuration is one YAML file; the
command line flags are gone (`radiance --config FILE`, hot reload on SIGHUP).

Formats. IQ8R (rotated int8) and IQR-V4 replace FP8 and MXFP4 as whole-model formats, with an
int8 KV cache (`kv-cache-dtype: i8`) in place of the fp8 one. Containers whose weights are block
FP8, MXFP4, M2XFP4, NVFP4 or ParoQuant are refused at startup by the name of the first such
weight. Not served until they have int8 containers: GLM-5.3-Flash, Ornith-1.5, Sage-A1.5,
Nemotron-3.5-Bolt-74B, Ling-3.0-flash, drama-3 and Anima's FP8 container; Nemotron-3.5-Bolt-E4B,
the Gemma 4 31B DFlash containers and MiniCPM5-2B bf16 serve without their drafter. 1.17.0
serves all of them.

Speed. Chained launches for Qwen3.8-27B, Gemma 4, Gemma 3 and the small bf16 models, a new
Qwen3.8-Flash-Next container (IQR-V4 experts, int8 trunk) with its decode step and prefill
reworked, and a reworked adaptive draft window.

Deployment. deploy/compose has two fleet files, tp1.yaml and tp2.yaml, each with its
configuration beside it, in place of the per-model files. `host-pool-mib` is a model's host pool
in all, split among its ranks. The dashboard is rebuilt: an hour of history kept by the server,
each accelerator's memory by model, model states over time.

Merged since 1.17.0: Nemotron-3.5-Bolt-74B-A9B by keptn42 (#339); GLM-5.3-Flash on four cards by
AnimusNull (#397); chained launches for Flash-Next's decode step (#396) and preempted requests
keeping their prefix and place (#405) by mici81; --prefill-interleave auto by Code000 (#410);
eight more libr3d kernels and the w4a4 reference by RikshaDriver (#403, #407, #408); libr3d
large-BAR and E4M3 decode fixes by neuromanMD (#438, #439); int4/int5 decode tiles by Kezi
(#426); attention for Nanbeige 4.3 33B by everplays (#417); expert_stats_report.py by baKon
(#431). Fixed: #398, #402, #419, #437 (dschmitz's patch); added the metrics of #392, and
multi-model serving as asked for in #367 and #109.

Plugin ABI 39: out-of-tree plugins need to be rebuilt.

Thanks to @keptn42, @AnimusNull, @mici81, @Code000, @RikshaDriver, @neuromanMD, @Kezi, @everplays, @baKon and @dschmitz.
This commit is contained in:
Deadcode committed 2026-11-14 22:32:28 +01:00
1 parent b4c04b6042
commit ddcb9c69bb
696 files changed
+120770 -56596

No files matched your search

+18 -5
View File
@@ -21,6 +21,8 @@ core/plugin/ plugin loader, kernel registry, op schemas, selector, bucket t
core/build/ the declare phase: builder, weight manifest, buffer plan, graph dump
core/runtime/ the run phase: RadCtx, rad_issue, the arena
core/mem/ pools, slab, KV block manager, prefix cache
core/kvstream/ streamed KV: the host mirror, the VRAM ring and its bring-up (docs/KV-STREAMING.md)
core/lora/ LoRA adapters loaded beside the base model
core/sched/ scheduler, RadBatch construction, request lifecycle
core/place/ placement planner, the mover, the heat engine
core/sample/ device sampler dispatch, the host reference chain, grammar bitmask
@@ -30,25 +32,36 @@ core/gen/ image generation: the request and the pass driver
core/format/ the .rad reader and writer, safetensors, recipes, the imatrix, the tune cache
core/server/ HTTP: the OpenAI, Anthropic and llama-server endpoints, /metrics, the dashboard
core/diag/ the startup report
core/kld.* the KL mode: --kld-record / --kld-ref
core/fleet/ the YAML file `radiance --config` reads: levels, defaults, the flag table's keys
core/kld.* the KL mode: the kld-record / kld-ref keys
core/engine* the engine that ties them together; core/main.cpp is the `radiance` binary
libref/ every op, naively and correctly, host domain: the oracle and last resort
libr4d/ the RDNA4 (gfx12xx) kernel library: kernels, rows, layouts, fusion claims
libr3d/ the RDNA3/3.5 (gfx11xx) kernel library
libhalo/ the Strix Halo (gfx1151) kernel library
libavx/ the same vocabulary in x86 SIMD, host domain: the production host kernels,
built on every x86-64 build because the engine refuses to serve an op that
resolves only to libref (without --debug-accept-reference-kernels)
resolves only to libref (without debug-accept-reference-kernels)
libquant/ the built-in quantisers rad-convert's recipes name: grids, transforms, rtn, gptq
plugin/spechub/ the draft-coupling ops (`mtp_couple_propose`, `mtp_couple_verify`,
`dflash_couple_propose`, `draft-coupling: on`): schemas and shapes on the host,
launches on the card and in a host reference
arch/<id>/ one architecture plugin per directory
tools/ rad-info, rad-kbench, rad-convert, rad-tune, rad-schemas, rad-tokcheck,
rad-chatparse, rad-gbnf-check
tools/ rad-info, rad-convert, rad-export, rad-kbench, rad-tune, rad-schemas,
rad-tokcheck, rad-yaml, rad-chatparse, rad-gbnf-check
cmake/ rad_add_plugin, and the package config an out-of-tree plugin find_package()s
scripts/ harnesses for serving, tracing and profiling a running engine
dashboard/ the page the engine serves at `/` (React, built by Vite into
core/server/dashboard_page.h)
docker/ the image build (`docker/build.sh`) and its licence collection
deploy/ compose files, chat templates, Grafana dashboards
integrations/ clients of the HTTP API (ComfyUI nodes)
data/ kernels.rkb and kernels_moe.rkb: recorded references rad-kbench replays with
no model. Two, because no one container declares the whole vocabulary.
recipes/: the quantisation recipes of the containers this tree serves
docs/KERNELS.md what rad-kbench last measured, generated and checked in
vendor/ llama.cpp lifts tracked to an upstream commit (vendor/UPSTREAM), changed only
through vendor/patches/; nlohmann/json and cpp-httplib
through vendor/patches/; yyjson and cpp-httplib
tests/ ctest
```