Archived
radiance 1.9.0
New models: - LTX-2.5 (base and distilled): video with a stereo soundtrack from text or from text and a first frame, on one card, with its duration head, tiled VAE decoding, the diffusion decoder and the x2 latent upsampler - Krea 2 Raw and Turbo, and FLUX.3 [klein] and its base: text to image, and for FLUX.3 edits from up to ten reference pictures, on one card - GLM-5.3-Flash from AMD's Quark MXFP4 export, on eight cards (John McDonough, Nunze) - Gemma 3 / TranslateGemma 27B with an optional DFlash2 drafter (mici81) Engine: - --kv-cache-dtype fp8_v4 and k6_v4 for Gemma 3 and Qwen3.8-Flash-Next (mici81) - the rotated int8 trunk (i8a8h) for Qwen3.8-27B (eddie168168) - eight-rank all-reduce bands, weighted shards and pieces (Nunze); --host-headroom-mib (sfjes) - the dashboard shows the single-stream decode floor and its most recent window (Memoria) Fixes: prefix-cache reservations kept until their save lands (baKon), tool calls in Responses namespaces (#119), system messages merged when a template refuses several (#137), a prefill continued with no open step (#127), calibration of a Gram accumulation (#122), JSON Schema patterns read unanchored (davetha), GLM-style tool calls, the KV floor counting every sequence's state. Plugin ABI 24.
This commit is contained in:
1 parent
778cbf315e
commit
685ec5bd85
136 files changed
+18917
-3821
No files matched your search
+8
-2
@@ -109,6 +109,10 @@ struct OaiRequest {
|
||||
/* The Responses API request fields its response object echoes (instructions, tools,
|
||||
* tool_choice, text, reasoning, ...), as a JSON object; "" for the other shapes. */
|
||||
std::string echo_json;
|
||||
/* The Responses API's namespaced function tools, flattened for the chat path: the flattened
|
||||
* name ("<namespace>__<name>") to its namespace and name, which a function_call item reports
|
||||
* apart. Empty for the other shapes. */
|
||||
std::map<std::string, std::pair<std::string, std::string>> tool_namespace;
|
||||
/* llama-server's native /completion: the generated token ids beside the text. */
|
||||
bool return_tokens = false;
|
||||
/* The reasoning block's closer when the reply starts inside the block, else "": the stop
|
||||
@@ -499,9 +503,11 @@ std::string anthropic_error_body(const ApiError& e);
|
||||
/* OpenAI's Responses API, translated into the equivalent chat request like Anthropic's. `*echo`
|
||||
* holds the request fields the response object repeats. previous_response_id needs server-side
|
||||
* storage and is refused; non-function tool types have no chat equivalent and are dropped, as
|
||||
* llama-server does. */
|
||||
* llama-server does. A namespace's function tools are flattened to "<namespace>__<name>", and
|
||||
* `*ns` (when given) maps each flattened name back for the reply's function_call items. */
|
||||
int responses_to_chat(const std::string& body, const OaiLimits& lim, std::string* chat,
|
||||
std::string* echo, ApiError* err);
|
||||
std::string* echo, ApiError* err,
|
||||
std::map<std::string, std::pair<std::string, std::string>>* ns = nullptr);
|
||||
std::string responses_body(const OaiRequest& r, const ChoiceOut& c, const UsageOut& u);
|
||||
|
||||
/* Anthropic's stop_reason for a finish and the stop string that caused it. */
|
||||
|
||||
Reference in new issue
Block a user