radiance 1.0.1

- Up to 32 sequences a step on every model. The DSpark drafter (MiniCPM5) no longer rejects every
  draft from the tenth sequence on, and the step batch's block tables and media staging are
  charged to the VRAM budget instead of the headroom kernels load into.
- A tool parameter whose schema accepts no value ({"not": {}}, as TypeBox and Arktype export
  `never`) is an argument no call writes, instead of failing the request. oh-my-pi's task tool
  works.
- --served-model-name NAME and --override-chat-template PATH.
- The startup session count counts only the part of the KV pool that holds context.
- Compose files and README run --max-num-seqs 32 where it keeps a 200K-token request.
This commit is contained in:
Deadcode committed 2026-10-04 15:07:32 +02:00
1 parent ae74a8aebf
commit 8ddb77e03c
28 files changed
+595 -60

No files matched your search

+9
View File
@@ -653,6 +653,10 @@ struct Config {
/* --api-key: the bearer key every request but the probes and the dashboard page must carry.
* Empty serves without one. */
std::string api_key;
/* --served-model-name: the id /v1/models lists, a response names when its request named none,
* and the metrics carry. Empty takes the container's own name. A request may still name any
* model: one model is loaded and every request is served by it. */
std::string served_model_name;
/* WHAT A REQUEST THAT SENDS NO SAMPLER SETTINGS IS SERVED WITH.
*
@@ -671,6 +675,11 @@ struct Config {
float sample_min_p = -1.0f;
/* An operator-supplied generation_config.json, overriding the search described above. */
std::string generation_config;
/* --override-chat-template: a Jinja file whose text replaces the chat template the container
* (or the checkpoint directory) carries. Everything that reads the template reads this one:
* the chat endpoint's rendering, and the reply format derived from it -- reasoning markers and
* tool calls. Empty serves the container's. */
std::string override_chat_template;
bool debug_graph = false;
bool debug_selection = false;