main
4
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
d32d8deccf |
radiance 2.4.0
New models and quantisation paths. Baidu's ERNIE-5.5-Flash-Preview by gostar (#632-#642): its text backbone, MXFP4 experts, DSpark drafter, three-rank expert parallelism, WMMA prefill and optional block-FP8 trunk. MOSS-Image by iwinux (#618): prompt-to-image generation with FLUX.2's VAE decoder block, flow-matching schedule lower bounds, odd-width group_norm and bf16 / IQ8R / LoRA recipes. EXL3-V3 routed experts for Qwen3.5 MoE (`qwen35moe_exl3` with the mad codebook, MTP head and vision tower, #685) and Gemma 4 MoE (`gemma4_exl3`, #687) by keptn42, plus multi-instance serving (`rad_arch_multi_instance`, #671) and `gfx12-generic` support (#670) by Hero422. Gemma 4 MoE's IQR trunk, full IQR expert arm, IQ8R-V4 recipe and Google assistant MTP drafter by jintakhan (#659, #664). Qwen3-VL dense W4A8 text and vision with request-owned DeepStack by rkcth. Qwen3 BF16 retrieval support and experimental FFN IQ8R by AmySkippy (#645). GLM-5.3-Flash native serial MTP on an IQ8R trunk with IQR experts by AustinM731 (#661). KV cache and scheduling. Rotated 4-bit and 6-bit KV caches (`i4r`, `i6r`) and `--kv-host-tokens` by HumbleTurtle (#630, closes #393 and #629). Live concurrency tuning via `scheduler.max-in-flight`, `POST /admin/max-in-flight` and per-model fleet overrides (#667), capping new admissions without evicting running sequences. Opt-in `scheduler.swap-hold` for busy models (#676) and accurate prompt counts and `preempted_ms` across preemptions (#636) by posta. Chat prompt `history_end` linear-state snapshots by AustinM731 (#673). Sweeping unreachable KV cache entries by Kezi (#653). Fleet virtual IDs (`pool:` routing to a resident member) by sfjes. Heat engine swapping behind staged prefill passes by gostar (#646). Control vectors. Live per-request control-vector slots with additive steering, Qwen3.5 / Gemma 4 wiring and 2-slot stacking by rkcth (#674). Inkling 2 `hc=1` control vector and shipped vector file by C_Tamas (#665). Kernels and hardware. Inkling 2 Mini on Strix Halo (`gfx1151`) in `libhalo` (WMMA prefill and verify for `attn_paged_rel`, `attn_res_mix`, `sconv_res`, `l2_clip`, `situ_mul`, `grid_embed_hw`, in-place int8 embedding and pitched RoPE) plus `content_close` chat formatting by testeddoughnut (#654, #656). `libhalo` extended to the whole `gfx11` family (RDNA 3 / 3.5 including `gfx1100`), 128-token IQR prefill tiles, IQ8R 256-wide GDN decode fold, `h256` mixed-step scratch fix, `libr3d` `mla_attn_paged` prefill arm (+48% Ling prefill on `gfx1100`), radix `sample_topk`, and band tables built from winning plugins by squarecylinder (#675, #678, #679, #682-#684). `libr4d` 16-row paged MLA prefill attention (Ling prefill 1.22-1.65x) and bench mode by keptn42 (#672). Inkling 2 relative-attention performance work in `libr4d` (compact long verify, direct-fragment variants, wider splits, mixed-pass WMMA keying, `moe_gather_inv` sort slot table) and Docker `ccache` cache mounts by Tangenius (#612), with `RADIANCE_REL_COMPACT_MIN` by Spizzerp. AMD CDNA1 (`gfx908`, Instinct MI100) build and runtime fixes by DominBear (#669). Generation and fixes. MiniMax-H3 rotated W4A8 denoiser projections and audio encoder fixes by rkcth. DeepSeek-V4.1 image-span router bias declared only when images are served by Dad_Vibes. Calibration Gram tap scratch zeroing by Perire (#662). `/v1/messages` taking chat-path priority by HumbleTurtle. `CMAKE_ARGS` in `build.sh` by jintakhan (#638). Docker `gfx12-generic` kernels, memory-capped compile jobs and fully-qualified base images by Hero422. Legacy `exl3/` MoE tree removed, `--weights-disk-tier` VRAM budget cap on `expert_floor`, three rounds of core engine / scheduler / fleet / memory / server / JSON audits (~84 bugs fixed), and 43 new unit and regression tests. Plugin ABI 46: out-of-tree plugins need a rebuild. Thanks to gostar, keptn42, squarecylinder, rkcth, HumbleTurtle, iwinux, testeddoughnut, jintakhan, Tangenius, Spizzerp, Hero422, AustinM731, posta, sfjes, C_Tamas, Kezi, Perire, AmySkippy, DominBear and Dad_Vibes. |
||
|
|
c2bc1faf40 |
libhalo: add sconv_res and sconv_res_add
Inkling 2's short convolution with its residual and dynamic taps. With no device row the op ran on the host, and a weight only a host kernel reads keeps its whole placement group (the layer's projections, router and norms) in the container's mapping, so the planner left too little on the card and startup ran out of memory. libr4d added both forms to r4d_ple_conv_bf16.hip after libhalo was derived from it. halo_ple_conv_bf16.hip held no gfx1151-specific change (a diff against the renamed pre-sconv libr4d file shows only libr4d's own later edits), so it is re-derived from the current libr4d file by the rename transform. ple_conv and causal_conv1d keep their bodies: libr4d's additions sit behind the compile-time SCONV flag and the new width-4 vector kernel serves sconv only. halo_selftest's causal_conv1d_bf16 "a cold window over stale bytes, a shared and a -1 slot" case was already intermittent (2 of 6 runs failed on the unmodified tree): two sequences of one launch write the same slot with no ordering between their blocks, and the reference expects the later one to win. With the new code layout it fails every run. The kernel's behaviour for that case is unchanged. sconv_device_test takes the entries' prefix as an optional argument and is registered for libhalo. Where <prefix>_rad_sconv_res_add exists it now runs on a copy of the state at every step: its output is held to add_resid plus the formula, and the state it leaves must be sconv_res's, byte for byte. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
3b13fd3266 |
radiance 2.3.0
New models. Thinking Machines' Inkling 2 Mini by gostar (#584-#586): its text backbone and loop, the release's NVFP4 and MXFP8 checkpoint read by the converter, an int8 trunk, the vision tower, tensor parallelism, tool calls (with Warzuponus) and an image processor that matches transformers bit for bit (millaguie). Inkling's routed experts are served in IQR-V4's four-bit trellis (moe_gemm_iqr), fitted by GPTQ against Hessians the plugin now records (`--calib-dir`), its token embedding in int8 (read in place by embed_lookup), and incoai's DFlash2 drafter in four bits in place of the release's DSpark. That container, 14.4 GiB with the vision tower, decodes 190 / 427 / 658 tokens a second at 1 / 4 / 8 streams at tp 2 on two R9700 with `draft-window: adaptive` (code 240 / 550 / 790, step-by-step arithmetic 358 / 811 / 1116): 19-43% ahead of the same target with the release's DSpark drafter and 45-83% ahead of the all-int8 container (26.1 GiB, 124 / 263 / 386), at a mean KL of 0.0066 against the release's weights (int8: 0.0042). DeepSeek-V4.1-Flash on 2.x by baKon (#583), with its vision tower, its IQ1_S and IQ2_XXS containers and linears and experts served in llama.cpp's own blocks; parts ported from mikoskinen/r9700-exact-serving by Dad_Vibes' fork. GLM-5.3-Flash on 2.x with its IQR / IQ8R container, an int8 latent cache and four-card serving by AnimusNull (#566). Gemma 4 dense on EXL3-V3 by keptn42 (#537), on the EXL3 dense rows and qwen35_exl3 tensor parallelism by Hero422. NVIDIA's 2-bit Nemotron-3.5-Bolt-74B-A9B on one card by keptn42 (#477). Wan 2.2 TI2V-5B text-to-video and first-frame video by rkcth (#535). LFM3-1.7B on RDNA3 iGPUs by DokterSmol (#578). Qwen3.8-27B in bf16 with the DFlash2 drafter, and bf16x12, bf16 weights packed losslessly in 12.25 bits, by eddie168 (#577). Int8 experts for drama-3 by morevgalex (#598). Speculative decoding. Draft trees for Qwen3.8-27B's DFlash2 drafts by Kezi (#450, opt-in): one card, +17% at one stream and +14% at two. --draft-max-lanes and --draft-min-accept, two gates on a block drafter, and --draft-window-ckpt, its window KV kept in the checkpoint slots, by rkcth (#600-#602). `draft-window: adaptive` verifies each sequence's drafts up to the first one unlikely to be kept. A verify's rows share each K and V tile in Inkling's attention by gostar (#608): 93 to 118 tokens a second at a 70k-token prompt on one card. Generation. Krea 2 instruction edits with one or two references and registered outfill, LoRA on the image generators with bias deltas and row-mixer adapters applied per request, and MiniMax-H3's model-declared sparse attention profiles, by rkcth (#534, #542, #543, #605-#609). MiniMax-H3's audio reference guide pinned from a frame by 1beb (#595). LTX-2's chunk ceiling raised to 40 by Itoash (#570). Fleets and memory. memory.queue-reserve, the hardware queues a card keeps ready, by kevinjd (#589). memory.pinned-numa-node by Foundry (#580). memory.card-headroom-mib on single-model tensor-parallel budgets by zihaomu (#624). Parked weights rebuilt on the CPU, memory ownership kept across a failed handoff and quiescent callbacks serialised, by rkcth (#557-#561). A warm load may unload a parked model (#592); the first card listed chooses the architecture (#458). Kernels. libr3d's packed dense IQR GEMM and routed IQR expert rows on gfx1100, and libhalo's GEMV decode for Qwen3.8-Flash-Next's MoE down, by zihaomu (#562, #620, #622). GGML IQ2_XXS and IQ3_XXS packed on the card by baKon. Dashboard. KV cache in tokens (in use, capacity now and with all flexible space), live figures through long prefill steps, step / decode / prefill / acceptance lines without holes, and expert hit rates only on tiered models. Seven tile and history defects fixed by Noblistic (#597), vision encoder and per-card hardware figures by davetha (#574), per-LoRA attribution by dowjames (#552). Fixed. return_tokens / return_token_ids on the OpenAI endpoints (#571). reasoning_effort "none" and "minimal" reach a template that takes them as levels, by millaguie (#608). Misaligned loads in the windowed paged attention over an int8 cache (#540). A retired 27B head refused by name (#541). rad-convert's GPU trellis jobs kept fed, and --reuse-only, by gostar (#575). jinja's tojson takes sort_keys by Warzuponus (#582). hfget measures file sizes with stat, by kepler_62f (#623). The tested C++ compiler is stated in the build guide by lowell80 (#551). The codebase was cleaned up: shared helpers instead of repeated blocks, and the int8 linear, activation and GEMM code no longer named after the retired fp8 formats. Inkling 2 Mini is served in one form: IQR-V4 experts with the DFlash2 drafter (StillDeadcode/inkling-2-mini-iq4r-v4 on Hugging Face, or data/recipes/inkling2-mini-iq4r-v4.recipe). A container with the release's DSpark drafter, or with NVFP4, int8 or 4-bit experts, is refused by name and needs converting again. Plugin ABI 44: out-of-tree plugins need to be rebuilt. Thanks to @gostar, @baKon, @Dad_Vibes, @AnimusNull, @keptn42, @Hero422, @rkcth, @DokterSmol, @eddie168, @morevgalex, @Kezi, @1beb, @Itoash, @kevinjd, @Foundry, @zihaomu, @Noblistic, @davetha, @dowjames, @Warzuponus, @millaguie, @kepler_62f, @lowell80 and @Code000. |
||
|
|
906a50bbbf |
libr4d: Inkling 2's ops on the card
attn_paged_rel, sconv_res, l2_clip, attn_res_mix, situ_mul, gated_quant_i8, SiTU on gated_had_quant_i8, and moe_gemm_q at nvfp4a8i8 on RDNA4. The NVFP4 experts' scale table is read at the extent the plugin declares, and gated_quant_i8, attn_res_mix and situ_mul take their rows from their operands rather than the ranged M. Checked by r4d_emu cases for each kernel, and on the card against libref (attn_rel_device_test) or the formula (sconv_device_test, l2clip_device_test). |