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

+11 -4
View File
@@ -1,11 +1,18 @@
/* ref_host.h -- what the four libr4d units r4d_emu runs compute, in plain C++ on the host.
/* ref_host.h -- host C++ versions of the libr4d units r4d_emu runs.
*
* The device kernels' arithmetic restated, each a RadArgs in and RAD_OK or an error out: the
* reference the emulated kernels are held to beside the unfused chain each test builds itself
* (the joins, expert_scale) or a brute force (pair_argmax). No HIP, no libr4d header. */
* Each restates a device kernel's arithmetic, RadArgs in and RAD_OK or an error out. Tests hold
* the emulated kernels to these, beside the unfused chain each test builds (the joins,
* expert_scale) or a brute force (pair_argmax). No HIP, no libr4d header. */
#pragma once
#include "rad_abi.h"
#include "rad_plugin.h"
/* bf16 as libr4d converts it: exact widening, round-to-nearest-even narrowing. rb() is a value
* stored to bf16 and read back. */
inline float b2f(uint16_t h) { return rad_bf16_to_f32(h); }
inline uint16_t f2b(float f) { return rad_f32_to_bf16(f); }
inline float rb(float f) { return b2f(f2b(f)); }
int host_pair_argmax(const RadArgs* a);
int host_norm_add_norm(const RadArgs* a);