Granite 4.2 8B
· llama.cpp · 96K context · RTX A2000 8GB Laptop · 8 GB
IBM's 8B dense model (40 layers). It thinks before it answers and calls tools.
34 tok/sdecode
277 tok/sprefill
96Kcontext window
Tested on this cardNov 7, 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 ibm-granite/granite-4.2-8b-GGUF granite-4.2-8b-Q2_K.gguf \ --revision 93f3f6a8938ee922b784cf4e5b4203cd3428df8f \ --local-dir ~/models/granite-4.2-8b-GGUF-93f3f6a8
- 2 Start the server
docker run --rm \ --gpus all \ -p 8000:8080 \ --shm-size 1g \ -e CUDA_DEVICE_ORDER=PCI_BUS_ID \ -v ~/models/granite-4.2-8b-GGUF-93f3f6a8:/models:ro \ --entrypoint /app/llama-server \ ghcr.io/ggml-org/llama.cpp:server-cuda12@sha256:821d0ae4e5d4e82a2ad8d08973b5f9cd5d0b84524b1d2439ed1f3e41ebc6b4c7 \ --model /models/granite-4.2-8b-Q2_K.gguf \ --alias Granite-4.2-8B \ --cache-type-k q4_0 \ --cache-type-v q4_0 \ --host 0.0.0.0 \ --port 8080 \ --ctx-size 98304 \ --flash-attn on \ --ubatch-size 256 \ --parallel 1 \ --jinja \ --cache-ram 0 \ --metrics \ --temp 1.0 \ --top-p 0.95 \ --fit-target 64 \ --threads 12 \ --cpu-range 0-11 \ --cpu-strict 1
✓ 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 NVIDIA RTX A2000 8GB Laptop GPU on Nov 7, 2026.
- Weights
- ibm-granite/granite-4.2-8b-GGUF @ 93f3f6a893 ›
- Image
- ghcr.io/ggml-org/llama.cpp:server-cuda12@sha256:821d0ae4e5d4e82a2ad8d08973b5f9cd5d0b84524b1d2439ed1f3e41ebc6b4c7
- Launch
- llama.cpp-granite-4.2-8b-q2-k-fit-96k-rtx-a2000-laptop-8gb ›
- Recipe file
- registry/recipes/nvidia/rtx-a2000-laptop-8gb/granite-4.2-8b.llama.cpp.96k.json ›
- Model released
- Aug 7, 2026
- Tested
- owner, NVIDIA RTX A2000 8GB Laptop GPU