Jamesob's guide to running SOTA LLMs locally
A Comprehensive Guide to Local SOTA LLM Deployment
Based on the research and implementation by jamesob
Disclaimer: This guide is designed for those who want to escape the ecosystem of "AI Overlords" (like Altman and Dario) and reclaim their machine intelligence by running state-of-the-art (SOTA) models on their own silicon.
💰 Budgetary Tiers for Local Intelligence
Depending on your financial flexibility, there are two primary paths to achieving local SOTA performance.
1. The "Entry-Level" Powerhouse (~$2,000)
If you have a modest budget, you can still achieve impressive results.
- Hardware: 2x NVIDIA RTX 3090s.
- Capacity: Total VRAM .
- Capabilities: Able to run Qwen and high-end Speech-to-Text (STT).
- STT Implementation: Use
whisper-large-v3via a cross-platform harness. This requires roughly 11GB of VRAM.
2. The "Enterprise-Grade" Beast (~$40,000+)
For those seeking maximum intelligence, the goal is to maximize VRAM to run massive models.
- Hardware: 4x RTX PRO 6000 (Blackwell).
- Capacity: Total VRAM (calculated as ).
- Capabilities: Capable of running the GLM-5.2-594B model.
Current Model Recommendations (as of July 2026)
| Date | Recommended Model | Configuration | Notes |
|---|---|---|---|
| 2026-07 | GLM-5.2-Int8Mix-NVFP4-REAP-594B | Runner config | High-intelligence tier |
Note: Alternative strategies exist, such as using a linked 4x DGX Spark cluster (512GB VRAM) as a "slow brain" to orchestrate a faster Qwen3.7-27b for routine tasks.
🛠️ The Hardware Architecture
To avoid the exorbitant costs of current-gen DDR5 and PCIe5 systems, the author utilized a modern last-generation strategy.
The "Secret Sauce": PCIe Switching
Instead of routing all GPU data through the PCI root complex, a c-payne.com PCIe4 switch was used. This enables GPUs to communicate peer-to-peer (P2P) at wire speeds during the allreduce phase of tensor parallelism.
Detailed Bill of Materials (BOM)
Base System (eBay Sourced)
| Component | Specification | Price |
|---|---|---|
| Motherboard | ASRock Rack ROMED8-2T (SP3, 7x PCIe 4.0 x16) | $715 |
| CPU | AMD EPYC Milan 7313P (16-core, 3.0GHz) | $504 |
| RAM | 8× 16GB Crucial DDR4 ECC RDIMM (128GB Total) | $642 |
| Cooler | Dynatron T17 SP3 (280W TDP) | $40 |
| Case | AAAWave Sluice V2 (Open Frame) | $100 |
| PSUs | 2× Super Flower 1700W | $750 |
| PCIe Switch | c-payne Microchip Switchtec PM40100 | ~$1,330 |
| Boot Drive | 4TB M.2 NVMe | $291 |
| Storage | 2x 8TB M.2 NVMe (for weights) | $1,200 |
| Fans | 3× 120mm PWM | $15 |
| Total | $5,587 |
GPU & Switch Sub-BOM
| Part | Qty | Unit Price | Notes |
|---|---|---|---|
| RTX PRO 6000 | 4 | ~$11,500 | Blackwell Workstation (96GB each) |
| PCIe Gen4 Switch | 1 | €1,050 | Microchip Switchtec PM40100 |
| Host Adapter | 1 | €140 | REDRIVER AIC (DS160PR810) |
| SlimSAS Cables | 2 | €30 | SFF-8654 8i (PCIe Gen4) |
⚙️ Configuration & Optimization
Running this much silicon on a standard 110V circuit requires specific tuning.
Setup Checklist
- Custom wood enclosure fabricated for GPUs/Switch.
- Disconnect the loud, ineffective built-in switch fan.
- Configure BIOS for bifurcation and link speed.
- Disable ASPM.
Software & Kernel Tweaks
To prevent NCCL hangs and ensure P2P traffic stays within the switch fabric, the following parameters are critical:
- Kernel/GRUB: Use
iommu=off. - PCIe: Disable ACS (Access Control Services).
- Power: Implement GPU power limiting to avoid tripping breakers.
Performance Benchmark
The author uses a custom script measure-gpu-speed.sh to verify P2P bandwidth.
Result: Gen4 line rate achieved with sub-microsecond latency.
Deployment Stack
The models are served using Docker containers for isolation and reproducibility:
- LLM Serving:
vLLMviadocker-compose(Config: DCP4+MTP5).- Performance: at context.
- STT Serving:
whisper-large-v3located in./runners/stt.
# Example: How to check GPU P2P speed (conceptual)
./tools/measure-gpu-speed.sh --all-pairs
Data Management
Model weights are stored on a ZFS filesystem, which allows for efficient replication and data integrity.