Gemma 4 31B
· llama.cpp · 128K context · Arc Pro B70 · 32 GB
Google's dense Gemma 4, 31B parameters.
23 tok/sdecode
465 tok/sprefill
128Kcontext window
Tested on this cardOct 16, 2026
Follow the steps below to download and run this recipe. Omarchy Local AI lists the recipes it can launch on your hardware. The server then answers on http://localhost:8000/v1.
- 1 Download the weights
hf download lmstudio-community/gemma-4-31B-it-QAT-GGUF gemma-4-31B-it-QAT-Q4_0.gguf \ --revision 12e5eae7a583b0a8bac91919fa99ae1fb27e6de4 \ --local-dir ~/models/gemma-4-31B-it-QAT-GGUF-12e5eae7
- 2 Start the server
docker run --rm \ --device /dev/dri \ -p 8000:8080 \ --shm-size 8g \ -e ONEAPI_DEVICE_SELECTOR=level_zero:0 \ -e UR_L0_ENABLE_RELAXED_ALLOCATION_LIMITS=1 \ -v ~/models/gemma-4-31B-it-QAT-GGUF-12e5eae7:/models:ro \ ghcr.io/ggml-org/llama.cpp@sha256:86b37d266ce85b485127adea68c9dc6d04d0ec9a64b0979844d5bbd8d66c53c5 \ -m /models/gemma-4-31B-it-QAT-Q4_0.gguf \ --alias gemma-4-31B-it-QAT-GGUF \ --host 0.0.0.0 \ --port 8080 \ --ctx-size 131072 \ --n-gpu-layers 999 \ --parallel 1 \ --flash-attn on \ --batch-size 2048 \ --ubatch-size 2048 \ --cache-type-k q8_0 \ --cache-type-v q8_0 \ --jinja \ --reasoning-format deepseek \ --no-mmproj \ --metrics
✓ loadLoads and serves within an hour
✓ chatAnswers a plain question and stops on its own
✓ reasoningThinks separately and gets 17 × 23 right
✓ toolsCalls a tool with the right arguments and uses the result
✓ contextRecalls a code buried in a prompt that fills 85% of the window
✓ speedDecodes at 15 tok/s or more
Passed all six checks on a real Intel Arc Pro B70 32 GB (owner: omarchy box, EPYC 7443P, card 0000:48:00.0) on Oct 16, 2026.
- Weights
- lmstudio-community/gemma-4-31B-it-QAT-GGUF @ 12e5eae7a5 ›
- Image
- ghcr.io/ggml-org/llama.cpp@sha256:86b37d266ce85b485127adea68c9dc6d04d0ec9a64b0979844d5bbd8d66c53c5
- Launch
- llama.cpp-sycl-gemma-4-31b-qat-q4-0-128k-kvq80-arc-pro-b70 ›
- Recipe file
- registry/recipes/intel/intel-arc-pro-b70-32gb/gemma-4-31b.llama.cpp.128k.json ›
- Model released
- Mar 11, 2026
- Tested
- owner, Intel Arc Pro B70 32 GB (owner: omarchy box, EPYC 7443P, card 0000:48:00.0)