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

+6 -13
View File
@@ -1,9 +1,8 @@
/* unicode_norm.h -- NFC / NFD / NFKC / NFKD over codepoint vectors.
*
* The four forms are declared steps in a HuggingFace normaliser chain, so the tokeniser has to
* be able to run them or a model that declares one gets silently different token boundaries --
* the exact failure class spec §12 exists to remove. llama.cpp has no equivalent, so this is
* ours; the tables it reads live in unicode_norm_data.cpp and say there how they were made.
* The four forms are declared steps in a HuggingFace normaliser chain; a model that declares one
* and is tokenised without it gets silently different token boundaries (spec §12). llama.cpp has
* no equivalent. The tables live in unicode_norm_data.cpp, which documents how they were made.
*/
#pragma once
#include <cstddef>
@@ -30,18 +29,12 @@ extern const size_t k_ccc_n;
uint32_t unorm_ccc(uint32_t cpt);
/* In place, on codepoints. `compat` selects the K forms, `compose` selects the C forms, so the
* four public names below are the four corners of that square. */
/* In place, on codepoints. `compat` selects the K forms; following with unorm_compose gives the
* C forms. */
void unorm_decompose(std::vector<uint32_t>& cpts, bool compat);
void unorm_compose(std::vector<uint32_t>& cpts);
std::vector<uint32_t> unorm_nfd (const std::vector<uint32_t>& in);
std::vector<uint32_t> unorm_nfkd(const std::vector<uint32_t>& in);
std::vector<uint32_t> unorm_nfc (const std::vector<uint32_t>& in);
std::vector<uint32_t> unorm_nfkc(const std::vector<uint32_t>& in);
/* UTF-8 in, UTF-8 out. The tokeniser's step chain works on strings, so this is the form it
* calls; the codepoint forms above are what the tests pin. */
/* UTF-8 in and out: the form the tokeniser's string-based step chain calls. */
std::string unorm_utf8(const std::string& in, bool compat, bool compose);
} /* namespace rad */