This repository has been archived on 2026-11-24. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
radiance-sycl/NOTICE
T
Deadcode 6645337f69 radiance 1.13.0
New models:
- Tencent Hy-Memory (HYV3) from its BF16, FP8 and GGUF checkpoints, with its native tool calls
- M2XFP4: metadata-augmented MXFP4 weights for Qwen3.8-27B and its DFlash2 drafter (top-1 89.1% ->
  92.4% against plain MXFP4), its quantiser and recipe, and ParoQuant's M2XFP4 checkpoints
- Gemma 4 E2B/E4B audio input; NVIDIA-Nemotron-3.5-Bolt-E4B in int8 and 4-bit, on two cards by
  default; Ornith-1.5-122B compose files

Speed:
- Weight reads beside the decode all-reduces (qwen35_fp8, gemma3; --weight-prefetch, on by default):
  the 27B MXFP4 with DFlash2 61.2 -> 67.9 tok/s at c1, TranslateGemma 27B +13%
- Head-256 split-KV decode attention at 256 workgroups and without bank conflicts (27B: +3-5% a
  step at 25-41K context), and the prefill KV split for small launches (a short turn over a long
  context decodes the other sequences 27% faster in that step)
- MXFP4 decode gate_up, activation and fp8 quantiser in one launch (27B, Gemma 3 up to 64 rows:
  TranslateGemma +2-5% at 2-8 streams)
- ParoQuant int4/int5 tiled GEMMs 6-9% faster
- Speculation: a step's tokens are sent before the drafter's passes end, no step waits behind one
  that ends its requests, and the MTP head's first draft no longer collapses after short chats in
  the prefix cache

Features:
- --kv-resident N: KV streaming for a context bigger than VRAM (qwen4exp_fp8, GLM-5.3)
- MiniMax-H3: reference media and keyframe conditioning with the VAE encoders
- Krea 2 rebalance presets balanced, detail and subtle
- The dashboard's request history; a stall watch that reports a frozen step's thread and stack
- rad-tune at the served configuration, collectives measured as the exchange; Gemma 4 E2B/E4B's
  per-layer embeddings read ahead off the step path
- A GPTQ calibration tap and recipe for Gemma 4 31B's w4a8 container

Fixes:
- The two-rank all-reduce checks that a peer's push has landed before reducing it
- z-lab's DFlash drafter on Gemma 4 31B keeps drafting after a prefix-cache hit
- MiniMax-H3's modulation rows

Changes: Plugin ABI 31: out-of-tree plugins must be rebuilt. RADIANCE_PREFETCH_BESIDE is
--weight-prefetch now; RADIANCE_NO_HUGE_PAGES, RADIANCE_IDS_EARLY, RADIANCE_ATTN_BAND_SPLIT,
R4D_PREFILL_SPLITS, RAD_PLE_TIMING and RAD_PLE_CACHE_ROWS are gone.
2026-10-27 16:47:35 +01:00

131 lines
10 KiB
Plaintext

