OpenAI-compatible server. Tensor-parallel across multiple GPUs. The default serving stack for anyone past a single box. Half the VRAM of FP16. Minimal quality loss on H100-class hardware.
What vLLM expects you to type to serve Stable LM 2 12B at FP8. Adjust the paths for your filesystem; the structure holds.
pip install vllm vllm serve stabilityai/stablelm-2-12b --quantization fp8 \ --max-model-len 4096 \ --gpu-memory-utilization 0.90
FP8 — Half the VRAM of FP16. Minimal quality loss on H100-class hardware.
Expect to need around 16 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.