Troubleshooting
This page covers common issues and their solutions when working with MIP.
Loss Doesn't Work
Problem: Mean Flow, Lagrangian Self-Distillation, Euler Self-Distillation don't work with transformer.
Solutions: This is a know issue with torch, consider use UNet instead.
CUDA Graphs Not Working
Problem: use_cudagraphs=true has no effect or crashes
Reasons:
Image observations: CUDA graphs require static tensor shapes, not supported for image observations
- Solution: Use state observations or disable CUDA graphs
Dynamic shapes in network: Some networks may have dynamic computation
- Solution: Use simpler networks like MLP
Inconsistent batch sizes: DataLoader must have
drop_last=True- Already set in training scripts, verify if using custom script
Dataset Not Found
Problem: FileNotFoundError: Dataset not found
Solutions:
For HuggingFace datasets: Ensure you're connected to internet and have huggingface_hub installed
For local datasets: Download and process dataset first:
bashuv run python examples/process_robomimic_dataset.py --skip_uploadOverride dataset path:
bashuv run examples/train_robomimic.py +task.dataset_path=/path/to/dataset.hdf5