Multi-GPU PCIe / NVLink Tensor & Pipeline Split Calculator
Evaluate usable VRAM pool capacity and speed scaling when splitting 70B+ models across 2x–8x GPUs over NVLink, PCIe x16, or mining risers.
Input Parameters
Calculated Output
Primary Result
—
Adjust inputs to recalculate immediately.
Dual RTX 3090 (48 GiB Pool) vs. Single High-VRAM Benchmarks
Tensor Parallelism (vLLM / ExLlamaV2) aggregates bandwidth across GPUs, whereas Pipeline Parallelism (llama.cpp default) executes one GPU at a time.
| Setup | Usable Pool (90%) | 70B Q4_K_M Fit? | Tensor Parallel Est. | Pipeline Split Est. |
|---|---|---|---|---|
| 2x RTX 3090 (PCIe 4.0) | 43.2 GiB | Yes (tight 8K ctx) | ~26.6 tok/s | ~16.7 tok/s |
| 2x RTX 3090 (NVLink) | 43.2 GiB | Yes (tight 8K ctx) | ~28.4 tok/s | ~16.7 tok/s |
| 4x RTX 3090 (PCIe 4.0) | 86.4 GiB | Yes (32K+ / Q6_K) | ~46.9 tok/s | ~16.7 tok/s |
| 1x A100 80GB SXM | 72.0 GiB | Yes (FP8 / Q6_K) | ~36.4 tok/s | N/A (Single GPU) |
Formula & Engineering Methodology
Usable VRAM reserves 10% for uneven layer splits, NCCL communication buffers, and PyTorch/CUDA workspace per card. Tensor Parallelism scales effective aggregate bandwidth sub-linearly (~N^0.82 * interconnect) because all-reduce sync runs twice per layer.
usable_pool_gib = (num_gpus * vram_per_gpu_gib) * 0.90
effective_agg_bw = gpu_bw_gbs * (num_gpus ^ 0.82) * interconnect
tensor_parallel_tps = (effective_agg_bw * 0.75) / model_weights_gib
pipeline_parallel_tps = (gpu_bw_gbs * 0.75) / model_weights_gib
Variable Definitions
0.90: 10% multi-GPU capacity buffer for NCCL comms and layer imbalance.num_gpus ^ 0.82: Sub-linear tensor-parallel scaling curve reflecting all-reduce sync overhead.interconnect: Communication efficiency factor (0.96 NVLink, 0.90 PCIe 4.0, 0.78 PCIe 3.0).
Practical Note: On PCIe x1 mining risers, Tensor Parallelism often runs slower than Pipeline Parallelism due to all-reduce latency; use llama.cpp --split-mode layer on x1 risers.
Frequently Asked Questions
Can dual RTX 3090s (48GB) run a 70B Q4_K_M model locally?
Yes. A 70B Q4_K_M file is ~40.3 GiB, leaving ~3–6 GiB across the two cards for 4K–16K context (especially with FP8 KV cache).
Do mining-era PCIe x1 risers ruin local LLM inference?
x1 risers kill Tensor Parallelism (all-reduce every token), but Pipeline Parallelism (splitting layers sequentially in llama.cpp/Ollama) only passes small activation tensors across PCIe and still achieves ~1x single-GPU speed.
Does NVLink help llama.cpp inference?
For default layer splitting in llama.cpp, NVLink provides minimal benefit. NVLink primarily accelerates Tensor Parallelism in vLLM, TensorRT-LLM, and multi-GPU training.