GPU Targets
Targets let you run Wafer commands on remote GPUs—your own machines, cloud instances, or managed services. Configure once, then use for evaluation, profiling, and development.Quick Start
Target Types
Wafer supports several target types:- Local
- SSH
- RunPod
- DigitalOcean
Use GPUs on your local machine:This detects NVIDIA or AMD GPUs automatically.
Commands
wafer config targets list
List all configured targets:wafer config targets init
Initialize a new target interactively:<type> is one of: local, ssh, runpod, digitalocean
wafer config targets add
Add a target with explicit configuration:wafer config targets show
Show target configuration:wafer config targets probe
Test connectivity and GPU detection:- SSH connection (for remote targets)
- GPU availability
- Required tools installed
wafer config targets remove
Remove a target:wafer config targets default
Set the default target:--target flag is specified.
wafer config targets install
Install Wafer dependencies on a target:Using Targets
Once configured, use targets with other commands:SSH Target Configuration
For SSH targets, ensure:- SSH key authentication is set up (password auth not recommended)
- NVIDIA/AMD drivers are installed on the remote machine
- Python 3.8+ is available
- CUDA/ROCm toolkit is installed (for profiling)
Target Pools
Group multiple targets for load balancing:Troubleshooting
Target probe fails
Target probe fails
Check:
- SSH connectivity:
ssh user@host - GPU drivers:
nvidia-smiorrocm-smi - Python availability:
python --version
Command times out
Command times out
Increase timeout or check network connectivity:
GPU not detected
GPU not detected
Ensure drivers are installed and GPU is visible: