radiance 1.15.0

New models and formats:
- IQR for Qwen3.8-27B: weights on the int8 grid under GPTQ, a trellis down each GPTQ column
  (IQR-V2), and IQR-V3, a computed trellis code under one scale a row, kept at its codes' width in
  VRAM and decoded in the GEMM; 15 IQR-V3 recipes from ~2 to ~7 bits a weight
  (data/recipes/q38-27b-*-v3.recipe, docs/IQR.md)
- libhalo: a kernel library for Strix Halo (gfx1151), preferred there over libr3d
- Nemotron 3.5 Embed 1B and 8B (nemotron35_embed): text and image embeddings through a Pixtral
  tower, on the card and on the CPU
- Nemotron 3.5 Rerank 8B
- /v1/systemone: Cloudflare's clef and clef-flash, Convai Innovations' Laya and Mica beside
  LiquidAI d1; scored steps read the candidates' logits from the head table with no lm_head pass
- LFM2's 8-bit trunk: block-fp8 or int8 linears with the fused producers, and the d1-3B recipe
- DeepSeek-V4.1's reply format with DSML tool calls and typed argument tags

Weights on the drive:
- The file tier reads only the experts the pass routes rows to; the draft head's weights stay in
  the host pool
- A hot VRAM cache for routed experts read off the drive, reads deposited straight into free host
  pool slots, and copyless evictions; the file tier's counters are now ssd_*
- GLM-5 Next shards its routed experts by expert, not by width, so they can live on the drive
- The stall watch counts drive reads as progress, and the DMA lane's room check reads the lane's
  own completion fence

Quantisation tooling:
- --calib-corpus, --calib-dir and --calib-layers record each linear's input Hessian; beside
  --kld-record the reference's own run records them
