radiance 1.7.0

- every model serves without a GPU: libavx covers every op, so `--kernels libavx` alone serves
  every shipped container
- Qwen3-ASR (zivius): speech to text on /v1/audio/transcriptions and live over /v1/realtime
- /v1/messages works with Claude Code as it ships (gearwave00001)
- a long agent conversation keeps its cached history when the client rewrites its last turn
  (manueloverride)
- a stream's first event goes out with the first token, so llama-benchy measures prefill right
- opt-in --prefill-interleave (Smellyyyy, baKon) and --prefill-span (keptn42)
- four-rank TP releases the link early; four-rank selftests and docs/TP4.md (goodman-b)
- NVFP4 and FP8 compressed-tensors imports (devmilan); tools/rad-export for finetunes and LoRA
  adapters (baKon)
- many fixes, among them lost tokens on stop strings under concurrency, keep-alive, MiniCPM5 tool
  arguments and the CPU's vision and audio encoders
- plugin ABI 17 and changed op schemas: out-of-tree plugins must be rebuilt
This commit is contained in:
Deadcode committed 2026-10-16 18:25:18 +02:00
1 parent b068190326
commit 1e968f6e1d
739 files changed
+128447 -84632

No files matched your search

+9 -11
View File
@@ -1,10 +1,9 @@
/* rad_device.h -- the device layer. Thin on purpose: everything above it is written once, and
* every backend implements exactly the small set of calls below.
/* rad_device.h -- the device layer. Deliberately thin: everything above it is written once, and
* every backend implements the small set of calls below.
*
* The host backend is not a toy. It is what lets the core, the scheduler, the planner, the
* tokeniser, the server and libref be built and tested on a machine with no accelerator, and it
* is the same code path RAD_DOMAIN_HOST kernels run on when the planner puts a layer on the CPU
* (spec §5.1).
* The host backend is a full backend. It lets the core, scheduler, planner, tokeniser, server and
* libref be built and tested without an accelerator, and RAD_DOMAIN_HOST kernels run on it when the
* planner puts a layer on the CPU (spec §5.1).
*/
#ifndef RAD_DEVICE_H
#define RAD_DEVICE_H
@@ -19,12 +18,11 @@ typedef void* RadEvent;
enum { RAD_MEM_DEVICE = 0, RAD_MEM_HOST_PINNED = 1, RAD_MEM_HOST = 2, RAD_MEM_HOST_MAPPED = 3 };
/* WHAT THE ENGINE KNOWS ABOUT A DEVICE, AND IT IS ONLY THIS. Nothing above this layer names a
* vendor, a product or an instruction set: the scheduler, the planner and the budgets are written
* against these fields and learn the machine from them at run time. A kernel library is where
* hardware knowledge belongs, and it declares which devices it serves.
/* Everything the engine knows about a device. Nothing above this layer names a vendor, product or
* instruction set: the scheduler, planner and budgets learn the machine from these fields at run
* time. Hardware knowledge belongs in kernel libraries, which declare the devices they serve.
*
* Every field carries whatever the backend reports, in the backend's own vocabulary. */
* Every field carries what the backend reports, in the backend's own vocabulary. */
typedef struct RadDeviceProps {
char name[128]; /* the product name, for logs and for the tuning cache's key */
char arch[32]; /* the backend's name for the architecture, with any feature