PulseAugur
实时 18:33:55
English(EN) Using Gemma 4 E4B with the LiteRT engine - ~2.4x speedup over Q4 GGUF in text generation, image processing roughly the same

Gemma 4 E4B 使用 LiteRT 引擎实现 2.4 倍加速

一位用户通过使用 LiteRT 引擎和多令牌预测 (MTP) 技术,在使用 GoogleGemma 4 E4B 模型进行文本生成时实现了 2.4 倍的速度提升。与 llama.cpp 中的标准 Q4 GGUF 量化相比,这项优化在文本任务中表现出色。然而,对于图像字幕生成,速度提升仅为 1.1 倍,因为瓶颈在于视觉编码器而非文本解码器。该用户创建了一个 Python 包装器,为这个更快的本地模型提供了一个与 OpenAI 兼容的端点,并将其集成到工作流程中。 AI

影响 展示了开源模型在本地推理方面的显著加速,可能降低了高级 AI 使用的门槛。

排序理由 用户驱动的性能优化和现有模型的基准测试。[lever_c_demoted from research: ic=1 ai=1.0]

在 r/LocalLLaMA 阅读 →

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

报道来源 [1]

  1. r/LocalLLaMA TIER_1 English(EN) · /u/AnticitizenPrime ·

    Using Gemma 4 E4B with the LiteRT engine - ~2.4x speedup over Q4 GGUF in text generation, image processing roughly the same

    <!-- SC_OFF --><div class="md"><p>I know there is a PR in llama.cpp to support MTP for the 26b and 31b versions of Gemma 4, but as far as I can tell there is nothing yet for the E2B and E4B models.</p> <p>Using Hermes Agent, I had it set up Gemma 4 E4B in Google's Lite RT format,…