DeepSpeed Training
Train large models efficiently with DeepSpeed on Clore.ai GPUs
Train large models efficiently with Microsoft DeepSpeed.
All examples can be run on GPU servers rented through CLORE.AI Marketplace.
Renting on CLORE.AI
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.
Visit CLORE.AI Marketplace
Filter by GPU type, VRAM, and price
Choose On-Demand (fixed rate) or Spot (bid price)
Configure your order:
Select Docker image
Set ports (TCP for SSH, HTTP for web UIs)
Add environment variables if needed
Enter startup command
Select payment: CLORE, BTC, or USDT/USDC
Create order and wait for deployment
Access Your Server
Find connection details in My Orders
Web interfaces: Use the HTTP port URL
SSH:
ssh -p <port> root@<proxy-address>
What is DeepSpeed?
DeepSpeed enables:
Training models that don't fit in GPU memory
Multi-GPU and multi-node training
ZeRO optimization (memory efficiency)
Mixed precision training
ZeRO Stages
ZeRO-1
Optimizer states partitioned
Fast
ZeRO-2
+ Gradients partitioned
Balanced
ZeRO-3
+ Parameters partitioned
Maximum savings
ZeRO-Infinity
CPU/NVMe offload
Largest models
Quick Deploy
Docker Image:
Ports:
Command:
Installation
Basic Training
DeepSpeed Config
ds_config.json:
Training Script
ZeRO Stage 2 Config
ZeRO Stage 3 Config
For large models:
With Hugging Face Transformers
Trainer Integration
Multi-GPU Training
Launch Command
With torchrun
Multi-Node Training
Hostfile
hostfile:
Launch
SSH Setup
Memory-Efficient Configs
7B Model on 24GB GPU
13B Model on 24GB GPU
Gradient Checkpointing
Save memory by recomputing activations:
Save and Load Checkpoints
Save
Load
Save HuggingFace Format
Monitoring
TensorBoard
Weights & Biases
Common Issues
Out of Memory
Slow Training
Reduce CPU offloading
Increase batch size
Use ZeRO Stage 2 instead of 3
NCCL Errors
Performance Tips
Use bf16 over fp16
Better stability
Enable gradient checkpointing
Less memory
Tune batch size
Better throughput
Use NVMe offload
Larger models
Performance Comparison
7B
1x A100
ZeRO-3
~1000 tokens/s
7B
4x A100
ZeRO-2
~4000 tokens/s
13B
4x A100
ZeRO-3
~2000 tokens/s
70B
8x A100
ZeRO-3
~800 tokens/s
Troubleshooting
Cost Estimate
Typical CLORE.AI marketplace rates (as of 2024):
RTX 3060
~$0.03
~$0.70
~$0.12
RTX 3090
~$0.06
~$1.50
~$0.25
RTX 4090
~$0.10
~$2.30
~$0.40
A100 40GB
~$0.17
~$4.00
~$0.70
A100 80GB
~$0.25
~$6.00
~$1.00
Prices vary by provider and demand. Check CLORE.AI Marketplace for current rates.
Save money:
Use the Spot market for interruptible work — about a third of servers price spot below on-demand (median ~13% off), the rest match it
Pay with CLORE tokens
Compare prices across different providers
Next Steps
Fine-tune LLMs - LoRA training
vLLM Inference - Deploy trained model
Hugging Face Guide - Transformers library
Last updated
Was this helpful?