radiance 1.7.0

- every model serves without a GPU: libavx covers every op, so `--kernels libavx` alone serves
  every shipped container
- Qwen3-ASR (zivius): speech to text on /v1/audio/transcriptions and live over /v1/realtime
- /v1/messages works with Claude Code as it ships (gearwave00001)
- a long agent conversation keeps its cached history when the client rewrites its last turn
  (manueloverride)
- a stream's first event goes out with the first token, so llama-benchy measures prefill right
- opt-in --prefill-interleave (Smellyyyy, baKon) and --prefill-span (keptn42)
- four-rank TP releases the link early; four-rank selftests and docs/TP4.md (goodman-b)
- NVFP4 and FP8 compressed-tensors imports (devmilan); tools/rad-export for finetunes and LoRA
  adapters (baKon)
- many fixes, among them lost tokens on stop strings under concurrency, keep-alive, MiniCPM5 tool
  arguments and the CPU's vision and audio encoders
- plugin ABI 17 and changed op schemas: out-of-tree plugins must be rebuilt
This commit is contained in:
Deadcode committed 2026-10-16 18:25:18 +02:00
1 parent b068190326
commit 1e968f6e1d
739 files changed
+128447 -84632

No files matched your search

+5 -5
View File
@@ -26,8 +26,8 @@ int WordScanner::build(const std::vector<std::string>& words, std::string* err)
cls_[c] = (uint8_t)ncls_++;
}
/* The trie, with its edges held densely from the start: a missing edge is kUnset until the
* breadth-first pass below resolves it through the failure link. */
/* The trie with dense edges; a missing edge is kUnset until the breadth-first pass resolves
* it through the failure link. */
constexpr uint32_t kUnset = ~0u;
next_.assign(ncls_, kUnset);
out_len_.assign(1, 0u);
@@ -47,9 +47,9 @@ int WordScanner::build(const std::vector<std::string>& words, std::string* err)
max_len_ = std::max<uint32_t>(max_len_, (uint32_t)w.size());
}
/* Failure links in breadth-first order, so a state's link is final before any deeper state
* reads it. A state's longest match is its own word if it ends one, which is longer than any
* proper suffix, and otherwise its failure state's. */
/* Failure links in breadth-first order, so a state's link is final before a deeper state
* reads it. A state's longest match is its own word if it ends one, else its failure
* state's. */
const uint32_t n_states = (uint32_t)out_len_.size();
std::vector<uint32_t> fail(n_states, 0u);
std::vector<uint32_t> queue;