radiance
Copyright 2026 Deadcode and the radiance contributors
Written by Deadcode, with contributions from:
- tcclaviger: the N-rank all-reduce kernels
- ggz14: the MXFP4 GEMM, the A-tiled MXFP4 prefill GEMM and the GDN kernels' overflow guards
- slydlake: the MXFP4 decode and prefill GEMMs, the MXFP4 linear and the DFlash2 drafter's MXFP4
linears, stop strings after the reasoning block, and the draft refill on a prefix hit
- goodman-b: four-rank tensor parallelism for Qwen3.8-Flash-Next, the four-rank collectives ending
the link hold themselves, their selftest cases and the TP4 lever map
- keptn42: the four-rank all-reduce served in place, the fused four-rank writes, the n-gram table in
RAM, the four-class expert split, the Grafana dashboard, the routed GEMM's decode loads and run
search, the gated residual's prefill read form and row groups, the fused router launch, the
adaptive draft window, the MoE prefill forms, the sorted operand's decode kernel, two K blocks a
pass for up to 80 routed rows, --prefill-span, the towers' lookup tables counted once, and for
Gemma 4 its assistant head as a drafter that reads the trunk's cache, bf16 checkpoints, the fused
w4a8 decode step, the vision tower and window snapshots that let a prefix hit resume, the
Gemma 4 31B heretic-ara and Ornith-1.5-35B-A3B compose files, Gemma 4's E2B/E4B form (KV-shared
layers, per-layer embeddings, clipped vision linears) with NVIDIA-Nemotron-3.5-Bolt-E4B, its audio
encoder, its i8a8 linears and its KV heads replicated over ranks, 4-bit weights at decode heights
through w4a16_asym, and the Ornith-1.5-122B compose files
- mechkbfan: the token embedding in the pinned host pool
- Code000: the n-gram gather on the card and the MTP head's history-pass skip, and the MTP draft
coupling with its cooperative verify (--draft-coupling)
- baKon: three-rank tensor parallelism, serving any world size from the shipped container, the
request log, an uneven world's per-rank KV and weights split, --rope-scaling, the model entry's
context length, root and capabilities, /props, the three-rank two-shot all-reduce and tiered-int8
wire, the diagnosis of the three-rank lossy-wire crash, cardclock.py, --busy-prefill-chunk, curl,
jq and a CA bundle in the image with hfget.sh under its busybox, rad-export, --prefill-interleave,
runtime LoRA adapters served beside the base model and picked per request, and the prefix cache's
reserved snapshots held until their save lands
- hazyumps: static YaRN for the Qwen rotary paths
- malic: ParoQuant, with its MXFP4, int5 and int4 checkpoints imported and served, the Givens
rotation as stages and as dense per-group matrices on the matrix cores, and the 5- and 4-bit
asymmetric GEMMs, and the int8 tiled GEMMs loading the weight a slab ahead
- Perire: Gemma 4 26B-A4B with z-lab's DFlash drafter -- its plugin, its kernels in libr4d (the
windowed paged attention, pair_argmax, the fused sandwich joins and expert_scale) and the host
emulator that tests them, the prefill split into two slices with their all-reduces beside the
compute, and the vocabulary-sharded draft head; Gemma 4 31B on four cards (its all-reduces fused
with the junctions, overlapped with the compute and sent compressed, chained launches with block
drafters), the embedding scale rounded as Hugging Face rounds it, block drafters' drafts
accepted on the card, z-lab's DFlash drafter drafting on after a prefix-cache hit and the 31B's
GPTQ calibration tap, and for speculation the MTP head's first draft read up to where it sits, no
step queued behind one that ends its requests, and a step's tokens streamed before the drafter's
passes end
- redxherring: --model taking a Hugging Face repo id
- Smellyyyy: the idea behind --prefill-interleave
- gearwave00001: /v1/messages as Claude Code sends it
- devmilan: the NVFP4 and FP8 compressed-tensors imports
- sfjes: Gemma 4 31B dense -- its plugin, its two attention classes and their kernels, and prefix
reuse that leaves a windowed group alone -- and --host-headroom-mib
- zivius: LiquidAI's LFM2 and LFM2-VL and d1's /v1/systemone, after the design of their Codeberg
PR 50, Qwen3-ASR with /v1/audio/transcriptions and /v1/realtime, and Fish Audio drama-3 -- its
plugin, its codec encoder and decoder, voice cloning from reference clips, and the torch.save
reader
- mici81: Gemma 3 dense (TranslateGemma 27B) -- its plugin, the windowed h128 attention, the
sandwich junction's all-reduce and its DFlash2 drafter -- the fp8_v4 and k6_v4 KV caches, GPTQ's
factorisations through LAPACK and a column-split linear's Hessian from per-rank parts,
R4D_AR_MAX_BLOCKS for two engines on one set of cards, added tokens decoded as HuggingFace
decodes them, the MXFP4 GEMM rows for one to 64 rows and the tiled prefill GEMM's TN=4 form, the
fp8 and int8 heads read once up to 128 rows, the pipelined prefill of one sequence on a second
lane, Gemma 3's junctions under a lossy wire, the block drafter's short block
(--draft-short-from), the f16 delta-net state cache, the two-rank all-reduce checking a peer's push
has landed, the MXFP4 decode gate_up folded with its activation and fp8 quantiser, the head-256
split-KV decode attention, weight reads beside the decode all-reduces (--weight-prefetch), the
head-256 prefill attention's KV split for small launches, and the GUIDE's two engines on one pair
- eddie168168: the rotated int8 trunk (i8a8h) and the qwen35_w8a8 plugin serving it, and the
out-of-tree test at the tree's VOPD setting, and its norm and SiLU producers writing the int8
linears' operands directly
- davetha: JSON Schema patterns read unanchored, with their shorthand classes and escapes
- Nunze: the eight-rank all-reduce's bands, weighted shards from the PCIe links and pieces, the
sampler's candidate width at eight ranks, the image test stage's parallelism, budgets and
exclusions, jinja's dotted integer index, GLM-5.3-Flash's kernels in libr4d and tool calls whose
name the opener opens, GLM-5.3-Flash's vision tower and processor, its decode at a few rows and
its DSA indexer split over the ranks, a host-tier restore that makes room as pressure does, KV
groups every rank holds kept once a host slot, the eight-rank two-shot in ring order, the MLA
row form (--tp-attn-split rows), DELETE /sessions, and the dispatch stamps of a played pass with
stampgaps.py
- John McDonough: GLM-5.3-Flash -- its plugin, its blocks (mHC streams, KDA, the DSA indexer and
sparse latent attention, f32-scaled FP8 and MXFP4 experts under sigmoid routing) and their
reference and AVX ops -- a Quark export's block-FP8 layers, the signed QSA ranking, the
one-sequence KV floor over the live plan, and prefill staging paid by expert residency
- Memoria: the dashboard's decode floor and recent window, the sparklines' percentile range, and
the bringup time in /stats, the acceptance tiles' live figures and statsdump's size-capped
rotation
- C_Tamas: control vectors, loaded when the deployment asks and applied as a per-layer residual
projection, KV streaming for a context bigger than VRAM (--kv-resident), and the dashboard's
request history
- J-Nova: Unlimited-OCR, and Sage-A1.5 with its vision tower and its DFlash2 drafter
- thekk1: the fp8 QK and PV legs of the h256 prefill attention (--attn-prefill-fp8)
- lortht: Krea 2's rebalance of the text taps and its presets, and MiniMax-H3's modulation rows
- Quackster: cards with a small PCI BAR, their kernel arguments kept in host memory
- farcryjohn: periodic window snapshots that let an edited prompt reuse its prefix
- gostar: snapshot-backed prefix KV kept across recomputes, and Tencent's Hy-Memory (HYV3) -- its
BF16, FP8 and GGUF adapters, its KV scales, and its native sectioned tool calls
- launch80_assets: tuning collectives as the exchange they serve at the served configuration, the
per-layer embeddings' read-ahead queue and gather regimes, and the step loop's stall watch
- hugypufy: M2XFP4 -- its quantiser, its GEMMs and its linears in the Qwen3.8 trunk and the DFlash2
drafter -- and the ParoQuant M2XFP4 import
This product includes software from the following projects, each under the MIT License. The
license text is in the file named beside each.
llama.cpp Copyright (c) 2023-2026 The ggml authors vendor/llama/LICENSE
vendor/llama/, and the code lifted or ported from it: core/sample/gbnf.*, the
host samplers in core/sample/host_ref.*, the tokenisers in core/text/, and
libquant/lq_ggml_*
nlohmann/json Copyright (c) 2013-2025 Niels Lohmann vendor/nlohmann/LICENSE.MIT
cpp-httplib Copyright (c) 2017 yhirose vendor/cpp-httplib/LICENSE
tests/data/chat/hyv3/chat_template.jinja is Tencent's Hy-Memory-30B-A3B chat template,
copied unchanged from tencent/Hy-Memory-30B-A3B on Hugging Face.
Copyright (C) 2026 Tencent. All rights reserved. Licensed under Apache-2.0 (LICENSE).
Its source and content checksum are recorded in tests/data/chat/hyv3/README.md.
core/server/systemone.cpp carries text from Liquid AI's d1 (prompt.py and api.py in the
LiquidAI/d1-3B repository): the prompt it renders, its question blocks, the option codes and their
fallback codebook and the answer spellings, unchanged, in code rewritten in C++. That text is Liquid
AI, Inc.'s, under the LFM Open License v1.0, whose terms -- including its limit on commercial use --
apply to it; the license is in core/server/LICENSE.lfm.
data/vectors/qwen4exp-control-vector.gguf and data/vectors/qwen4exp-control-vector.json are the
published refusal-direction vector for Qwen3.8-Flash-Next, by Cudecnik
(huggingface.co/Cudecnik/Qwen3.8-Flash-Next-refusal-projection), copied unchanged. The directions
were measured out of Qwen3.8-Flash-Next's own residual stream, so they are Qwen's, under the Qwen
Community License 1.0 -- data/vectors/LICENSE.qwen-community-1.0.txt -- which carries the file and
every copy of it, including its condition that a Model-as-a-Service or AI-work-assistant business
needs a separate license from Qwen to use it commercially. radiance's Apache-2.0 grant covers the
code that loads and applies the file; it does not cover the file or its directions.