← Back to community benchmarks
gemma-4-E2B-it
Performance
32k
tokens
3,910
PP tok/s
46.7
TG tok/s
8381
TTFT (ms)
10.0
Peak mem (GB)
Hardware
Chip
M2 Max (38c)
Memory
96 GB
GPU Cores
38
Software
oMLX
v0.4.1
macOS
macOS 15.7.5
Context
32,768
Performance by Context Length
| Context | PP tok/s | TG tok/s | Peak Mem | |
|---|---|---|---|---|
| 1k | 4,684 | 52.7 | 9.4 GB | view |
| 4k | 4,767 | 51.6 | 9.5 GB | view |
| 8k | 4,772 | 50.1 | 9.5 GB | view |
| 16k | 4,560 | 48.6 | 9.7 GB | view |
| 32k | 3,910 | 46.7 | 10.0 GB | current |
| 64k | 3,074 | 40.5 | 10.8 GB | view |
Batching Results
| Batch Size | TG tok/s | Speedup |
|---|---|---|
| 1× | 52.7 | 1.00× |
| 2× | 48.1 | 0.91× |
| 4× | 94.8 | 1.80× |
| 8× | 186.1 | 3.53× |