Multi-GPU Setup
Run large AI models across multiple GPUs on Clore.ai
Run large AI models across multiple GPUs on CLORE.AI.
Find multi-GPU servers at CLORE.AI Marketplace.
When Do You Need Multi-GPU?
Multi-GPU 80GB-class rigs are not listed on the Clore.ai marketplace. The biggest boxes listed today are 4× RTX PRO 6000 Blackwell (96GB each, 380GB total) and 8–11× RTX 5090 (32GB each). A100 / H200 / B200 capacity is sold as bare metal on request. Check GPU Pricing & Availability before sizing a deployment.
≤13B
RTX 3090 (Q4)
Not needed
30B
RTX 4090 (Q4)
2x RTX 3090
70B
A100 40GB (Q4)
2x RTX 4090
70B FP16
-
2x A100 80GB
100B+
-
4x A100 80GB
405B
-
8x A100 80GB
Multi-GPU Concepts
Tensor Parallelism (TP)
Split model layers across GPUs. Best for inference.
GPU 0: Layers 1-20
GPU 1: Layers 21-40Pros: Lower latency, simple setup Cons: Requires high-speed interconnect
Pipeline Parallelism (PP)
Process different batches on different GPUs.
Pros: Higher throughput Cons: Higher latency, more complex
Data Parallelism (DP)
Same model on multiple GPUs, different data.
Pros: Simple, linear scaling Cons: Each GPU needs full model
LLM Multi-GPU Setup
vLLM (Recommended)
2 GPUs:
4 GPUs:
8 GPUs (for 405B):
Ollama Multi-GPU
Ollama automatically uses multiple GPUs when available:
Limit to specific GPUs:
Text Generation Inference (TGI)
llama.cpp
Image Generation Multi-GPU
ComfyUI
ComfyUI can offload different models to different GPUs:
Run VAE on separate GPU:
Stable Diffusion WebUI
Enable multi-GPU in webui-user.sh:
FLUX Multi-GPU
Training Multi-GPU
PyTorch Distributed
Launch:
DeepSpeed
Launch:
Accelerate (HuggingFace)
Configure:
Kohya Training (LoRA)
GPU Selection
Check Available GPUs
Select Specific GPUs
Environment variable:
In Python:
Performance Optimization
NVLink vs PCIe
NVLink
600 GB/s
Tensor parallelism
PCIe 4.0
32 GB/s
Data parallelism
PCIe 5.0
64 GB/s
Mixed workloads
Check NVLink status:
Optimal Configuration
2
2
1
Simple tensor parallel
4
4
1
Requires NVLink
4
2
2
PCIe-friendly
8
8
1
Full tensor parallel
8
4
2
Mixed parallelism
Memory Balancing
Even split (default):
Custom split (uneven GPUs):
Troubleshooting
"NCCL Error"
"Out of Memory on GPU X"
"Slow Multi-GPU Performance"
Check NVLink connectivity
Reduce tensor parallel size
Use pipeline parallelism instead
Check CPU bottleneck
"GPUs Not Detected"
Cost Optimization
When Multi-GPU is Worth It
Training 7B
RTX 4090 ($0.14–0.42/hr)
2x RTX 4090 ($0.28–0.84/hr)
Depends on time
Cost-Effective Configurations
70B inference
2x RTX 3090
$0.12
70B fast inference
2x A100 40GB
$0.34
70B FP16
2x A100 80GB
$0.50
Training 13B
2x RTX 4090
$0.20
Example Configurations
70B Chat Server
DeepSeek-V3 (671B)
Image + LLM Pipeline
Next Steps
vLLM Guide - Production LLM serving
GPU Comparison - Choose your GPUs
API Integration - Build applications
Cost Calculator - Estimate costs
Last updated
Was this helpful?