radiance 1.2.4

- EmbeddingGemma 2 (google/embeddinggemma-2): text, image, video and audio embeddings on the
  card (libr4d) and on the CPU (libavx); prompt_name, Matryoshka dimensions, image budgets,
  mixed content parts and the messages form on /v1/embeddings
- #43: on serves that lend the activation arena to the experts (Qwen3.8-Flash-Next with
  expert_tiered), every image after the first read its rows from the wrong place -- garbage
  replies, or an earlier request's image. Fixed
- the Qwen vision towers' attention resolves on the card again (broken on main after 1.2.3,
  never released)
- #42: a warning at startup when amdgpu cwsr_enable is 0, and a stalled queue is reported as
  slow or stuck; the guide covers the GPU-hang-and-reset chain
This commit is contained in:
Deadcode committed 2026-10-07 22:42:45 +02:00
1 parent 05af4db458
commit 7d840861af
76 files changed
+8324 -467

No files matched your search

+6
View File
@@ -114,6 +114,11 @@ struct OaiRequest {
/* /v1/embeddings */
bool base64_embeddings = false;
/* OpenAI's `dimensions`: the vector's first `dimensions` components, renormalised -- a
* Matryoshka-trained model's shorter embedding. 0 is the model's own width. */
int64_t dimensions = 0;
/* /v1/embeddings: a soft-token budget for the request's images, 0 the server's. */
int32_t image_tokens = 0;
int n_choices() const { return (int)prompts.size() * n; }
};
@@ -239,6 +244,7 @@ struct OaiDeps {
IChatTemplate* chat = nullptr;
IGrammarCompiler* grammar = nullptr;
IMultimodal* mm = nullptr;
IEmbedder* embed = nullptr;
};
/* Parse. `body` is the raw request body; a malformed body is a 400 that says where. */