Local AI Hardware Guide & Crucial Gotchas
Building a multi-GPU local AI rig is not like building a gaming PC. Here are the 6 critical architectural traps to avoid.
1. The 3090 Transient Spike & PSU Trap
RTX 3090 cards suffer from notorious 1ms to 10ms transient power spikes up to 550W per card. Dual 3090s can momentarily demand 1,200W+ from your power supply rail.
- Never daisy-chain: Run 4 separate, dedicated 8-pin PCIe cables from the PSU to the GPUs. Sharing a pigtail cable risks melting connectors.
- PSU Standard: Choose an ATX 3.0 / PCIe 5.0 certified 1000W or 1200W PSU (e.g., Corsair RM1000x Shift, Seasonic Focus GX-1000). ATX 3.0 PSUs are rated to absorb 200% transient power spikes without tripping OCP.
2. Physical Motherboard Slot Spacing
Most RTX 3090 cards are 2.7 to 3 slots thick (55mm to 62mm). If your motherboard places the two PCIe x16 slots only 2 slots apart, the top card will be completely smothered and overheat to 95°C.
- Ideal Motherboard: The ASUS ProArt X670E-Creator WiFi or ASRock Creator feature a 3-slot gap between PCIe slots (slot 1 and slot 5), allowing both thick cards to breathe.
- Alternative on Budget Boards: Use a shielded PCIe 4.0 x16 riser cable ($25) and vertically mount or bottom-bracket mount the secondary card in a spacious full-tower case.
3. PCIe Bandwidth: Does x16 vs x8 vs x4 Matter?
In gaming, running at PCIe x4 hurts frame rates. In LLM inference, it barely matters.
- Model Loading: A model file transfers from SSD to VRAM in ~8s over x16, or ~14s over x4. This only happens once when the server boots.
- Layer split (llama.cpp, Ollama, LM Studio): Each GPU holds a block of layers and only passes a small activation vector to the next card once per token. A secondary card on PCIe x4 loses only a few percent of tokens/second compared to x16.
- Tensor parallel (vLLM, exllamav2 TP) is different: the GPUs sync inside every layer, so link speed matters a lot. If you plan to run tensor parallel, put both cards on x8/x8 slots or use NVLink on 3090s.
- Takeaway: You do NOT need a $2,000 Threadripper or EPYC motherboard just to run 70B models! Standard consumer AM4/AM5 boards work wonders.
4. The Exact VRAM Math Formula
Never guess whether a model fits in your VRAM. Use this exact community equation:
- Weights: Llama 70B at Q4_K_M (4.5 bpw) = (70 × 4.5 / 8) × 1.08 = 42.5 GB.
- KV Cache (16K context): Llama 70B stores ~0.33 MB per token at FP16 (80 layers × 8 KV heads × 128 dims × K+V × 2 bytes), so 16K tokens ≈ 5.4 GB. An 8-bit KV cache halves that to ~2.7 GB.
- Total Needed: ~47.9 GB at FP16 KV, which is too tight for 48 GB once CUDA overhead (~0.5–1 GB per card) is counted. With an 8-bit KV cache it's ~45.2 GB, which fits with ~2.8 GB to spare. Or drop to 8K context.
5. Why Dual Used 3090 Beats Single RTX 4090 for LLMs
Buyers often ask: "Should I just buy one new RTX 4090 ($1,849) instead of two used 3090s (~$1,820)?"
- The VRAM Wall: A 4090 only has 24GB. It cannot load a 70B model into VRAM. Offloading half the layers to system RAM drops generation speed from 20 tokens/sec down to 1.5 tokens/sec.
- The Dual 3090 Advantage: Dual 3090s give 48GB VRAM. The entire 70B model fits into ultra-fast GDDR6X, giving silky smooth real-time generation.
- Bottom line: VRAM capacity is king for local LLMs. Bandwidth and FLOPS only matter after the weights fit in memory.
6. Memory Junction Thermals on Used Ampere Cards
The RTX 3090 has 12GB of VRAM on the front of the PCB and 12GB on the back. The rear memory chips are cooled only by the backplate.
- Check Junction Temp: During heavy inference, monitor memory temperature with
nvidia-smi. Keep VRAM junction below 95°C. - Thermal Pad Refresh: If buying a heavily used card on eBay, consider replacing thermal pads (e.g., Thermalright Odyssey 1.5mm) or adding small heatsinks to the metal backplate.