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

+4 -4
View File
@@ -1,10 +1,10 @@
#!/bin/sh
# docker/build.sh -- build the radiance image from a commit with BuildKit (docker buildx) and tag it.
#
# The build context is `git archive` of the commit, so the image holds exactly what is committed:
# no build trees, no uncommitted edits, no model files. With -s the archive is streamed over ssh
# to another machine's own `docker buildx`, which builds and keeps the image; that machine needs
# Docker with buildx and nothing else.
# The build context is `git archive` of the commit, so the image holds only committed files (no
# build trees, uncommitted edits or model files). With -s the archive is streamed over ssh to
# another machine's `docker buildx`, which builds and keeps the image; that machine needs only
# Docker with buildx.
#
# docker/build.sh HEAD, here
# docker/build.sh -s HOST HEAD, built on and kept by HOST
+9 -10
View File
@@ -1,15 +1,14 @@
#!/bin/sh
# docker/licenses.sh ROOT FILE... -- the licenses of everything in the runtime image that radiance
# did not write.
# docker/licenses.sh ROOT FILE... -- record the licenses of all third-party software in the
# runtime image.
#
# FILE... are the paths, in the build image, of every file copied into ROOT from outside the
# radiance install: the shared libraries, comgr, busybox, curl, jq and the CA bundle's directory.
# Each is traced to the package that installed it, or to the FFmpeg stage's /opt/ffmpeg. Every package's license files
# are copied to ROOT/usr/share/doc/<package>/, the license texts Debian's copyright files refer to
# go to ROOT/usr/share/common-licenses/, and ROOT/usr/share/doc/THIRD-PARTY lists each component
# with its version, its license files and where its source is. A file that no package owns, or a
# package that ships no license file, stops the build: the image would hold software whose license
# is not recorded.
# FILE... are the build-image paths of every file copied into ROOT from outside the radiance
# install: the shared libraries, comgr, busybox, curl, jq and the CA bundle's directory. Each is
# traced to its installing package, or to the FFmpeg stage's /opt/ffmpeg. Package license files go
# to ROOT/usr/share/doc/<package>/, the texts Debian's copyright files refer to go to
# ROOT/usr/share/common-licenses/, and ROOT/usr/share/doc/THIRD-PARTY lists each component with its
# version, license files and source. A file no package owns, or a package with no license file,
# fails the build, so no software ships with an unrecorded license.
set -eu
R=$1; shift
D=$R/usr/share/doc
+8 -8
View File
@@ -1,11 +1,11 @@
#!/bin/bash
# docker/llvm-check.sh BUILD -- the image's HIP compiler held to the two things it is for, on one of
# the build's own compile commands: r4d_hc_bf16.hip, the file whose code varied from build to build
# under ROCm's own clang. The command is run again four ways, outputs in a scratch directory:
# docker/llvm-check.sh BUILD -- check the image's HIP compiler on the build's compile command for
# r4d_hc_bf16.hip, a file whose device code is not repeatable under ROCm's stock clang. The command
# is rerun four ways, outputs in a scratch directory:
# 1. pairing off, by ROCm's clang and by the image's: the device code must match byte for byte,
# so the llvm stage's libLLVM is ROCm's but for the patch;
# 2. pairing on, exactly as the build ran it, twice more by the image's clang: both must match
# the build's own object, so the pairing is repeatable.
# so the llvm stage's libLLVM is ROCm's apart from the patch;
# 2. pairing on, as the build ran it, twice by the image's clang: both must match the build's own
# object, so pairing is repeatable.
# A mismatch fails the image build.
set -euo pipefail
B=$1
@@ -27,8 +27,8 @@ for a in "${args[@]}"; do
case "$a" in *amdgpu-enable-vopd*) fail "the build turned VOPD pairing off ($a)" ;; esac
done
# variant NAME COMPILER [FLAG]: the build's command with this compiler, its object and depfile in
# the scratch directory, and FLAG appended; then the object's device code as NAME.fb.
# variant NAME COMPILER [FLAG]: rerun the build's command with COMPILER, object and depfile in the
# scratch directory and FLAG appended; dump the object's device code to NAME.fb.
variant() {
local name=$1 cc=$2 extra=${3:-} i=1
local v=("$cc")