Hugging FaceGaetan Bahl, Enzo Ruedas, Tess BoivinTutorial
Bringing Robotics AI to Embedded Platforms: Dataset Recording, VLA Fine‑Tuning, and On‑Device Optimizations
Summary
Deploying Vision–Language–Action policies on embedded robots is constrained by compute, memory, power, and real-time control requirements; synchronous inference can leave the arm idle and cause oscillatory corrections. NXP presents dataset-recording practices for a tea-bag placement task, including fixed cameras, controlled lighting, a gripper-mounted view, calibration backups, and diverse training and validation splits with recovery episodes. The example uses 120 episodes, three 640×480 cameras at 30 fps, batch size 8, and checkpoint selection based on training and validation success rather than loss alone. For deployment, the VLA is decomposed into vision, LLM backbone, and action-expert stages, with selective quantization and asynchronous scheduling constrained by inference time being shorter than action execution. On the i.MX 95, optimized ACT latency reached 0.32 seconds with 0.89 global accuracy, while ONNX FP32 ACT reached 0.96 global accuracy at 2.86 seconds.
Context
Embedded VLA deployment must satisfy tight compute, memory, and power limits while meeting real-time control requirements. In synchronous pipelines, the robot remains idle during inference, which can create idle gaps, stale-observation corrections, reduced control frequency, and poor recovery behavior.
Approach / What changed
The guide records consistent, diverse robotic demonstrations; fine-tunes ACT and SmolVLA with separate validation data; decomposes SmolVLA into vision, LLM-backbone, and action-expert stages; applies block-specific quantization and optimization; and schedules inference asynchronously alongside action execution. It retains higher precision for the iterative denoising flow because quantization there significantly degrades performance.
Takeaways
A gripper-mounted camera provides a close, task-relevant viewpoint for fine manipulation and helps ensure operators rely only on inputs available to the policy at runtime.
For the tea-bag task, the dataset contained 120 episodes across 10 clusters, with cluster 6 withheld for validation and about 20% of training episodes representing recovery behavior.
On the i.MX 95, optimized ACT reduced inference latency from 2.86 seconds with ONNX FP32 to 0.32 seconds, while global accuracy changed from 0.96 to 0.89.
Source and freshness
- Source
- huggingface.co
- Published
- Added to Yomu
- Last updated
Summaries are generated from the original by a language model. Check the original before relying on it.
Keep reading
Related reading
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
The best engineering reads, once a week
One useful email. Unsubscribe anytime.