RunPod Integration
RunPod is the primary GPU compute provider for Hubify Labs. This guide covers connecting your RunPod account, configuring pods, and optimizing for cost.Connecting RunPod
1
Create a RunPod account
Sign up at runpod.io and add billing information.
2
Generate an API key
Go to RunPod Settings > API Keys and create a key with full access.
3
Add to Hubify
4
Verify
Available GPU Types
Pricing varies by availability and region. Spot instances can be up to 80% cheaper.
Pod Configuration
Default Settings
Docker Images
Hubify provides pre-built images with common scientific packages:SSH Access
Performance Tips
- Use DataLoader for GPU inference:
num_workers=16,pin_memory=True,prefetch_factor=4gives a 32x speedup over serial processing - Pre-stage large datasets on persistent storage so pods start instantly
- Use spot instances for non-urgent experiments (set
--spotflag) - Match GPU to workload: do not use an H200 for figure generation
Cost Management
Persistent Storage
Upload datasets to RunPod persistent storage so they survive pod restarts:Troubleshooting
Pod stuck in provisioning
Pod stuck in provisioning
The requested GPU type may be sold out. Try a different GPU or region:
Out of memory (OOM)
Out of memory (OOM)
Upgrade to a GPU with more VRAM, or reduce batch size. H200 (141 GB) handles the largest workloads.
Spot instance preempted
Spot instance preempted
Spot instances can be reclaimed. Use checkpointing for long experiments: