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

+4 -4
View File
@@ -114,8 +114,8 @@ Mover::~Mover() {
}
/* One place the mover asks for memory. Everything device-side and everything pinned comes out of
* the budgets the operator stated (spec §6); the fallback exists so the placement test can run
* without standing a whole Pools up, and it announces itself. */
* the resolved budgets (spec §6); the fallback exists so the placement test can run without
* standing a whole Pools up, and it announces itself. */
void* Mover::reserve(const char* what, int64_t bytes, int kind) {
if (bytes <= 0) return nullptr;
if (budget_) {
@@ -134,7 +134,7 @@ int Mover::init(const Program& prog, const Plan& plan, const MoverConfig& cfg, P
stats_ = MoverStats{};
if (!budget_)
RAD_WARN("mover: no Pools handed over; allocating its slab and host pool directly. That "
"double-spends --vram-weights-mib against whatever else already reserved it, so "
"double-spends the weights pool against whatever else already reserved it, so "
"it is a test path and not a deployment.");
unit_.assign(plan.units.size(), UnitState{});
@@ -180,7 +180,7 @@ int Mover::init(const Program& prog, const Plan& plan, const MoverConfig& cfg, P
* resident count is untouched by turning the engine on. Under a static plan the plan
* asked for none and the slab is exactly the resident set. */
/* THE PLAN'S NUMBER, not a config cap. The planner reserved these out of
* --vram-weights-mib and the report told the operator how many; allocating a different
* the weights pool and the report told the operator how many; allocating a different
* count here would mean the mover works against one number while the operator was charged
* for another, and the direction that is wrong in is an overrun. */
const int64_t shadow = plan.dynamic ? sc.n_shadow : 0;