Can I run it?

Can I run gemma 4 E2B it on Apple M4 Max (40-core GPU)?

Runs great

Runs great fully in unified memory on your Apple M4 Max (40-core GPU) at BF16, 8K context, about 31–43 tok/s. Weights 8.67 GB plus 0.07 GB of KV cache — 9.13 GB of 36.0 GB usable. Up to 128K context still fits.

Best quantBF16
Working context8K
Max that fits128K
Speed31–43 tok/s
Weights8.67 GB
KV cache0.07 GB
Total9.13 GB
Usable36.0 GB

gemma 4 E2B it details · Apple M4 Max (40-core GPU) page · How this estimate is made

Run commands

llama.cpp
llama-server -hf unsloth/gemma-4-E2B-it-GGUF:BF16 -c 8192 -ngl 35
Ollama
ollama run gemma
LM Studio
lms get unsloth/gemma-4-E2B-it-GGUF
# Then load quant BF16

Assumptions

Larger models that also fit

Updated 2026-10-24. Profile on this page is the device default.