Gemma 4 E4B を64GB Macで実測: 速度・品質・メモリ
Google、リリース Apr 2026。 8B パラメータ、Dense. 4-bit MLX ビルド、ダウンロード 5.2 GB。ライセンス Apache-2.0。
- HumanEval+ pass@1: 164問中 137問(83.5%)、8モデル中 5位
- HumanEval pass@1: 164問中 143問(87.2%)
- 生成速度: 毎秒 80.5 トークン(5回、79.4〜81.3)。プロンプト処理 毎秒 3,353 トークン
- ピークメモリ: 5.1 GB · 生成中の消費電力: 22 W · GPU 最高 75 °C
自分で動かす
pip install mlx-lm mlx_lm.chat --model mlx-community/gemma-4-e4b-it-4bit
不合格だった問題
HumanEval/26, HumanEval/32, HumanEval/36, HumanEval/47, HumanEval/59, HumanEval/65, HumanEval/76, HumanEval/89, HumanEval/92, HumanEval/93, HumanEval/95, HumanEval/103, HumanEval/113, HumanEval/115, HumanEval/118, HumanEval/122, HumanEval/130, HumanEval/132, HumanEval/145, HumanEval/160, HumanEval/163
生ファイル: speed.log, evaluate.log, eval_results.json