LLM Studio · how to run every open model, correctly Vol 01 · No 01 · 2026
Index/LLM Studio/Google DeepMind/Gemma 2 27B/MLX · FP16
MLX · FP16 · Apple Silicon only · M1 and later

Gemma 2 27B on MLX at FP16

Built by Apple for M-series hardware. Uses the unified memory pool, so RAM is VRAM. mlx-community mirrors most open models with 4-bit quants ready. Reference precision. No quality loss.

At a glance The numbers

Model
Google DeepMind Gemma 2 27B
Family
Gemma
Params
27B
License
Gemma
Engine
MLX
Quantization
FP16
Bytes per param
2
Platform
Apple Silicon only · M1 and later

The command Copy and run

What MLX expects you to type to serve Gemma 2 27B at FP16. Adjust the paths for your filesystem; the structure holds.

pip install mlx-lm

mlx_lm.generate \
  --model mlx-community/gemma-2-27b-fp16 \
  --max-tokens 1024 \
  --prompt "Hello"

Why this quant The trade-off

FP16 — Reference precision. No quality loss.

Expect to need around 58 GB of VRAM to hold the weights at this precision. This is a dense model: every parameter runs for every token. VRAM and compute both scale with the full 27B. Fits on Single H100 or A100 80 GB — Datacenter-class card, single GPU.

Common failures What breaks, and the fix

Model not in mlx-community
Convert yourself with `mlx_lm.convert --hf-path ... --quantize`.
Swap thrashing
Model exceeds unified memory; try a smaller quant or a smaller model.
Slow first run
First invocation compiles Metal kernels; subsequent runs are fast.

Alternatives Other ways to run this model

About the model

Distilled from Gemini; strong at size and long cited in research.

Open the full model page →