PulseAugur
中
实时 06:06:07
English(EN) llama.cpp reads past its own pos buffer for M-RoPE embeddings, and nothing reports it

llama.cpp 错误导致 M-RoPE 嵌入批次结果不确定

llama.cpp 库中的一个错误会导致在处理 Qwen3.5 和 Qwen2.5-VL 等 M-RoPE 模型的嵌入批次时产生不正确的结果。该问题源于堆缓冲区溢出,库读取了超出位置数组分配内存的区域。这可能导致不确定的 logits,在某些情况下还会导致错误的 token 预测,尽管它通常很微妙且难以检测。该问题在使用这些模型的嵌入模式时发生,而标准的 token 处理不受影响。 AI

影响 llama.cpp 中的此错误可能导致使用 M-RoPE 模型的跨模态 AI 应用出现细微的准确性问题,可能影响可复现性和输出质量。

排序理由 该集群描述了特定软件工具 (llama.cpp) 中的一个影响模型推理的错误,而不是新的模型发布或研究突破。

在 dev.to — LLM tag 阅读 →

AI 生成摘要 · Google Gemini · 来自 2 个来源。 我们如何撰写摘要 →

llama.cpp 错误导致 M-RoPE 嵌入批次结果不确定

本文如何被排名

Signal score
0 / 100
Composite score across the factors below. Higher = stronger signal that this story matters right now.
Newsworthiness bucket
Tool
该集群描述了特定软件工具 (llama.cpp) 中的一个影响模型推理的错误,而不是新的模型发布或研究突破。
Source corroboration
2 independent sources
Multiple independent publishers reporting the same story raises confidence that it's real and newsworthy.
Topics
infra
Editorial topic classification. Feeds into how the story surfaces on /topic/<slug> hub pages and into the per-entity coverage mix.
AI-industry relevance
High
Clearly on-topic for AI-industry coverage.
Story freshness
59 days old
Aged out of breaking-news scoring windows; ranking reflects the durable signal from the full source set.

完整方法见我们的编辑标准。

报道来源 [2]

  1. dev.to — LLM tag TIER_1 English(EN) · The Homelab Postmortem ·

    llama.cpp 在 M-RoPE 模型嵌入批次时会读取超出 pos 数组的范围,并且 logits 会随堆变化

    <p><strong>TL;DR</strong>: decode the same <code>llama_batch.embd</code> batch twice on an M-RoPE model — Qwen3.5, Qwen2.5-VL, Qwen3-VL, anything whose <code>llama_model_rope_type()</code> is <code>MROPE</code> or <code>IMROPE</code> — and the logits differ, on the CPU, one threa…

  2. dev.to — LLM tag TIER_1 English(EN) · The Homelab Postmortem ·

    llama.cpp 读取 M-RoPE 嵌入时超出其自身 pos 缓冲区,且未报告任何错误

    <p><strong>TL;DR</strong>: <code>include/llama.h</code> says the <code>pos</code> array "must have size of n_tokens", and that if you pass <code>NULL</code> "the token position will be tracked automatically". For a model that uses multiple positions per embedding — M-RoPE, which …