radiance 1.4.0

- Qwen3.8-Flash-Next on one card: the heat engine moves 64 experts a step (was 8), its copies and
  the prefill's expert staging run on the card's DMA engines instead of as copy kernels, and at
  decode the next layer's likeliest experts are copied onto the card ahead of its GEMMs. Against
  1.3.0 at --tp 1: prefill +17-20% from 8K tokens up, throughput under load +16-20%
- deploy/compose/flashnext-tp1.yaml: Qwen3.8-Flash-Next on one card and 64 GB of host RAM
  (4096-token prefill steps, 4 sequences, a 301K-token cache)
- #61: --busy-prefill-chunk (default auto): a long prefill leaves the rest of the step to the
  requests decoding beside it and to new arrivals, instead of taking all of it (baKon)
- LiquidAI's LFM2 and LFM2-VL, and d1's /v1/systemone (after zivius's PR #50)
- a startup report: every option with its value and where it came from, the hardware, and what
  on it costs speed with the fix; /diagnostics serves it (behind the API key; without one, only
  to the same machine)
- #69: a GPU memory fault names the buffer and kernel argument behind it and ends the server at
  once (exit status 70), instead of hanging or writing a core of tens of gigabytes
- #64: a card without Resizable BAR is refused at startup, naming what to turn on, instead of
  crashing at the first launch
- the image is built with ROCm 10.1 (the host's amdgpu driver must support it), with ROCm's
  libLLVM rebuilt so the same source compiles to the same kernels every time; a source build
  takes ROCm 10.1 or 7.2
- #71: the image ships curl, jq and a CA bundle, so --model <HF repo id> works in the container,
  and hfget.sh runs under its busybox (baKon)
- --profile-ops shows how long each op's lane sat idle before it; cardclock.py skips an
  integrated GPU instead of stopping
This commit is contained in:
Deadcode committed 2026-10-12 11:46:14 +02:00
1 parent d5b65cddc6
commit dc339b4cd2
153 files changed
+12956 -1067

No files matched your search

+26
View File
@@ -534,6 +534,32 @@ HttpResponse Server::handle_server_info(const HttpRequest&) {
return HttpResponse::json_body(200, json_dump(o));
}
/* ================================================================== /diagnostics */
/* The startup report, read again for this request (ServerOptions::diagnostics_json). Behind the
* bearer key like /server_info: it names the machine's devices and boot parameters.
*
* AND WITHOUT A KEY, ONLY TO THIS MACHINE. /server_info without a key describes the model a
* client is already talking to; this describes the host -- its kernel, its boot parameters, its
* PCI layout, its memory limits -- which a server bound to 0.0.0.0 with no key would otherwise
* hand to anyone who can reach the port. A key is the operator's statement of who may ask. */
HttpResponse Server::handle_diagnostics(const HttpRequest& req) {
if (!opt_.diagnostics_json)
return error_response(err_not_implemented(
"the server was not given a diagnostics provider; this build has no engine attached"),
req.peer);
if (opt_.api_key.empty() && !req.peer_is_loopback()) {
ApiError e;
e.status = 403;
e.type = "permission_error";
e.message = "/diagnostics describes this machine, and a server started without --api-key "
"answers it only to a client on the same machine (a loopback address); start "
"it with --api-key to read it from elsewhere";
return error_response(e, req.peer);
}
metrics_.observe_http(200);
return HttpResponse::json_body(200, opt_.diagnostics_json());
}
/* ================================================================== /reset_prefix_cache */
/* 501 when there is no prefix cache to reset, and that is the point: vLLM answers 200 with an
* empty body whether or not anything happened, so a benchmark that thinks it started cold has no