How to use from
llama.cpp
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf RachidAR/gemma-4-12B-it-qat-q4_0-MTP-assistant-gguf:
# Run inference directly in the terminal:
llama cli -hf RachidAR/gemma-4-12B-it-qat-q4_0-MTP-assistant-gguf:
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf RachidAR/gemma-4-12B-it-qat-q4_0-MTP-assistant-gguf:
# Run inference directly in the terminal:
llama cli -hf RachidAR/gemma-4-12B-it-qat-q4_0-MTP-assistant-gguf:
Use pre-built binary
# Download pre-built binary from:
# https://github.com/ggerganov/llama.cpp/releases
# Start a local OpenAI-compatible server with a web UI:
./llama-server -hf RachidAR/gemma-4-12B-it-qat-q4_0-MTP-assistant-gguf:
# Run inference directly in the terminal:
./llama-cli -hf RachidAR/gemma-4-12B-it-qat-q4_0-MTP-assistant-gguf:
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-server llama-cli
# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama-server -hf RachidAR/gemma-4-12B-it-qat-q4_0-MTP-assistant-gguf:
# Run inference directly in the terminal:
./build/bin/llama-cli -hf RachidAR/gemma-4-12B-it-qat-q4_0-MTP-assistant-gguf:
Use Docker
docker model run hf.co/RachidAR/gemma-4-12B-it-qat-q4_0-MTP-assistant-gguf:
Quick Links

Gemma 4 12B QAT MTP Assistant GGUF

GGUF quantizations converted from google/gemma-4-12B-it-qat-q4_0-unquantized-assistant.

Tested with llama.cpp b9549+ (Gemma 4 MTP support).

Recommendations

  • Q4_0_Q4emb — recommended for most users
  • Q8_0 — highest precision

Files

  • gemma-4-12b-qat-it-assistant-Q4_0-Q6emb.gguf
  • gemma-4-12b-qat-it-assistant-Q4_0_Q4emb.gguf
  • gemma-4-12b-qat-it-assistant-Q8_0.gguf

Notes

Q4_0_Q4emb keeps token_embd.weight in Q4_0 rather than the higher-precision embedding quantization normally used by llama.cpp.

Initial testing showed similar draft acceptance rates while reducing file size.

Example

llama-server \
  -m gemma-4-12B-it-qat-Q4_0.gguf \
  -md gemma-4-12b-qat-it-assistant-Q4_0_Q4emb.gguf \
  --spec-type draft-mtp \
  --spec-draft-n-max 2
Downloads last month
2,187
GGUF
Model size
0.4B params
Architecture
gemma4-assistant
Hardware compatibility
Log In to add your hardware

4-bit

8-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for RachidAR/gemma-4-12B-it-qat-q4_0-MTP-assistant-gguf

Collection including RachidAR/gemma-4-12B-it-qat-q4_0-MTP-assistant-gguf