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

+9 -1
View File
@@ -90,9 +90,12 @@ struct RadBuilder {
/* The buffer the plugin named as this step's logits (rad_declare_logits). */
rad_buf logits = 0;
/* The vision tower's declaration (rad_declare_encoder), when the plugin made one. */
/* The vision tower's declaration (rad_declare_encoder), when the plugin made one, and the
* audio encoder's. */
RadEncoderDecl encoder{};
std::string encoder_name;
RadEncoderDecl audio_encoder{};
std::string audio_encoder_name;
/* What rad_weight_encoding answers: the first entry whose key the source name contains. Empty
* is a builder with no model behind it, where every weight is plain in its declared dtype. */
@@ -248,6 +251,11 @@ extern "C" int rad_declare_drafter(RadBuilder* b, const RadDrafterDecl* d) {
}
extern "C" int rad_declare_encoder(RadBuilder* b, const RadEncoderDecl* d) {
if (!b || !d || !d->name || !d->modalities) return RAD_E_INVAL;
if (d->modalities == RAD_MM_AUDIO) {
b->audio_encoder = *d;
b->audio_encoder_name = d->name;
return RAD_OK;
}
b->encoder = *d;
b->encoder_name = d->name;
return RAD_OK;