跳到正文
AI NEWS JOURNAL
ONE EVENT. MANY PERSPECTIVES.

llama.cpp 发布 b11883 版本,修复 4D 张量量化与 MoE 专家张量识别逻辑

llama.cpp 于 2026-10-26 发布版本 b11883,通过 PR #30820 修复了 4D 张量量化中因维度计算错误导致部分数据丢失的问题,并改用张量命名规则(*_exps / *_chexps)替代维度条件判断来准确识别 MoE 专家张量,同时修正 imatrix 尺寸计算。该版本提供覆盖 macOS、Linux、Windows、Android、iOS 及 openEuler 的多平台二进制包。

1 个独立来源 · 1 篇报道切换最早在前 ↕
按发布时间排序

b11883

llama-quant : fix 4D tensor quantization using ggml_nrows() and name-based expert detection (#30820) * llama-quant : fix quantizing 4D tensors nrows_total was ne[1]*ne[2], so for a 4D tensor only the first ne[2] slices were quantized and the rest of the rows were dropped. Use ggml_nrows(tensor) to count all rows, including ne[3]. Fixes #29916 * llama-quant : detect expert tensors by name and fix imatrix size for 4D tensors The MXFP4_MOE path used ne[2] > 1 to detect MoE expert tensors. This is wrong for non-expert tensors with 3 or more dims, e.g. MLA projections (BailingMoE3) and 4D conv kernels. Use the tensor name instead: all tensors used by GGML_OP_MUL_MAT_ID are named *_exps or *_chexps. This also removes the BailingMoE3 special case. The imatrix holds one vector of ne[0] values per

译文排队中,当前为原文 · en
事件进展与其他报道