How to using Local LLM with vLLM
Supported GPUs
GPU
VRAM
Architecture
vLLM Image
Model Size ↔ GPU Selector
VRAM Rule of Thumb
Precision
Model weights
Per 1B params
Single-GPU — Max Model per Card
GPU (VRAM)
Image
Comfortable
Tight / short context
Bigger models
Dual-GPU — When One Card Isn't Enough (TP=2)
Dual-GPU (total VRAM)
Runs
Notes
Quick Pick
Requirement
Recommended GPU
1. Prerequisites
Verify GPU is visible
Install Docker + NVIDIA Container Toolkit
Verify Docker can access GPU
Get a HuggingFace Token (for gated/most models)
2. Understanding TP vs PP
Tensor Parallelism (TP)
Pipeline Parallelism (PP)
Quick Decision
Scenario
Recommendation
3. Single GPU Deployment
Directory Structure
Create .env
Launch
4. Dual GPU — Tensor Parallel (TP)
docker-compose.yml — TP=2
Critical Flags for Multi-GPU on RTX Cards
Flag
Why
5. Dual GPU — Pipeline Parallel (PP)
docker-compose.yml — PP=2
TP vs PP — Same Hardware, Different Behavior
TP=2
PP=2
6. Adding Open WebUI
Full docker-compose.yml (vLLM + Open WebUI)
Launch & Access
7. Model Sizing Guide
GPU (VRAM)
7-8B
14B
32B
70B
Recommended Models
Use Case
Model
Notes
Tuning --max-model-len
8. RTX PRO 6000 — Running 70B on a Single GPU
docker-compose.yml — 70B AWQ on 1× PRO 6000
VRAM Budget on 96GB
Component
70B AWQ
70B FP16
Larger Context
9. MIG — Splitting a GPU (PRO 6000)
When to Use MIG
Use MIG
Don't use MIG
Enable MIG (on the host/VM with the GPU)
Create MIG Instances
Assign a MIG Instance to a Container
Disable MIG
10. Using Other Models
Finding the Model Name
Popular Models by Category
Category
Model (HuggingFace path)
Size
Notes
Quantized vs Full Precision
How to Find Quantized Versions
Gated Models (Llama, etc.)
Switching Models — Just Edit and Restart
Checklist Before Deploying a New Model
Check
How
11. Testing & Troubleshooting
Test the API
Common Issues
"No supported device found" / CUDA error on Blackwell
Multi-GPU TP hangs at startup
Out of Memory (OOM) / KV cache error
Container exits immediately
Model download is slow / fails
Useful Commands
GPU Memory Reference (idle vs loaded)
Quick Start Summary
Cheat Sheet
Your Setup
Image
Key Flags
Was this helpful?