Installation Issues
Python version incompatibility
Python version incompatibility
ffmpeg not found or missing libsvtav1
ffmpeg not found or missing libsvtav1
ffmpeg not found or Encoder 'libsvtav1' not found.Solution: Install ffmpeg with libsvtav1 support:WSL (Windows) installation issues
WSL (Windows) installation issues
Permission denied errors
Permission denied errors
GPU and CUDA Issues
CUDA out of memory errors
CUDA out of memory errors
RuntimeError: CUDA out of memory during training or inference.Solutions:- Reduce batch size:
- Enable gradient accumulation:
- Use mixed precision (AMP):
- Clear CUDA cache:
- Use a smaller model variant or reduce sequence length
CUDA not available
CUDA not available
torch.cuda.is_available() returns False.Solutions:- Check NVIDIA driver:
- Reinstall PyTorch with CUDA:
- Verify installation:
Multi-GPU training issues
Multi-GPU training issues
Dataset Issues
Dataset not found on Hub
Dataset not found on Hub
FileNotFoundError or DatasetNotFoundError when loading dataset.Solutions:- Verify dataset exists:
- Check authentication (for private datasets):
- Use correct repo_id format:
Video decoding errors
Video decoding errors
- Verify ffmpeg installation:
- Clear dataset cache and re-download:
- Check disk space:
Slow dataset loading
Slow dataset loading
- Use streaming for large datasets:
- Increase number of workers:
- Cache dataset locally for repeated use
Corrupted dataset cache
Corrupted dataset cache
Training Issues
Training loss not decreasing
Training loss not decreasing
- Check learning rate:
- Verify data normalization:
- Increase training steps:
- Check for data issues (e.g., all actions similar)
NaN or Inf in loss
NaN or Inf in loss
- Reduce learning rate:
- Enable gradient clipping:
- Check for numerical instability in custom code
- Verify dataset doesn’t contain NaN values:
Checkpoint loading errors
Checkpoint loading errors
- Verify checkpoint path:
- Check version compatibility:
- Ensure config matches: The checkpoint config must match your current training config
Robot Hardware Issues
Robot connection failed
Robot connection failed
- Check device permissions:
- Verify device path:
- Check cable connections and power supply
Latency in real-time control
Latency in real-time control
- Use GPU inference:
-
Enable async inference:
See
examples/tutorial/async-inf/for policy server/client pattern - Optimize observation processing:
- Reduce image resolution
- Use hardware video encoding
- Minimize preprocessing steps
- Use action chunking (ACT-style policies reduce inference frequency)
Calibration issues
Calibration issues
- Re-run calibration: Follow your robot’s specific calibration procedure
- Check for breaking changes: See Backward Compatibility for migration guides
- Verify joint limits in robot config
- Test with known-good trajectory to isolate issue
Performance Optimization
Slow training
Slow training
- Use GPU acceleration
- Increase batch size (if memory allows)
- Use more DataLoader workers:
- Enable AMP (automatic mixed precision):
- Use multi-GPU training with DDP
High memory usage
High memory usage
- Reduce batch size
- Use gradient checkpointing:
- Clear unused tensors:
- Use streaming datasets for large data
Error Messages Reference
'normalize_inputs' not found in state_dict
'normalize_inputs' not found in state_dict
'Encoder libsvtav1 not found'
'Encoder libsvtav1 not found'
'ImportError: cannot import name X'
'ImportError: cannot import name X'
Getting Help
If you can’t find a solution here:Search GitHub Issues
Ask on Discord
Open an Issue
Discussions
Reporting Bugs
When reporting an issue, please include:Environment Information
Minimal Reproduction
Error Traceback
Expected vs Actual