LLM Studio · how to run every open model, correctly Vol 01 · No 01 · 2026
Index/LLM Studio/Stability AI/Stable LM 2 12B/vLLM · AWQ 4-bit
vLLM · AWQ 4-bit · NVIDIA · CUDA 12+

Stable LM 2 12B on vLLM at AWQ 4-bit

OpenAI-compatible server. Tensor-parallel across multiple GPUs. The default serving stack for anyone past a single box. Activation-aware 4-bit. Preserves quality better than naive int4.

At a glance The numbers

Model
Stability AI Stable LM 2 12B
Family
Stable LM
Params
12B
License
Stability AI Community
Engine
vLLM
Quantization
AWQ 4-bit
Bytes per param
0.55
Platform
NVIDIA · CUDA 12+

The command Copy and run

What vLLM expects you to type to serve Stable LM 2 12B at AWQ 4-bit. Adjust the paths for your filesystem; the structure holds.

pip install vllm
vllm serve stabilityai/stablelm-2-12b-AWQ4-BIT --quantization awq \
  --max-model-len 4096 \
  --gpu-memory-utilization 0.90

Why this quant The trade-off

AWQ 4-bit — Activation-aware 4-bit. Preserves quality better than naive int4.

Expect to need around 11 GB of VRAM to hold the weights at this precision. This is a dense model: every parameter runs for every token. VRAM and compute both scale with the full 12B. Fits on Consumer 24 GB — RTX 3090 or 4090.

Common failures What breaks, and the fix

OOM at long context
Reduce --max-model-len; try --enable-prefix-caching to amortize.
Slow first token
Add --enable-prefix-caching and --enable-chunked-prefill.
Tensor-parallel mismatch
The number of attention heads must be divisible by --tensor-parallel-size.

Alternatives Other ways to run this model

About the model

Historical; Stability pivoted away from text models.

Open the full model page →