CoolFace
Modelpublic

Edmon02/gemma-4-12B-it-GGUF

sourceHugging Faceapache-2.0updated 3mo agoView on Hugging Face
0likes2kdownloads
Model Card

Gemma 4 12B Instruction-Tuned — GGUF (multimodal)

Community GGUF mirror of google/gemma-4-12B-it for local, encoder-free multimodal AI on consumer hardware (~16 GB VRAM).

Announced June 2026: Google blog · Developer guide

Parameters~12B dense
ModalitiesText, vision, audio (native in backbone)
LicenseApache 2.0
ArchitectureEncoder-free (no separate vision/audio towers)
ContextSee upstream config
Vision in GGUFRequires *`mmproj-.gguf`** alongside main weights

Why this repo exists

Available files

See `gguf-manifest.json` for the live file list.

Essential tier (recommended)

FileUse
gemma-4-12B-it-Q4_K_M.ggufBest balance — 16 GB laptops
gemma-4-12B-it-Q5_K_M.ggufHigher quality
gemma-4-12B-it-Q6_K.gguf / Q8_0Max quality
gemma-4-12B-it-Q3_K_M.ggufTighter VRAM
gemma-4-12B-it-Q2_K.ggufMinimum size
gemma-4-12B-it-IQ4_XS.gguf / IQ4_NL.ggufIQ variants
mmproj-gemma-4-12B-it-f16.ggufRequired for images in llama.cpp

Full tier

All bartowski quants (Q2KL, Q3KXL, Q40, Q41, bf16, imatrix, etc.) — run make sync-gemma4-gguf-full.

Download

bash
pip install -U huggingface_hub

# Text + vision (recommended)
huggingface-cli download Edmon02/gemma-4-12B-it-GGUF \
  gemma-4-12B-it-Q4_K_M.gguf \
  mmproj-gemma-4-12B-it-f16.gguf \
  --local-dir ./models/gemma-4-12b

Accept the license on google/gemma-4-12B-it before using weights.

Quick start

llama.cpp (text)

bash
llama-cli -m gemma-4-12B-it-Q4_K_M.gguf -p "Explain encoder-free multimodal models in 3 bullets." -n 256

llama.cpp (image + text)

bash
llama-mtmd-cli \
  -m gemma-4-12B-it-Q4_K_M.gguf \
  --mmproj mmproj-gemma-4-12B-it-f16.gguf \
  --image photo.jpg \
  -p "Describe this image."

LiteRT-LM (OpenAI-compatible local server)

bash
litert-lm import --from-huggingface-repo=litert-community/gemma-4-12B-it-litert-lm gemma-4-12B-it.litertlm gemma4-12b
litert-lm serve

LM Studio / Ollama

Import Edmon02/gemma-4-12B-it-GGUF and select Q4_K_M + mmproj.

Apple Silicon (MLX)

Native inference on M-series Macs via mlx-vlm (not mlx-lm — Gemma 4 is multimodal):

bash
pip install -U mlx-vlm
huggingface-cli download Edmon02/gemma-4-12B-it-MLX 4bit/ --local-dir ./models/gemma-4-12b-mlx
python -m mlx_vlm.generate --model ./models/gemma-4-12b-mlx/4bit --prompt "Hello" --max-tokens 128

See Edmon02/gemma-4-12B-it-MLX and make convert-gemma4-mlx for maintainer conversion.

Use cases

Use caseQuantTool
Local coding agentQ4KMOpenCode, Continue, Aider
Voice + vision assistantQ5KM + mmprojGoogle AI Edge Gallery / Eloquent (Mac)
Armenian + English researchQ4KMPair with HyVoxPopuli ASR/TTS
Low-VRAM laptopQ3KM or IQ4_XSllama.cpp
Fast inferenceMTP drafter (upstream)Google checkpoint + compatible runtime

Hardware guide

VRAMSuggested files
8 GBIQ4XS or Q3K_M (text only, short context)
16 GBQ4_K_M + mmproj
24 GB+Q6K or Q80 + mmproj

Provenance

ItemSource
Base modelgoogle/gemma-4-12B-it
GGUF quantsMirrored from bartowski/gemma-4-12B-it-GGUF
Maintainer scriptsEdmon02/audio_set scripts/sync_gemma4_gguf_quants.py

Limitations

  • —Community quants — validate quality on your tasks vs official BF16.
  • —Audio in GGUF may require latest llama.cpp / LM Studio builds.
  • —Gated upstream — HF token + license acceptance required for google/* repos.

Contributing

Add recipes under projects/gemma-4-12b-local/examples/. See CONTRIBUTING.md in that folder.

Citation

bibtex
@article{gemma_2026,
  title={Gemma 4},
  author={Google DeepMind},
  year={2026},
  url={https://blog.google/innovation-and-ai/technology/developers-tools/introducing-gemma-4-12B/}
}