Run a Hugging Face Robot Policy Across Edge and Kubernetes
Can a remote GPU help a simulated robot without making delayed action chunks unsafe or mistaking a network handshake for working robotics?
Why this problem is interesting
A fictional simulated robot receives action chunks from an optional remote LeRobot server backed by an immutable HF checkpoint. ROS 2 DDS remains an independent middleware concern. Jev might advise only among prevalidated eligible locations and must never authorize/execute action chunks.
Falsifiable question
Does remote inference deliver fresh, valid actions under realistic network faults?
Working hypothesis
Remote GPU service may improve throughput for some compatible workloads but also raises action-age, availability and recovery risks under network impairment.
Null hypothesis
Remote inference does not improve the simulator's valid-action throughput or task outcomes compared with a compatible local baseline after accounting for network and failure costs.
Hugging Face capabilities involved
- HF Hub model cache + pinned processor
- Upstream LeRobot remote policy server
- Zenoh transport (not ROS 2 DDS)
- Kubernetes workloads after security review
- Jev advisory eligibility review
Who can contribute?
Kubernetes and GPU services · Robot policy inference · Distributed systems research
Required prerequisites: Depends on #14/#15/#16 modern DDS verification for cross-worker claims, #55/#59 safety contract, #58 revision/cache, #60 run manifest, #61 remote server, #62 edge study.
Trace the proposed integration
Choose a completely fictional example. Step through how the system should decide which inputs or actions are eligible. This browser animation never calls Hugging Face, LeRobot, Jev, Kubernetes or a physical robot.
Illustrative stage 1 of 4: Pin model, processor + identity
Tap any stage or choose a case. User-initiated playback, pause and reduced-motion support are provided. Static explanatory content remains available without JavaScript.
Experimental variables, controls and metrics
A useful research scenario is more than a diagram. These are the testable claims and artifacts future contributors should implement or report.
| Design element | How it should be investigated |
|---|---|
| Topology | Simulator client + same-host policy, LAN policy service, optional isolated Kubernetes GPU service; no real robot. |
| Prerequisites | Model/action contract, supported position-hold driver, authenticated Zenoh router when crossing boundaries, exact server/client revision. |
| Impairments | Delay, jitter, packet loss, disconnect, stale action, restart, wrong model revision and rejected unsupported driver. |
| Baselines | Local synchronous; supported RTC mode only if appropriate; upstream remote LeRobot; optional Jev preference among eligible placements. |
| Endpoints | p50/p95/p99 valid action age, deadline misses, simulator task completion, session failure/availability, GPU cost. |
| Fail-closed behavior | Timeout/stale chunk never becomes actuation authorization; no autonomous cluster mutation, raw /cmd_vel, or cross-worker DDS claims. |
Proposed experimental steps
- Establish a working, compatible simulator rollout as local reference with complete model/processor identity.
- Read upstream LeRobot remote inference contract, distinguish Zenoh session from ROS 2 DDS and verify security mode.
- Prototype admission and timeouts with a CPU/mock provider offline before any GPU/Kubernetes resources.
- Only on approved hardware, run matched impairment profiles, log monotonic action age and all failed attempts.
- Study optional Jev placement advice separately, against deterministic eligibility and simulator-safe fallbacks.
Expected contributions
- Reference remote inference architecture and contract matrix
- Offline session rejection and stale-action test cases
- Versioned optional Kubernetes deployment checklist and network research protocol
- Measured action-age/recovery results only after real simulator runs
Publication gate: no result without a source revision, licensed data, raw positive and negative runs, exact method, uncertainty, and human review.
Current benchmark results: N/A
No valid experimental run has been recorded
These pages contain an experiment specification and a synthetic, conceptual animation. A proper LeRobot remote inference result requires actual verified measurements; none are currently supplied. Do not turn example metadata or a model download into claimed accuracy or robot task success.
See results registry ↗Safety and deployment limitations
Do not ship private video, motor command streams, sensitive lab addresses, access tokens or unlicensed model weights. Hard eligibility, quotas, version checks, deadlines and actions remain in deterministic code. Jev is advisory only where included.
Hugging Face integration and external model services may require credentials, licensing review, a subscription or usage charges. Public demos must not claim any official partnership or endorsement.
Help build the first real experiment
Open contributor task #96
Issue #96 contains tasks, acceptance criteria, failing/unknown tests, risk controls, suggested deliverables and Claude Code/Codex handoff instructions. Students, PhD researchers and platform engineers are welcome to propose a reviewable portion.
Collaborate on GitHub ↗More Hugging Face robotics experiments
ROS 2 → LeRobot dataset
How can a ROS 2 episode become trustworthy training data—and when must a dataset be rejected before it reaches the Hugging Face Hub?
Read the research blueprintSCENARIO 06Jev vs HF classifier
Can a fast structured decision model outperform a compact open classifier for DDS/QoS incident classification—and when is a local baseline more reliable?
Read the research blueprintSCENARIO 07SmolVLA + LIBERO
What does it actually take to show that a Hugging Face robotics policy completes a simulated manipulation task rather than merely loading model weights?
Read the research blueprint