If the model fits on one GPU with room for its KV cache, run one copy per GPU; if it doesn't, split each layer across the GPUs of one NVLink-connected machine with tensor parallelism, and add pipeline parallelism only to cross machines or GPUs without NVLink. On Nodus, nodus run --gpu H100-SXM:4 hands one container four GPUs of the same machine, so Llama 3.3 70B at BF16 serves with vllm serve ... --tensor-parallel-size 4 for $249.60 a day at the listed H100 rate. The rest of this guide is the memory math that tells you how many GPUs you need, and a rule for which kind of split to use.
What are the three ways to spread inference over GPUs?
There are three, and they solve different problems. Data parallelism means replicas: every GPU (or group of GPUs) holds a full copy of the model and serves its own requests. It adds throughput and nothing else, and the GPUs never talk to each other during a request.
Tensor parallelism (TP) cuts every layer's weight matrices into slices, one per GPU. Each GPU computes its slice and the GPUs combine partial results at every layer. That makes a model bigger than one GPU behave like one big GPU, but it means constant GPU-to-GPU traffic, which is why it wants NVLink. NVIDIA lists 900 GB/s of NVLink bandwidth per H100 SXM against 128 GB/s for PCIe Gen5 on its H100 page.
Pipeline parallelism (PP) gives each GPU a contiguous block of layers, and activations flow from one block to the next. It only passes activations at the block boundaries, so it tolerates slower links, but a single request still runs through the stages one after another.
The vLLM parallelism guide states the same rule in its own words: TP within a node when the model is too large for one GPU, TP equal to GPUs per node and PP equal to the number of nodes when it is too large for one node, and PP instead of TP on GPUs without NVLink such as the L40S.
How do you know if a model needs more than one GPU?
Add the weights to the KV cache you need, and compare that with what the engine is allowed to use. We worked this through for Llama 3.3 70B using its config.json and safetensors index files on Hugging Face, read on November 29, 2026.
The weights are 141.1 GB at BF16, from the index's total_size. The FP8 checkpoint RedHatAI/Llama-3.3-70B-Instruct-FP8-dynamic is 72.7 GB, a little over half, because its embedding and output layers stay at BF16. We round these to 141 GB and 73 GB below.
The KV cache per token is 2 (keys and values) x 80 layers x 8 KV heads x 128 head size x 2 bytes = 327,680 bytes, about 0.33 GB per 1,000 tokens in flight. vLLM uses 90% of each GPU's memory by default (--gpu-memory-utilization 0.9), so an 80 GB H100 gives it 72 GB. Whatever is left after the weights becomes KV cache, minus a few GB for activations and CUDA graphs, so read the right-hand columns as upper bounds.
| Setup | Memory vLLM uses | Weights | Left for KV cache | Tokens in flight (max) |
|---|---|---|---|---|
| 1 x H100, FP8 | 72 GB | 73 GB | does not fit | 0 |
| 2 x H100, BF16 | 144 GB | 141 GB | 3 GB | about 9,000 |
| 2 x H100, FP8 | 144 GB | 73 GB | 71 GB | about 217,000 |
| 4 x H100, BF16 | 288 GB | 141 GB | 147 GB | about 449,000 |
| 8 x H100, BF16 | 576 GB | 141 GB | 435 GB | about 1,328,000 |
| 1 x H200, FP8 | 126.9 GB | 73 GB | 53.9 GB | about 164,000 |
| 1 x B200, FP8 | 162 GB | 73 GB | 89 GB | about 272,000 |
Two rows change the decision. BF16 on two H100s technically loads, but 3 GB of cache is about 9,000 tokens before activations take their share, which is not a serving setup. And FP8 misses one H100 by about a gigabyte while fitting comfortably on one NVIDIA H200 (141 GB) or one B200 (180 GB), which turns a tensor-parallel problem into a replica problem. Our 70B VRAM guide covers the 4-bit and fine-tuning cases.

