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

+8 -5
View File
@@ -168,9 +168,11 @@ public:
const mm::Item* item = nullptr;
int32_t seg0 = 0, n_seg = 0;
};
const RadBatch* build_encoder(const std::vector<EncoderPart>& parts, int step);
/* `enc` is the encoder the pass runs: its patch width, pass size and merge bound the parts,
* and its modalities are RadBatch::enc. */
const RadBatch* build_encoder(const std::vector<EncoderPart>& parts, int step,
const RadEncoderDecl& enc);
bool has_encoder() const { return mm_on_; }
int64_t encoder_patches() const { return enc_patches_; }
private:
@@ -366,9 +368,10 @@ private:
uint16_t* mm_host_ = nullptr;
RadEvent mm_ev_ = nullptr;
bool mm_ev_live_ = false;
/* ...and the encoder's inputs: patches, their coordinates and the segment boundaries, the
* largest pass the plugin declared. One copy a rank, since each runs the tower itself. */
int64_t enc_patches_ = 0, enc_dim_ = 0, enc_segs_ = 0;
/* ...and the encoders' inputs: patches, their coordinates and the segment boundaries, sized
* for the larger of the passes the plugin declared (a vision tower's and an audio encoder's
* run one at a time and share it). One copy a rank, since each runs the tower itself. */
int64_t enc_patches_ = 0, enc_pix_elems_ = 0, enc_segs_ = 0;
std::vector<void*> enc_pix_dev_, enc_coord_dev_, enc_cu_dev_;
uint16_t* enc_pix_host_ = nullptr;
int32_t* enc_coord_host_ = nullptr;