Hardware: M1 MAX, 64GB unified Memory, 24c GPU
Model: gemma-4-31b-it
MLX inferer: oMLX
MLX quantization: oQ4-fp16, no vision
Prefill 1024 tokens at 94.1 tokens/s, Generate 128 tokens at 14.0 tokens/s
see: https://omlx.ai/benchmarks/y9evupla
baseRT
convert:
basert convert \
path/to/google/gemma-4-31B-it \
-o path/to/gemma-4-31B-it-q4-f16scale.base \
--target base-q4 \
--profile path/to/BaseRT/base-convert/profiles/default-q4-f16scale.json
benchmark:
basert bench path/to/gemma-4-31B-it-q4-f16scale.base -p 1024 -n 128
| model | size | test | t/s |
| --- | ---: | ---: | ---: |
| gemma-4-31B-it-q4-f16scale.base | 32458 MiB | pp1024 | 74.25 ± 0.06 |
| gemma-4-31B-it-q4-f16scale.base | 32458 MiB | tg128 | 11.74 ± 0.01 |
Hardware: M1 MAX, 64GB unified Memory, 24c GPU
Model: gemma-4-31b-it
MLX inferer: oMLX
MLX quantization: oQ4-fp16, no vision
Prefill 1024 tokens at 94.1 tokens/s, Generate 128 tokens at 14.0 tokens/s
see: https://omlx.ai/benchmarks/y9evupla
baseRT
convert:
benchmark: