You have 24 GB of VRAM. Llama 3.1 70B at FP16 needs 140 GB. You are not running that model locally unless you quantize. The good news: AWQ 4-bit brings it down to roughly 38 GB — still tight, but feasible with offloading. The better news: GGUF q4_k_m runs the whole thing in 24 GB with CPU offload. Here is the practical path from Hugging Face weights to a local server that actually responds.
Why AWQ for the 70B?
AWQ (Activation-aware Weight Quantization) protects the salient weights — the 1% of channels that carry outsized activation magnitude — by searching per-channel scaling factors before rounding to INT4. It skips the calibration dataset backprop that GPTQ requires, so it finishes in minutes on a single A100 instead of hours. For Llama 3.1 70B, the community has already published calibrated AWQ artifacts (e.g., casperhansen/llama-3.1-70b-instruct-awq) that recover 99% of FP16 MMLU. Download and go.
VRAM Math: FP16 vs AWQ vs GGUF
| Format | Model Size | KV Cache (4k ctx) | Total (est.) | Fits 24 GB? |
|---|---|---|---|---|
| FP16 / BF16 | 140 GB | ~4 GB | 144 GB | No |
| AWQ INT4 (128g) | 38 GB | ~4 GB | 42 GB | No (needs 2×24 or offload) |
| GGUF q4_k_m | 38 GB | ~4 GB | ~24 GB (w/ offload) | Yes |
Step 1: Grab the AWQ Repo
Step 2: Convert to GGUF for llama.cpp
llama.cpp cannot read AWQ safetensors directly. Use the conversion script shipped with llama.cpp — it reads the HF config, applies the AWQ scales, and writes a single GGUF file quantized to your target (q4_k_m recommended).
Step 3: Serve with llama-server
-ngl 35 offloads 35 layers to GPU (adjust to fill VRAM). -c 8192 sets context. The process settles at ~22 GB VRAM + 16 GB system RAM. First token ~2 s, thereafter 8–12 tok/s on RTX 3090.
Benchmark Sanity Check
"Quantization is not compression — it is controlled precision loss. AWQ proves you can lose 75% of bits and keep 99% of intelligence.
— Ji Lin et al., MIT HAN Lab
✦










