Deploying 304B Model on Dual DGX Sparks: Extreme Memory Optimization
StartupTim · reddit · 2026-08-08
A developer detailed their experience deploying DeepSeek-V4-Flash-0731 (304B MoE) on 2x NVIDIA DGX Sparks (128GB unified memory each), seeking advice to free up OS RAM.
Current Setup & Bottlenecks
- Hardware & Model: 256GB total unified memory across two nodes connected via ConnectX-7. Native FP8 weights (167GB) with 1M context support.
- Serving Stack: Custom vLLM build with TP=2 and speculative decoding (80% acceptance rate).
- Performance: 82 tok/s decode, 1400 tok/s prefill, passes 146K needle test.
- Memory Allocation: Weights/graphs take 87-89GB, KV cache 11.2GB, leaving only 5-7GB for the OS (dips to 2-3GB under load).
Ruled-Out Solutions
- Lowering GPU memory utilization or max context: Causes vLLM to crash or frees no memory.
- Container caps or enabling Swap: Triggers reclaim loops or system livelocks.
- CPU offload or disk tier: Incompatible with unified memory or FP8 layout.
The Question
The author is looking for actionable ways to reduce vLLM's host-process footprint (API server + workers RSS) and tune NCCL buffers specifically for ConnectX-7 on unified memory systems.
More from Infra
- Chess Transformer hits 2545 Elo after 260x training speedup — realSharonZhou · 2026-11-30
- Tokens/sec alone is misleading: quantized LLM speed hides quality costs — OrganizationAgile361 · 2026-11-30
- Samsung's new memory chief warns record quarters don't mean competitiveness is back — tengyanAI · 2026-11-30
- Which free local AI model to download for your GPU, from 6GB to 24GB VRAM — alex_verem · 2026-11-30
- tqLLM 1.9.0: C++ LLM engine claims 4.6x Strata on 16GB, adds AMD RX 580 support — pmttyji · 2026-11-30
- oMLX 0.8.4 doubles Inkling 2 Mini decode speed on Mac, adds concurrent MTP — pcuenq · 2026-11-30