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
@@ -450,6 +450,9 @@ static const RadParamSpec pTopk[] = { P_INT("M"), P_INT("n_vocab"), P_INT
|
||||
static const RadOperandSpec oTopk[] = { OPD("logits"), OPD("params"),
|
||||
OUT("cand_idx"), OUT("cand_val"), OUT_O("pairs") };
|
||||
static const RadOperandSpec oArgmax[] = { OPD("logits"), OPD("params"), OUT("token") };
|
||||
static const RadParamSpec pLogprobs[] = { P_INT("M"), P_INT("n_vocab"), P_INT("k"),
|
||||
P_INTO("vocab_off") };
|
||||
static const RadOperandSpec oLogprobs[] = { OPD("logits"), OPD("params"), OUT("stats") };
|
||||
static const RadOperandSpec oNarrow[] = { INOUT("cand_idx"), INOUT("cand_val"), OPD("params") };
|
||||
static const RadOperandSpec oPick[] = { OPD("cand_idx"), OPD("cand_val"), OPD("params"),
|
||||
OUT("token") };
|
||||
@@ -636,6 +639,9 @@ static const RadOpSchema kSchemas[] = {
|
||||
"stream has to come out of a host reference, a device kernel and a rerun." },
|
||||
{ "sample_merge_topk", ARR(pMCand), ARR(oMerge), "the vocab-parallel candidate merge." },
|
||||
{ "sample_argmax", ARR(pMVocab), ARR(oArgmax), "greedy, ties to the lower token id." },
|
||||
{ "sample_logprobs", ARR(pLogprobs), ARR(oLogprobs),
|
||||
"the raw logits' max, sum of exp(l - max) and k largest (id, logit) pairs, for a row with "
|
||||
"RAD_SP_LOGPROBS." },
|
||||
{ "dflash_select", ARR(pDflashSelect), ARR(oDflashSelect),
|
||||
"a greedy walk over a candidate lattice: score[l, c] = unary[l, c] + sum_r pred[pid(l)][r] * "
|
||||
"hp[l][r] * succ[cand[l, c]][r], pid(0) the anchor and pid(l) the walk's own previous pick. "
|
||||
@@ -878,6 +884,8 @@ SIMPLE("avx_sample_mask", "sample_mask", "sample", "grammar bitmask application"
|
||||
SIMPLE("avx_sample_pick", "sample_pick", "sample", "seeded inverse-CDF draw", DT_FLOAT,
|
||||
L(sample_pick)),
|
||||
SIMPLE("avx_sample_argmax", "sample_argmax", "sample", "greedy pick", DT_FLOAT, L(sample_argmax)),
|
||||
SIMPLE("avx_sample_logprobs", "sample_logprobs", "sample", "the raw distribution's summary",
|
||||
DT_FLOAT, L(sample_logprobs)),
|
||||
SIMPLE("avx_dflash_select", "dflash_select", "draft",
|
||||
"DFlash2's greedy walk over the candidate lattice",
|
||||
"i32 candidates and tokens, float unary and codebooks", L(dflash_select)),
|
||||
|
||||
Reference in new issue
Block a user