The Wire · Showcase
LEROBOT BREAKS IMPORTS, FIXES TRAINING PIPELINE SILENTLY BREAKING
By RepoJournal · Filed · About Hugging Face
LeRobot 0.6.1 renames the types module and patches a critical bug where multi-stage training produced all-zero targets when episode annotations were malformed.
LeRobot shipped v0.6.1 with a breaking change [1]: the `lerobot.types` module is now `lerobot.lerobot_types`. Upgrade your imports before your next deploy. More critically, the same release fixes a silent failure in SARM multi-stage training [2] where missing or malformed episode annotation columns caused the model to train on meaningless targets. This was catastrophic for training runs because it failed invisibly. On the same desk, a bug in episode statistics aggregation [3] has been patched, fixing how dataset indices and task statistics are recalculated after aggregation. Over in transformers, the team cleaned up stale module split entries [4] that were preventing proper device mapping, and fixed an ImportError [5] where torch < 2.8 broke the entire exporter module. HuggingFace.js released v2.14.5 [6] with a critical validation fix [7] that prevents repos from gaming the leaderboard with falsified parameter counts in safetensors headers, a vulnerability already being exploited across multiple models.
One email a day. Unsubscribe in one click.
Keep up with Hugging Face in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.
One email a day. Unsubscribe in one click. Read a past issue →
Action items
- → Update lerobot imports from lerobot.types to lerobot.lerobot_types before next deploy huggingface/lerobot [immediate]
- → Audit SARM training runs from the last 24 hours for all-zero targets due to malformed annotations huggingface/lerobot [immediate]
- → Upgrade transformers to get the torch < 2.8 ImportError fix if you're exporting models huggingface/transformers [plan]
- → Update huggingface.js to v2.14.5 for safetensors validation huggingface/huggingface.js [monitor]
References
- [1] Release v0.6.1 ↗ huggingface/lerobot
- [2] fix(sarm): fail fast on unusable episode annotations ↗ huggingface/lerobot
- [3] fix(aggregate stats): fix episode statistics aggregation ↗ huggingface/lerobot
- [4] Remove stale and redundant _no_split_modules entries (#47645) huggingface/transformers
- [5] Fix ImportError in transformers.exporters on torch < 2.8 (#47711) huggingface/transformers
- [6] hub-v2.14.5 ↗ huggingface/huggingface.js
- [7] [hub] Validate safetensors tensor shapes and data_offsets against file size ↗ huggingface/huggingface.js