Archived
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.
This commit is contained in:
commit
6645337f69
198 files changed
+20904
-3240
No files matched your search
+9
-13
@@ -113,23 +113,20 @@ extern "C" void* rad_link_gate(RadStream s);
|
||||
* counts lists handed over and not yet finished. The prefetch ring is uncached device memory
|
||||
* (rad_dev_alloc_uncached): the engine writes it and kernels read it, so no cache may hold a
|
||||
* slot's previous contents. */
|
||||
/* An event the DMA engine completes instead of a dispatch: it is recorded on `s` (a write of 1 to
|
||||
* its completion word, in stream order) and `*word` returns that word for `rad_xp_list` to write 0
|
||||
* to as the list's `done`, once the list's bytes have landed. `rad_event_wait(s, ev)` then stops `s`
|
||||
* until the copy is done, device-side: no host round trip on the step path. The caller waits for
|
||||
* the group's previous copy before arming the next, so the word's older 0 cannot release a later
|
||||
* wait. RAD_E_STATE while a tape is recording: a list is not a queue packet, so a recorded pass
|
||||
* must re-run the call with the tape paused (core/kvstream/stage.cpp). */
|
||||
/* An event a DMA list completes instead of a dispatch. `*word` is its completion word, for
|
||||
* rad_xp_list to write 0 to as the list's `done`; the caller arms it with a 1 in stream order (the
|
||||
* weight table's patch dispatch). `rad_event_wait(s, ev)` then holds `s` on the device until the
|
||||
* copy has landed. The caller waits for the previous copy before arming the next, so an older 0
|
||||
* cannot release a later wait. RAD_E_STATE while a tape records: the caller re-runs it with the
|
||||
* tape paused (core/kvstream/stage.cpp). */
|
||||
extern "C" int rad_event_dma(RadEvent ev, RadStream s, uint32_t** word);
|
||||
extern "C" int rad_xp_supported(int device);
|
||||
extern "C" int rad_xp_stream_create(RadStream* out);
|
||||
extern "C" int rad_ride(RadStream s, void** token);
|
||||
extern "C" int rad_ride_wait(RadStream s, void* token);
|
||||
extern "C" void rad_ride_release(void* token, RadStream after, int64_t packets);
|
||||
/* `flags` RAD_XP_NO_YIELD: the list does not give way to a link a stream of this card holds. A copy
|
||||
* the compute stream itself waits on must set it -- a yield it cannot outlast is a deadlock (the
|
||||
* hold's release is behind the wait) -- at the cost of taking its share of the link in one piece
|
||||
* (core/kvstream/stage.cpp). The expert prefetch passes 0: nothing waits for it. */
|
||||
/* `flags` RAD_XP_NO_YIELD: the list does not yield the link to a hold by a stream of this card. A
|
||||
* copy the compute stream waits on must set it, since the hold's release is behind that wait. */
|
||||
#define RAD_XP_NO_YIELD 1u
|
||||
extern "C" int rad_xp_list(int device, void* mark, int n, const uint64_t* src, const uint64_t* dst,
|
||||
const uint64_t* bytes, uint32_t* done, uint32_t done_val,
|
||||
@@ -340,8 +337,7 @@ struct DeviceBackend {
|
||||
int (*gate_open)(void* gate);
|
||||
int64_t (*gate_room)(RadStream s);
|
||||
|
||||
/* ---- an event a DMA list completes: see rad_event_dma. Null (unsupported) on a backend with
|
||||
* no DMA queue that writes a completion word. */
|
||||
/* ---- rad_event_dma; null on a backend with no DMA queue. */
|
||||
int (*event_dma)(RadEvent e, RadStream s, uint32_t** word);
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user