Archived
radiance 1.3.0
- #47: llama-server's request fields, routes and sampler order, and /props (with baKon's model entry: max_model_len, root and capabilities on /v1/models, and /v1/models/:id) - new APIs: Anthropic's Messages API (/v1/messages), OpenAI's Responses API (/v1/responses), llama-server's /completion and /infill, logprobs (OpenAI's logprobs and top_logprobs, up to 20; llama-server's n_probs), OpenAI's legacy `functions`, and X-Api-Key beside the bearer key - #4: --model takes a Hugging Face repo id (owner/name), fetched before startup into ~/.cache/radiance/hf or --download-dir and checked for changes at every start (redxherring) - #46: --tp 3 --tp-wire wht6 serves -- a three-rank two-shot all-reduce with uneven shards and the tiered-int8 wire over it (baKon); scripts/cardclock.py names what holds each card's clock under load (baKon) - CPU-only serving works again; --kernels names the kernel libraries to load; a model the loaded libraries cannot fully serve refuses at startup instead of failing its first request; --vram-kv-mib and --vram-weights-mib are gone (the split is automatic) - --embedding-placement ram is the default, and `auto` is gone - #40: Swift 1.5 recipes; rad-convert reads which shard holds a tensor from the index - #53: the pinned host pool gets huge pages where shmem THP is off; #57: a crash on video with an odd frame width is fixed
This commit is contained in:
1 parent
6a2ee986d6
commit
89cee7ce41
107 files changed
+6849
-1091
No files matched your search
@@ -0,0 +1,18 @@
|
||||
// R4D attention at FOUR queries per KV head, head_dim 256 -- Qwen3.5-0.8B and its siblings that
|
||||
// keep the 27B's head width with fewer heads (8 query heads over 2 KV heads).
|
||||
//
|
||||
// The geometry and the dispatch only, as r4d_attn_paged_h256_gqa12.hip is: r4d_attn_paged_gqa8.hip
|
||||
// is the parameterised body and its kernels are templates on `gqa`. What the ratio changes is the
|
||||
// two bounds, and both are in the ROW table rather than here:
|
||||
//
|
||||
// the decode verify width 64 / gqa = 16, against 8 at gqa 8 and 10 at gqa 6. A workgroup holds
|
||||
// 64 (query, head) rows and carries q_len * gqa of them.
|
||||
// a prefill block's width 384 / gqa = 96 query positions, against 48 at gqa 8.
|
||||
//
|
||||
// NO head_dim 128 LEG. gqa 4 at 128 is the DFlash2 drafter's windowed geometry, which
|
||||
// r4d_attn_paged_h128_gqa4.hip serves; R4D_ATTN_H128 leaves those entry points out of this unit.
|
||||
// The page is the body's default 16.
|
||||
#define R4D_ATTN_GQA 4
|
||||
#define R4D_ATTN_H128 0
|
||||
|
||||
#include "r4d_attn_paged_gqa8.hip"
|
||||
Reference in new issue
Block a user