513 tok/s single-stream decode on one consumer GPU — ahead of llama.cpp with tighter variance.
PARAMETERS
1B
ARCHITECTURE
Dense
QUANT
Q4_K_M
VRAM
2 GB+
Llama 3.2 1B is the fastest path to local text generation: instruction-tuned, 128K context, and small enough that decode runs at interactive-agent speeds on any modern GPU.
IronWorks runs the standard GGUF Q4_K_M export fully GPU-resident with whole-decode-loop CUDA graph capture, so per-token launch overhead is amortized to near zero.
# CLI (CUDA build)
cargo install ironworks-cli --features cuda
# or build from source
git clone https://github.com/nervosys/IronWorks && cd IronWorks
cargo build --release -p ironworks-cli --features cuda# Single completion
iwx complete -m Llama-3.2-1B-Instruct-Q4_K_M.gguf --gpu \
-p "Explain KV caching in two sentences." -n 256
# Interactive chat
iwx chat -m Llama-3.2-1B-Instruct-Q4_K_M.gguf --gpu
# OpenAI-compatible server
iwx serve -m Llama-3.2-1B-Instruct-Q4_K_M.gguf --port 8080Cache prefill KV to disk in 512-token chunks; reruns and shared prefixes skip prefill entirely — measured 7.3× faster time-to-first-token on repeated prompts.
iwx chat -m Llama-3.2-1B-Instruct-Q4_K_M.gguf --gpu \
--kv-cache-dir ~/.cache/ironworks/kv| METRIC | MEASURED | NOTES |
|---|---|---|
| Decode (tg128, greedy) | 513.6 ± 6.3 tok/s | llama.cpp same-session: 503.6 ± 10.6 (+2.0%) |
| Variance | ±1.2% | tighter than llama.cpp ±2.1% |
RTX 3090 Ti, single GPU, greedy tg128, same-session A/B vs llama.cpp CUDA build, 2026-05-28.