The Wire · Showcase
LEROBOT FIXES D405 REALSENSE STARTUP HANGS WITH AUTO-RECOVERY
By RepoJournal · Filed · About Hugging Face
LeRobot's camera stack now survives RealSense D405 hardware lockups that used to require a physical replug.
LeRobot shipped a fix [1][2] that adds automatic hardware reset recovery when the D405 RealSense camera fails to deliver frames during warmup, replacing the previous requirement for manual intervention. The PR rebases an earlier attempt and extends the solution by implementing a bounded retry loop in the connect() method with a configurable maximum attempt count [1]. The fix also corrects a silent frame capture failure by adding a color_format config field to RealSenseCameraConfig, allowing D405 users to specify bgr8 instead of the hardcoded rgb8 that was breaking color delivery on the depth module [2]. In parallel, the diffusers team merged support for group offloading under auto offloading [3], letting group-offloaded models participate in automatic CPU memory management without being chosen as eviction targets [4]. Across the three desks, activity includes 2 commits and 3 PRs, with optimum-habana bumping TruffleHog for security scanning [5].
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
- → If you run LeRobot on Jetson or encounter D405 warmup failures, pull the latest and test your camera initialization flow huggingface/lerobot [plan]
- → If you use both group offloading and auto CPU offloading in diffusers, merge the latest changes to restore expected memory behavior huggingface/diffusers [plan]
References
- [1] fix(cameras): D405 RealSense connection timeout on startup ↗ huggingface/lerobot
- [2] fix(cameras): D405 RealSense connection timeout on startup (#3894) huggingface/lerobot
- [3] support group offloading under auto offloading (#14358) huggingface/diffusers
- [4] support group offloading under auto offloading ↗ huggingface/diffusers
- [5] Bump the actions group with 2 updates ↗ huggingface/optimum-habana