- --kld-top N records a sparse KL reference (the N most likely tokens and the tail's mass)
- GPTQ in a third of the time with the same codes, trellis GPTQ on the card, vector codebooks
  with coordinate descent, and rad-convert --reuse repeated, each container supplying what the
  earlier ones lack

Speculation:
- Prompt lookup alone (--spec-ngram K, --spec-ngram-min/-max): each sequence keeps an index of its
  n-grams, and a proposal is verified only when its measured step cost says it pays;
  --draft-window adaptive follows it

Speed:
- IQR decode: the narrow tile splits K for four times the int8 tile's waves and folds each 128-K
  block once; at 8 tokens down and the output projections run in 0.61-0.82x and 0.70-0.92x FP8's
  time (2-6 bits); IQ6R-S-V3 with its DFlash2 drafter steps in 26.3 ms at TP2, against 29.4 ms
  before and FP8's 27.3
- Qwen MXFP4 feed-forward: the gated fold up to 16 rows, not 8
- libr4d: the gated prefill fold, the short-prompt split row, and the rows forms of rmsnorm and
  rope; KLATE again for the head-256 gqa6 paged prefill; gram_accum on the matrix cores

Features:
- /health, /v1/health and /ping answer 503 with "status": "stuck" once the device has advanced
  nothing for a minute or a queue has faulted, so a supervisor can restart a wedged server (#356)
- --image-gen-max-pixels and --image-gen-max-refs size an image generator's buffers (#344)
- The startup report lists only the options not at their default, with a count; -v lists all
  (#250)
- --preempt-wait-ms bounds how long a preempted prefill waits for its whole-recompute room
- --placement layer_offload spills dense layers so one --max-model-len sequence fits
- Startup refuses amdgpu with CWSR off and says how to fix it;
  --proceed-with-incompatible-configuration starts anyway under an UNSUPPORTED banner

Fixes:
- The n-gram read-ahead hands each row to the reader once and reads only as far ahead as the row
  cache holds, and pauses while decode reads: about one drive read a row instead of two (#355)
- A file-tier window reads each of its runs once, not once a run per run
- The decode split law's verify floor is bounded by the batch's workgroups: max_seqs 256 no longer
  declares 64x the scratch (#342)
- A prefetch DMA list's mark stays out of the signal pool until the engine has read it, and a
  prefill stage copies only the blocks its own tables name (#343)
- The split-KV row sum is read with fetch-inactive (#328)
- LFM2 on the host backend: libref and libavx serve the row-form ops it declares (#348)
- The preempted-prefill gate skips a KV group that holds no blocks (#352)
- Every request entry point bounded, gated and sanitised (JSON depth, invalid UTF-8, control bytes
  in the log, the dashboard's CSP, cross-origin browsers on the loopback-only routes); a prompt id
  outside the vocabulary refused at admission; --api-key "" refused at startup
- The telemetry the HTTP thread reads is atomic
- An RMS norm row no longer depends on how many rows its launch carries; prefill attention's
  rescale is decided by live rows only
- A --kld-record prefill chunk that finishes no sequence gets its logits on a tied-head model
- A kernel's lazily made counter block is zeroed outside the lock other ranks take (a TP2 first-step
  hang)

Changes: Plugin ABI 32. Every plugin exports a layout fingerprint of the ABI structs and the loader
refuses a plugin without it or with another (#302), so out-of-tree plugins must be rebuilt.
Appended: RadBuildCtx calib_* and gen_max_*, RadArchProbe gen_max_*, RadBatch score_only and
plugin_words, RadDeviceProps::unified, RadChatFormat arg_json_value_prefix.
This commit is contained in:
Deadcode committed 2026-10-30 22:01:01 +01:00
commit 9ed3ef7a7b
452 files changed
+167762 -1346

No files matched your search

+123 -23
View File
@@ -51,6 +51,7 @@ driver. [`DOCKER.md`](DOCKER.md) covers it, with compose files per model.
| Required | Linux, a C++20 compiler, CMake 3.21+, Ninja, pthreads |
| Optional | ROCm with `hipcc`, for AMD device kernels; without it you get the host backend. Set `ROCM_PATH` if ROCm is not at `/opt/rocm` |
| With a card | Resizable BAR on (Above 4G Decoding and Resizable BAR in the firmware setup). The host writes every dispatch's arguments into VRAM there. On a card whose BAR is smaller than its VRAM they stay in pinned host memory and every dispatch reads them over the link: on R9700s, Qwen3.8-27B fp8 decode steps take 0.4-1.8% longer at `--tp 1` and 2 than with the arguments in VRAM. Peer access needs the large BAR too, so at `--tp 2` and above such a card takes the collectives through host memory (§4.7) |
| With a card | `amdgpu.cwsr_enable=1` (the default). With compute wave save/restore off the driver cannot preempt a queue it must evict, and the card hangs and resets. Startup refuses to serve on cards with it off and says what to change; `--proceed-with-incompatible-configuration` starts anyway, **unsupported**, with a banner at the top of the log and of the startup report and `unsupported_configuration: true` in `/diagnostics` |
| Optional | OpenMP, used by the host kernel libraries if present |
| Optional | `libavformat-dev libavcodec-dev libavutil-dev libswscale-dev libswresample-dev` (ffmpeg 6+), for image, video and audio input. CMake option `RAD_WITH_FFMPEG`: `AUTO` (default) uses them when found, `ON` fails the configure without them, `OFF` builds without. A build without them starts and serves text, and refuses every image, video and audio part with HTTP 500; the only warning is the configure log line `radiance: no libavformat ...`. The diagnostics report says which (`media decoders`; `host.media` in `GET /diagnostics`) |
| Optional | `clang++` (or ROCm's), for `tests/r4d_emu` when the C++ compiler is g++; CMake 3.25+ for `CMakePresets.json` |
@@ -826,14 +827,7 @@ radiance --model qwen3.8-27b-fp8.rad --tp 1 --vision-tower-placement ram
*An n-gram table* (Qwen3.8-Flash-Next's is 47.7 GiB) is read a few rows a token. `disk` reads rows
from the container through a row cache with direct reads on the host; about half of a step's rows
are first-seen, so steps wait on the drive. (That is libavx's `embed_lookup_q`. A host gather
without a row source of its own, such as libref's `embed_lookup_planes` over a GGUF table's planes,
reads through the mapping; the engine then asks for every page a step's rows cover before the
gather runs, so the drive answers them together rather than one fault at a time. A long gather
(a prefill chunk's) whose sampled rows are already resident is asked for beside the gather
instead, so a warm chunk does not wait for the asking: ~0.5 us a page, ~240 ms a rank for an
8192-token Engram chunk.
`--row-prefetch off` turns that off.) `ram` copies the table into host memory at load (12 to
are first-seen, so steps wait on the drive. `ram` copies the table into host memory at load (12 to
40 s more startup, depending on the page cache) and the card's gather kernel reads the pinned copy,
so a step has no host work. `vram` puts all of it on every card. `ram` needs the table's size free
after the pinned host pools and the prefix cache's host tier, with `--host-headroom-mib` to spare
@@ -1363,13 +1357,12 @@ radiance --model m.rad --spec-ngram 5 --draft-window adaptive # each sequence's
radiance --model m.rad --num-speculative-tokens 4 # a head drafts; lookup fills in where it declines
```
`--spec-ngram K` sets the window to K (a different `--num-speculative-tokens` is refused) and asks
the plugin to leave out any draft head the container carries (`RadBuildCtx::draft_head_off`), so
the head's weights take no memory: the choice for a model whose head does not fit, or does not pay.
A plugin that declares its head regardless is refused at startup. Without the flag, prompt lookup
still drafts for every sequence a declared head declines, and is the only drafter when speculation
is on (`--num-speculative-tokens N`) and the container has no head. Startup says which
(`speculation: prompt lookup only (--spec-ngram K)`), and the drafts count in `draft_n` /
`--spec-ngram K` sets the window to K (a different `--num-speculative-tokens` is refused) for a
container that declares no draft head; one that declares a head is refused at startup, because the
head would draft in lookup's place (serve it with `--num-speculative-tokens N`). Without the flag,
prompt lookup still drafts for every sequence a declared head declines, and is the only drafter when
speculation is on (`--num-speculative-tokens N`) and the container has no head. Startup says which
(`speculation: prompt lookup only -- this container declares no draft head`), and the drafts count in `draft_n` /
`draft_n_accepted` and the `radiance:draft_*` metrics like a head's. Prompt lookup reads the
committed sequence, so a step is not issued ahead of the previous one's readback.
@@ -2067,8 +2060,6 @@ by 0.002-0.003 nats.
| `--ngram-placement WHERE` | auto | `auto`, `vram`, `ram` or `disk`: an n-gram table on the card, as a copy in RAM made at load and read by the card, or read from the container (§4.3) |
| `--vision-tower-placement WHERE` | vram | `vram` or `ram`: the encoder towers (vision, and audio where a model has one) on the card, or pinned in host memory beside `--host-pool-mib` and read in place once an image (§4.3) |
| `--weights-disk-tier` | off | read weights that fit neither VRAM nor the host pool from the container (O_DIRECT); routed experts a layer at a time |
| `--row-prefetch MODE` | on | `on` or `off`: a host gather from a table read through the container's mapping (`--ngram-placement disk`) asks for its rows' pages before its kernel, or beside it when they are resident (§4.3); the output is the same either way |
| `--mapped-rewarm MODE` | on | `on` or `off`: at startup, the pages of such a table an earlier run left in the page cache, and the load's own allocations pushed out, are asked for again (at most half of the available memory), so the first requests after a restart do not read them from the drive |
**LoRA adapters** (§4.9.1)
@@ -2116,7 +2107,7 @@ by 0.002-0.003 nats.
| flag | default | |
|---|---|---|
| `--num-speculative-tokens N` | auto | speculative window; 0 disables. The ceiling under `--draft-window adaptive` |
| `--spec-ngram K` | 0 | prompt lookup alone: up to K drafts a step from the sequence's own n-grams, each proposal verified when it pays at the measured step cost; no draft head declared; sets the window to K (§4.6) |
| `--spec-ngram K` | 0 | prompt lookup alone: up to K drafts a step from the sequence's own n-grams, each proposal verified when it pays at the measured step cost; a container that declares a draft head is refused; sets the window to K (§4.6) |
| `--spec-ngram-min N`, `--spec-ngram-max N` | 2, 4 | the pattern lengths prompt lookup tries, longest first (at most 15), wherever it drafts |
| `--draft-window MODE` | fixed | `fixed` drafts N every step; `adaptive` follows each sequence's acceptance and the measured step cost, for a serial draft head or prompt lookup alone (§4.6) |
| `--draft-short-from N` | auto | a block drafter that declares a shorter block runs it from N decoding sequences on, its own block again two below or at one sequence; 0 never; auto never for a chain and 2 for a tree drafter, which then verifies the short block's nodes (§4.6) |
@@ -2177,6 +2168,7 @@ flags are refused on it, and so are the pixel bands.
| `--video-min-frames N`, `--video-max-frames N` | container's | the fewest and most frames sampled from a video |
| `--video-max-frame-tokens N` | container's | the most prompt tokens one frame may become; 0 is no cap. A token-budget processor (Gemma 4's) takes 70, 140, 280, 560 or 1120 |
| `--image-tokens N` | container's | a token-budget processor's image budget: Gemma 4's 70, 140, 280, 560 or 1120, which a request's `image_tokens` overrides; GLM-5.3's ceiling, at most `--mm-max-patches` / 4 (the checkpoint states 8000, which `auto` lowers to 4096). The pixel-band flags are refused on such a model |
| `--image-gen-max-pixels N`, `--image-gen-max-refs N` | the model's | an image generator's largest image, in pixels, and the reference pictures a request. The generator sizes its per-image and conditioning buffers, and so the activation arena, for them; on a card the weights nearly fill, a smaller image is what makes room. Larger requests are refused; a generator that keeps fixed buffers is named at startup. Images in flight follow `--max-num-seqs` |
| `--max-source-pixels N` | 67108864 | the largest image or frame the decoder accepts, before any resize |
**Quality measurement**, instead of serving; see [TOOLS.md](TOOLS.md#the-kl-mode)
@@ -2186,6 +2178,10 @@ flags are refused on it, and so are the pixel bands.
| `--kld-record DIR` | run `--kld-corpus` through prefill and write this model's log-probabilities at every scored position to `DIR`: the reference a quantised model is measured against |
| `--kld-ref DIR` | score this model against the reference in `DIR`: mean, median, 99/99.9/99.99th percentile KL divergence and top-1 agreement |
| `--kld-corpus FILE` | JSONL, one `{"prompt", "score_from"?, "source"?}` a line; `--kld-record` only |
| `--calib-corpus FILE` | instead of serving, run a JSONL corpus (`{"prompt"}` a line) through prefill once, every token, and record the calibration statistics the model keeps: the whole Hessian of each linear's input (docs/TOOLS.md) |
| `--calib-dir DIR` | where `--calib-corpus` writes them, one safetensors file per input; beside `--kld-record`, that run records them over the KL corpus too |
| `--calib-layers LO:HI` | record layers `LO`..`HI-1` only (default every layer), for a model whose statistics do not fit in host memory in one run |
| `--kld-top N` | `--kld-record` keeps each position's `N` most likely tokens exactly and the mass of the rest instead of the whole vocabulary, for a corpus too large for full rows; 0 (default) keeps the whole vocabulary |
| `--kld-out FILE` | the `--kld-ref` report as JSON, and every position's numbers in `FILE.rows` |
| `--kld-lora NAME` | run the documents through the `--lora` adapter `NAME` (§4.9.1), e.g. against a reference recorded from the merged checkpoint |
| `--kld-lora-sources PREFIX` | with `--kld-lora`, only the documents whose `source` starts with `PREFIX` run through the adapter; the rest run as the base, in the same steps |
@@ -2198,8 +2194,8 @@ flags are refused on it, and so are the pixel bands.
| `--debug-selection` | print the selection table |
| `--debug-placement` | print the placement plan |
| `--debug-draft-oracle FILE` | a verify-path test, not a drafter: with `--spec-ngram`, prompt lookup proposes from the token ids in `FILE` (a plain greedy run's continuation of the one prompt the test sends) with 30% of the drafts corrupted, so verifies accept and reject at every depth; the text must stay the plain run's |
| `--debug-tape-dump` | list the dispatches of the first recorded pass of each kind (`TAPEDUMP` lines on stderr, every rank) and which of them start unordered behind the one before |
| `--debug-accept-reference-kernels` | serve even when ops resolve to `libref`. Not a production configuration |
| `--proceed-with-incompatible-configuration` | start on a machine configuration startup refuses (§1.1: CWSR off where cards serve). **Unsupported**: all guarantees are off, and the log and the startup report say so |
| `--profile-ops` | per-op device timing |
| `--expert-stats FILE` | count the routed experts every layer selects, apart for prefill, decode, mixed steps and draft-head passes, and write them to `FILE` as JSON every 30 s and at shutdown (written through a temporary and a rename). Counted on the host from the routing histograms the core already copies back for the heat engine, so it adds no device work and no synchronisation; under expert parallelism each rank's slice is mapped to the model's expert ids through the container's directory |
| `--live` | the live terminal view (§6.4) |
@@ -2217,7 +2213,7 @@ flags are refused on it, and so are the pixel bands.
| `POST /v1/completions` | raw text completion |
| `POST /v1/embeddings` | needs a model with an embedding head, else 501 |
| `POST /v1/images/generations`, `POST /v1/images/edits` | OpenAI's images API; needs an image model (Qwen-Image 2.1), else 501 (§5.6) |
| `POST /v1/systemone` | LiquidAI d1's decisions over a state: named yes/no, choice and score questions answered as probabilities, nothing generated; needs a container converted as d1, else 501 (§5.13) |
| `POST /v1/systemone` | Decisions over a state: named yes/no, choice and score questions answered as probabilities, nothing generated; LiquidAI's d1, Cloudflare's clef and clef-flash with their joint head on the card, or Convai Innovations' Laya; needs a container converted as one, else 501 (§5.13). `POST /v1/decisions` is the same endpoint under LiteLLM's name |
| `POST /v1/audio/transcriptions` | OpenAI's speech to text, for a model whose plugin transcribes (Qwen3-ASR), else 501 (§5.14) |
| `GET /v1/realtime` (WebSocket) | OpenAI's realtime transcription session: audio streamed in, the words back as they are spoken (§5.14) |
| `POST /v1/audio/speech` | OpenAI's speech API, whole or streamed: speech from a speech model (Breeze-TTS-2, `instructions` describing the voice; drama-3, speakers and direction in the input); songs from a music model (MiniMax-Music3), `input` the lyrics and `instructions` the song; else 501 (§5.15) |
@@ -2984,6 +2980,107 @@ together. A single question is one pass of the whole prompt, tokenised as one te
Against d1's own runner in float32, on eight text cases (one and several questions, JSON and long log
states): every choice and every `input_tokens` equal, worst probability difference 0.0044.
#### clef and clef-flash
Cloudflare's clef (27B) and clef-flash (9B) are decision models on Qwen3.5 that answer the same
request, every question of it jointly: a joint schema head reads the backbone's final hidden state
at every prompt position, the mean over each question's instructions and each option's text, and
the lm_head rows of each option's tokens, and gives one logit an option. radiance runs that head
on the card, after the trunk, in the `clef_bf16` and `clef_fp8` plugins (`arch/clef_bf16`,
`arch/clef_fp8`: the qwen35 plugins' own code with `arch/common/rad_block_clef.h` after it): there
is no second process. The head's own tensors ship as
`joint_head.safetensors` beside the checkpoint and are added at convert; `joint_head_config.json`
beside them gives the head's geometry.
```sh
rad-convert /srv/models/clef-flash -o clef-flash.rad --arch clef \
--add /srv/models/clef-flash/joint_head.safetensors --set decision.type=clef
radiance --model clef-flash.rad --port 8000
```
`--arch clef` selects the `clef_bf16` and `clef_fp8` plugins, the qwen35 trunk built again with
the head after it; a container left as `qwen35` serves generation and answers `/v1/systemone`
with 501.
The request and the response are the same as d1's above; `/v1/decisions` is the same endpoint
under LiteLLM's name. What differs:
- One request is one prompt, the state and every question together, so questions are not shared
through the prefix cache; a state many requests share (the rules in front of each respondent)
is, with the head's own per-token rows beside the trunk's cache.
- `state` must be a non-empty string or JSON value; pictures answer 501 for now.
- A prompt longer than the context answers 400 with `context_length_exceeded` (clef's own code
cuts it silently). A request has at most 64 questions, 512 options and 8192 option tokens.
- The head runs on one rank, and the lm_head stays bf16 (a recipe that quantises it is refused).
- `GET /v1/models` reports `"decision": "clef"` in the model's capabilities.
Against clef's own head on the CPU reference, on a tiny model with random weights
(`tests/clef_decision_test.cpp`): worst probability difference 0.0004.
#### Laya
Convai Innovations' Laya checkpoints (`laya`, `laya-typed-decisions` on ModernBERT-large, and
`laya-multilingual` on mmBERT-base) are encoder decision models. Laya reads one sequence a
question, `[CLS] <type> question: <instructions> [SEP] [MASK] option ... [SEP] <state> [SEP]`, and
scores each option at its `[MASK]` with a small head after the encoder. radiance builds those
sequences in the server (`core/server/laya.cpp`, a rewrite of the `laya` package's own code) and
runs the encoder and head in the `laya` plugin (`arch/laya`), on the embedding path: no KV cache,
every question of a request in one step, each answered in its pooled row.
```sh
rad-convert /srv/models/laya-typed-decisions -o laya-typed-decisions.rad --set decision.type=laya
radiance --model laya-typed-decisions.rad --port 8000
```
rad-convert reads the release's folders: `encoder/config.json` for the geometry,
`rl_agent_config.json` for the sequence budget and the fitted temperatures, and `tokenizer/`. The
checkpoint's `config.json` already says `model_type: laya`, so `--set decision.type=laya` is
optional. A checkpoint as the `laya` package downloads it, with no `config.json` of its own,
converts the same way. The release ships f16 weights. rad-convert rounds the linears and tables to
bf16 itself, which is how the release computes them on a card, and records the rule in the
container's recipe.
The request and the response are the same as d1's above. What differs:
- A state longer than the room a question leaves is cut, as the `laya` package cuts it: to its
start, or to its end for a list of turns. `usage` reports the cut with the package's own keys:
`state_tokens`, `state_tokens_dropped`, `truncated` and `truncated_questions`.
- `confidence` is the package's: 1 minus the normalised entropy for choice and score. The fitted
temperatures are clamped to [0.5, 5], as the package clamps them.
- A choice has at most 255 options, and options that do not fit the sequence answer 400.
- `state` must be a non-empty string or JSON value. Pictures answer 501, and `/v1/embeddings`
answers 501 (the pooled row holds option logits, not a vector).
- `GET /v1/models` reports `"decision": "laya"` in the model's capabilities.
Against the `laya` package's own `Agent.predict` on the CPU reference, on a tiny model with random
weights (`tests/laya_decision_test.cpp`): every `usage` field equal, worst probability difference
0.0162 (0.0266 on a score's expected level).
#### Mica
Mica (`sky7350/Mica-v0.5-4B`, a fine-tune of Qwen3.5-4B) answers with d1's readout: one prompt a
question -- a fixed system message, the state, the question and its candidates under labels -- and
a softmax over the label tokens' logits at the prompt's last position (`No`/`Yes` for a yes/no
question, `A`, `B`, ... for a choice or a score). The qwen35 plugins serve it as they serve the base
model. The prompts and the response are built in the server (`core/server/mica.cpp`, a rewrite of
Mica's `contract.py` and `native.py`), and a request's questions share the state through the prefix
cache.
```sh
rad-convert /srv/models/Mica-v0.5-4B -o mica.rad --set decision.type=mica \
--set decision.mica.temperature=T --set decision.mica.noul_logit_bias=B
radiance --model mica.rad --port 8000
```
`T` and `B` are the release's calibration (`calibration.json`): one temperature for every question
type and a bias on a yes/no question's true logit. Unset, the temperature is 1 and the bias 0.
The request and the response are the same as d1's above. What differs: every prompt is Mica's exact
"plain" profile (its runtime's long-input mode, which approximates prompts over about 1K tokens, is
not served), and `GET /v1/models` reports `"decision": "mica"`. Against the contract fixtures Mica's
repository ships (`tests/mica_test.cpp`): every prompt byte for byte, every response value for
value.
### 5.14 Speech to text
A model whose architecture plugin says how it transcribes -- Qwen3-ASR, served as its checkpoint
@@ -3744,8 +3841,10 @@ The last block startup prints before `serving on` is `STARTUP REPORT`. A startup
it too, after the error, with what it had resolved, and ends with an `E` line repeating the error. It
is the part of a log to paste into an issue. Its sections:
- **CONFIGURATION**: every option `--help` lists, with the value in force and its source
(`default`, `command line`, an environment variable, or `auto`). An `auto` line carries the reason
- **CONFIGURATION**: the options not at their default, with the value in force and its source
(`command line`, an environment variable, or `auto`), then a count of the options at their
default; `-v` lists every option `--help` lists, and `/diagnostics` always carries every one. An
`auto` line carries the reason
under it: the drafter's depth, where the embedding and n-gram table went, the VRAM split, the
placement strategy, each sampler default and the file it came from. `--api-key` shows only `set` or
`not set`.
@@ -3763,7 +3862,7 @@ is the part of a log to paste into an issue. Its sections:
warning is also printed as a `W` line of its own.
```
I STARTUP REPORT -- radiance 1.14.0
I STARTUP REPORT -- radiance 1.15.0
I CONFIGURATION -- every option, the value in force, and where it came from
I --model /models/flashnext.rad [command line]
I --tp 2 [command line]
@@ -3799,6 +3898,7 @@ curl -s -H "Authorization: Bearer $KEY" localhost:8000/diagnostics | jq '.findin
| Message | Meaning | Action |
|---|---|---|
| `N declared op(s) resolve only to a reference implementation (libref)` and the engine exits | No kernel library covers those ops on this card (§2) | Install a library that covers them, or accept the cost with `--debug-accept-reference-kernels`. The named ops are what a new library must implement |
| `incompatible configuration: ...` and `radiance does not start on a configuration it does not support` | A machine setting known to break radiance (§1.1) | Make the change the line names (`Fix:`) |
| `DID NOT FIT` in the placement plan, naming a weight class, or `KV group '...': ... did not fit the KV pool` | The split left one side too little. A routed expert cannot be served from the file tier, so it has nowhere else to go | If weights did not fit: add or raise `--host-pool-mib`, or lower `--max-model-len` or `--max-num-seqs`. If a KV group did not fit: `--kv-cache-dtype fp8`, or a larger `--host-pool-mib` (RAM permitting), which takes experts off the card. The plan report names which, by class, with the shortfall |
| `this kernel's amdgpu interface is 3.N ... a map here would never return` | The HIP 7.16 (ROCm 10.1) runtime waits for the kernel to finish every virtual-memory map on a page-table timeline, which amdgpu signals only from interface 3.64 (Linux 6.16) on; an older kernel never signals it, so the card runs without virtual memory management: the KV cache holds its whole carve and lends nothing to the experts (§4.3) | A 6.16 or later kernel, or an amdgpu-dkms driver of interface 3.64 or later |
| `chat is 501` in the `serving on` line | The container carries no chat template | Re-convert with `--tokenizer`, and check that a `chat_template.jinja` sits beside `tokenizer_config.json` in the checkpoint. Meanwhile use `/v1/completions` |