Local Inference & VRAM

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

GPUs
GiB
GiB
GiB
GB/s
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.

SetupUsable Pool (90%)70B Q4_K_M Fit?Tensor Parallel Est.Pipeline Split Est.
2x RTX 3090 (PCIe 4.0)43.2 GiBYes (tight 8K ctx)~26.6 tok/s~16.7 tok/s
2x RTX 3090 (NVLink)43.2 GiBYes (tight 8K ctx)~28.4 tok/s~16.7 tok/s
4x RTX 3090 (PCIe 4.0)86.4 GiBYes (32K+ / Q6_K)~46.9 tok/s~16.7 tok/s
1x A100 80GB SXM72.0 GiBYes (FP8 / Q6_K)~36.4 tok/sN/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

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.

Related Engineering Calculators

ComputeSizer runs 100% locally in your browser with open formulas and zero account gates. If these VRAM and GPU cost tools saved your team money, support us via Fourthwall or sponsor an ad-free developer placement.