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

+10 -10
View File
@@ -1,15 +1,15 @@
/* imaging.h -- the picture arithmetic an image generator's reference pipeline does in PIL, done the
* way PIL does it, so a picture reaches the model as the reference's would.
/* imaging.h -- image arithmetic done the way PIL does it, so a picture reaches the model exactly
* as the reference pipeline's would.
*
* THE RESIZE IS PIL's Image.resize WITH LANCZOS, bit for bit: per-axis filter coefficients
* computed in double (support 3 times the downscale, normalised to sum one), turned into 22-bit
* fixed point, a horizontal pass then a vertical one over 8-bit values, each output rounded and
* clipped -- and an RGBA picture premultiplied by its alpha first and divided back after, which is
* what PIL's resize does to RGBA. Diffusers' VaeImageProcessor resizes a picture exactly this way.
* Resize: PIL's Image.resize with LANCZOS, bit for bit. Per-axis coefficients are computed in
* double (support 3x the downscale, normalised to sum one) and converted to 22-bit fixed point;
* a horizontal then a vertical pass run over 8-bit values, rounding and clipping each output.
* RGBA is premultiplied by alpha first and divided back after, as PIL does. Diffusers'
* VaeImageProcessor resizes this way.
*
* THE COMPOSITE is Image.paste(picture, mask=alpha) onto white: each channel
* (c * a + 255 * (255 - a)) / 255 in PIL's rounding -- how the reference flattens a transparent
* picture for a text encoder that reads RGB. */
* Composite: Image.paste(picture, mask=alpha) onto white, each channel
* (c * a + 255 * (255 - a)) / 255 with PIL's rounding. The reference flattens a transparent
* picture this way for an RGB text encoder. */
#pragma once
#include "mm/media.h"