radiance 1.0.6

- A text prompt to /v1/completions reads the model's control tokens as tokens, as vLLM and
  llama.cpp do. A client that renders its own chat template can send "<|im_start|>user ..." and
  the model sees the turn markers; they used to reach it as plain text. /tokenize and
  /v1/embeddings read a text prompt the same way, and a prompt that already opens with BOS gets
  no second one.
- The VRAM budget counts the engine's own hardware queues, which the driver backs with about
  33 MiB of VRAM each, and the KV tiers' copy staging. Both used to come out of
  --gpu-headroom-mib: Qwen3.8-Flash-Next ran with 9 MiB free under load against the 96 MiB it
  asked to keep, the room a kernel's first launch allocates from. The startup receipt has a
  "hardware queues" line.
- Running the whole model on the CPU (RADIANCE_HOST_DOMAIN=1 with no GPU visible) no longer
  repeats words or answers differently at temperature 0. A decode step could read its input
  token before the copy that delivers it had landed.
- The README says to clone the repository before installing.
This commit is contained in:
Deadcode committed 2026-10-04 20:07:08 +02:00
1 parent 6c11671bdd
commit 6df26315b9
25 files changed
+432 -82

No files matched your search

+11
View File
@@ -513,6 +513,12 @@ quite keep its headroom is safe rather than fatal — but it is costing you the
`--gpu-headroom-mib` past the number startup names, so the budget resolver sees it and the expert
plane is sized against it instead of trimmed afterwards.
What the engine itself allocates after the card is read is charged before the split, so it never
comes out of the headroom: the step staging, the KV tiers' copy staging, and its hardware queues.
A queue costs more than its ring — the driver backs each one with VRAM of its own, 33 MiB on an
R9700 — so startup measures one and the receipt's `hardware queues` line shows how many a card
holds at that price.
### 4.4 Long context
```sh
@@ -958,6 +964,11 @@ Method spellings follow vLLM's, including the ones that look odd: `/tokenize` is
input is a body, and `/ping` answers both GET and POST because different load balancers send
different ones.
A text prompt to `/v1/completions`, `/v1/embeddings` or `/tokenize` reads the model's control
tokens as tokens, as vLLM and llama.cpp do: a client that renders its own chat template can send
`<|im_start|>user\n…` and the model sees the turn markers. The BOS the model declares is prepended
unless the prompt already opens with it.
### 5.2 Chat
```sh