Going from two to four H100s at BF16 takes the KV cache from almost nothing to 147 GB.
Should you use replicas, tensor parallelism or pipeline parallelism?
Use the smallest unit that fits the model with the context and concurrency you need, then replicate that unit. This is the rule we apply, built from the vLLM guidance above and the memory table:
- If the model and enough KV cache fit on one GPU, run replicas, one per GPU. No inter-GPU traffic, and throughput grows with the number of copies.
- If it doesn't fit, use tensor parallelism across GPUs of one machine connected by NVLink, at the smallest size that leaves enough cache. For a 70B model that is TP=2 at FP8 or TP=4 at BF16 on H100s.
- If you still have GPUs left, replicate the TP group with data parallelism. On eight H100s at FP8 that means four TP=2 copies instead of one TP=8 copy.
- If the GPUs have no NVLink, use pipeline parallelism inside the machine. Four NVIDIA L40S cards (48 GB each) give vLLM 172.8 GB, which leaves 31.8 GB for cache after BF16 weights, about 97,000 tokens.
- Cross machines only when the model is bigger than one machine: TP equal to the GPUs per node, PP equal to the number of nodes.
The trade in step 3 is latency against throughput. A TP=8 copy splits each token's work eight ways, so a single long request can finish sooner. Four TP=2 copies spend far less time on all-reduce traffic and run four independent batches. Which wins depends on your traffic, so measure both before you commit a fleet.
What are the exact vLLM commands?
The flags are --tensor-parallel-size, --pipeline-parallel-size and --data-parallel-size, and their product is the number of GPUs. These come from the parallelism guide and the data parallel guide, with our model names filled in:
# BF16 70B on 4 GPUs of one machine vllm serve meta-llama/Llama-3.3-70B-Instruct \ --tensor-parallel-size 4 # FP8 70B on 2 GPUs vllm serve RedHatAI/Llama-3.3-70B-Instruct-FP8-dynamic \ --tensor-parallel-size 2 # Eight GPUs: four replicas of a TP=2 group behind one endpoint vllm serve RedHatAI/Llama-3.3-70B-Instruct-FP8-dynamic \ --data-parallel-size 4 --tensor-parallel-size 2 # Eight GPUs: TP=4 inside each half, PP=2 between them vllm serve meta-llama/Llama-3.3-70B-Instruct \ --tensor-parallel-size 4 --pipeline-parallel-size 2 For offline batch work the Python API takes the same setting: LLM("meta-llama/Llama-3.3-70B-Instruct", tensor_parallel_size=4). Two notes from the data parallel guide matter when sizing: --max-num-seqs applies per replica, while the queue limits apply to the whole server.
If you are serving with plain PyTorch and Hugging Face Transformers instead, the Transformers multi-GPU inference guide loads models with a predefined tensor parallel plan and launches one process per GPU with torchrun --nproc-per-node 4 demo.py. Only models whose config defines a TP plan support it. For most serving work vLLM is the shorter path; our vLLM vs TensorRT-LLM comparison covers when another engine is worth it.
How do you run a multi-GPU inference job on Nodus?
Ask for a GPU type and a count, and Nodus gives one container that many GPUs of one machine. The GPU guide says count is per machine and can be 1, 2, 4 or 8, and that H100-SXM selects only the SXM variant rather than any H100. We use that type here because the SXM boards are the ones with the NVLink figures above. This is the command from our vLLM in Docker guide, changed for four GPUs and a 70B model:
pip install nodus-compute nodus login nodus secret create hf-token --from-literal HF_TOKEN=hf_xxx nodus run --name llama70b-tp4 --gpu H100-SXM:4 \ --image vllm/vllm-openai:v0.34.0 \ --secret hf-token --no-source --interruptible never \ --disk 400Gi --timeout 24h --max-cost 260 -d \ -- vllm serve meta-llama/Llama-3.3-70B-Instruct \ --tensor-parallel-size 4 --max-model-len 32768 nodus logs -f job/llama70b-tp4 nodus port-forward job/llama70b-tp4 8000 Every flag is on the nodus run reference page. --disk 400Gi leaves room for the 141 GB download, and --max-cost 260 sits just above a full day at the listed rate. The four vLLM workers reach each other on the machine itself, and the container runtime contract sizes /dev/shm at half the container's memory, so no --ipc=host is needed.
Add --dry-run to see the estimate before anything starts. We assembled this from the documented flags and have not timed its startup for this post.
Two documented limits apply here. Multi-node gangs (--nodes, --gpus-per-node) are in Beta and the multi-node guide is written for training, so keep inference on one machine where you can. And the GPU snapshot docs say vLLM spread over several GPUs has not been tested with snapshots yet, so expect a full cold start for a TP job.
What does multi-GPU inference cost per day?
Cost is GPUs x hourly rate x 24, so the cheapest setup that fits usually wins. These use the hourly prices on the Nodus pricing page: NVIDIA H100 SXM at $2.600, H200 SXM at $3.593, B200 at $5.500 and L40S at $0.793 per GPU-hour.
| Setup | Fits Llama 3.3 70B at | Per day |
|---|---|---|
| 4 x L40S, PP=4 | BF16 | $76.13 |
| 1 x H200 | FP8 | $86.23 |
| 2 x H100, TP=2 | FP8 | $124.80 |
| 1 x B200 | FP8 | $132.00 |
| 2 x H200, TP=2 | BF16 | $172.46 |
| 4 x H100, TP=4 | BF16 | $249.60 |
| 8 x H100 | BF16 or FP8 | $499.20 |
Prices checked November 29, 2026.
Re-checking two rows: 4 x $2.600 x 24 = $249.60, and 1 x $3.593 x 24 = $86.232, which rounds to $86.23. At FP8, one H200 holds the model with 53.9 GB of cache for about a third of the cost of a BF16 TP=4 group. The L40S row is cheapest but has the least cache and runs every request through four pipeline stages, so price it against your latency target, not just the daily figure.

Quantizing to FP8 can move a 70B model from four GPUs to one, which matters more than the price of any single GPU.
FAQ
Does tensor parallelism make inference faster?
It can lower per-request latency, because each GPU does a slice of every layer. It also adds an all-reduce at every layer, so on a model that already fits one GPU, replicas usually deliver more total throughput for the same GPUs.
Can I use a tensor parallel size of 3 or 6?
Usually not. The TP size has to divide the model's attention heads evenly, and Llama 3.3 70B has 64 query heads and 8 KV heads. The vLLM guide suggests pipeline parallelism, which supports uneven layer splits, when your GPU count does not divide the model.
Why does vLLM fail with out of memory when the weights fit?
vLLM checks at startup that at least one request of the maximum context length fits in the KV cache. Llama 3.3 70B defaults to 131,072 tokens, about 43 GB of cache at BF16, so lower --max-model-len or add GPUs.
Do I need InfiniBand for multi-GPU inference?
Not inside one machine, where GPUs talk over NVLink or PCIe. The vLLM guide recommends fast interconnects such as InfiniBand only when tensor parallelism crosses machines.
Originally published on the Nodus blog.
