radiance 1.9.0

New models:
- LTX-2.5 (base and distilled): video with a stereo soundtrack from text or from text and a first
  frame, on one card, with its duration head, tiled VAE decoding, the diffusion decoder and the x2
  latent upsampler
- Krea 2 Raw and Turbo, and FLUX.3 [klein] and its base: text to image, and for FLUX.3 edits from up
  to ten reference pictures, on one card
- GLM-5.3-Flash from AMD's Quark MXFP4 export, on eight cards (John McDonough, Nunze)
- Gemma 3 / TranslateGemma 27B with an optional DFlash2 drafter (mici81)

Engine:
- --kv-cache-dtype fp8_v4 and k6_v4 for Gemma 3 and Qwen3.8-Flash-Next (mici81)
- the rotated int8 trunk (i8a8h) for Qwen3.8-27B (eddie168168)
- eight-rank all-reduce bands, weighted shards and pieces (Nunze); --host-headroom-mib (sfjes)
- the dashboard shows the single-stream decode floor and its most recent window (Memoria)

Fixes: prefix-cache reservations kept until their save lands (baKon), tool calls in Responses
namespaces (#119), system messages merged when a template refuses several (#137), a prefill
continued with no open step (#127), calibration of a Gram accumulation (#122), JSON Schema patterns
read unanchored (davetha), GLM-style tool calls, the KV floor counting every sequence's state.
Plugin ABI 24.
This commit is contained in:
Deadcode committed 2026-10-19 21:58:07 +02:00
1 parent 778cbf315e
commit 685ec5bd85
136 files changed
+18917 -3821

No files matched your search

+5 -8
View File
@@ -136,16 +136,14 @@ bool chol_upper_loop(std::vector<double>& a, int64_t k) {
return true;
}
#ifdef RAD_LQ_LAPACK
/* LAPACK where OpenBLAS was found; RAD_LQ_LAPACK=0 takes the loops instead, the reference the
* LAPACK path is checked against (quant_algo_test). */
bool use_lapack() {
#ifdef RAD_LQ_LAPACK
const char* e = std::getenv("RAD_LQ_LAPACK");
return !(e && e[0] == '0');
#else
return false;
#endif
}
#endif
bool chol_lower(std::vector<double>& a, int64_t k) {
#ifdef RAD_LQ_LAPACK
@@ -168,7 +166,7 @@ bool chol_upper(std::vector<double>& a, int64_t k) {
return chol_upper_loop(a, k);
}
/* Layer factors kept at once (RAD_LQ_FACTOR_CACHE_ALL: every one). */
/* Layer factors kept at once. */
constexpr size_t kFactors = 4;
struct Cache {
@@ -222,10 +220,9 @@ Gram gptq_factor(const char* dir, const char* name, int64_t K, int64_t domain, d
* once, and a 21504-wide factor is 1.85 GB in f32 (every one kept OOM-killed
* TranslateGemma 27B's conversion at layer 25). A MoE layer's experts run in parallel
* and alternate between its gate_up and down stems, so one kept factor would be
* recomputed over and over. RAD_LQ_FACTOR_CACHE_ALL keeps every one. */
static const bool all = std::getenv("RAD_LQ_FACTOR_CACHE_ALL") != nullptr;
* recomputed over and over. */
if (layer && !c.f.count(key)) {
while (!all && c.order.size() >= kFactors) {
while (c.order.size() >= kFactors) {
c.f.erase(c.order.front());
c.order.pop_front();
}