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:
Deadcode committed 2026-10-08 18:22:08 +02:00
1 parent 6a2ee986d6
commit 89cee7ce41
107 files changed
+6849 -1091

No files matched your search

+9
View File
@@ -104,6 +104,13 @@ int r4d_rad_attn_prefill_h128_gqa8_bf16(const RadArgs*, RadStream);
int r4d_rad_attn_decode_h128_gqa8_fp8 (const RadArgs*, RadStream);
int r4d_rad_attn_decode_h128_gqa8_bf16 (const RadArgs*, RadStream);
int64_t r4d_rad_attn_decode_h128_gqa8_scratch(const RadArgs*);
/* Four queries a KV head, head_dim 256 only -- Qwen3.5-0.8B. Same body, different
* instantiation (r4d_attn_paged_h256_gqa4.hip). */
int r4d_rad_attn_prefill_h256_gqa4_fp8 (const RadArgs*, RadStream);
int r4d_rad_attn_prefill_h256_gqa4_bf16(const RadArgs*, RadStream);
int r4d_rad_attn_decode_h256_gqa4_fp8 (const RadArgs*, RadStream);
int r4d_rad_attn_decode_h256_gqa4_bf16 (const RadArgs*, RadStream);
int64_t r4d_rad_attn_decode_h256_gqa4_scratch(const RadArgs*);
/* Twelve queries a KV head, head_dim 256 only -- Qwen3.8-Flash-Next's QSA layers. Same body,
* different instantiation; r4d_attn_paged_h256_gqa12.hip is four lines. */
int r4d_rad_attn_prefill_h256_gqa12_fp8 (const RadArgs*, RadStream);
@@ -452,6 +459,7 @@ int r4d_rad_sample_temp (const RadArgs*, RadStream);
int r4d_rad_sample_mask (const RadArgs*, RadStream);
int r4d_rad_sample_topk (const RadArgs*, RadStream);
int r4d_rad_sample_argmax (const RadArgs*, RadStream);
int r4d_rad_sample_logprobs (const RadArgs*, RadStream);
int r4d_rad_sample_topp (const RadArgs*, RadStream);
int r4d_rad_sample_minp (const RadArgs*, RadStream);
int r4d_rad_sample_typical (const RadArgs*, RadStream);
@@ -500,6 +508,7 @@ int r4d_shape_sample_temp (const RadParam*, int, int operand, RadOpdDesc*);
int r4d_shape_sample_mask (const RadParam*, int, int operand, RadOpdDesc*);
int r4d_shape_sample_topk (const RadParam*, int, int operand, RadOpdDesc*);
int r4d_shape_sample_argmax (const RadParam*, int, int operand, RadOpdDesc*);
int r4d_shape_sample_logprobs (const RadParam*, int, int operand, RadOpdDesc*);
int r4d_shape_sample_narrow (const RadParam*, int, int operand, RadOpdDesc*);
int r4d_shape_sample_pick (const RadParam*, int, int operand, RadOpdDesc*);
int r4d_shape_sample_chain (const RadParam*, int, int operand, RadOpdDesc*);