跳到正文
Ollama Blog·· 2026-06-29精选AI 评分62

Ollama 0.31 为 Gemma 4 加入多 token 预测,编码智能体基准提速近 90%

Faster Gemma 4 on MLX with multi-token prediction

AI 导读

Ollama 0.31 在 Apple Silicon 上为 Gemma 4 默认开启多 token 预测(MTP),在 Aider polyglot 基准上生成速度平均提升近 90%,且不改变模型输出。

推荐理由

原文给出 MTP 在 Ollama 0.31 上的默认开启方式与实测加速幅度,可据此判断本地跑 Gemma 4 编码智能体的收益。

来源:Ollama Blog · ollama.com