feat: add isolated LeRobot policy module - #3479
Closed
TomCC7 wants to merge 30 commits into
Closed
Conversation
❌ 4 Tests Failed:
View the top 3 failed test(s) by shortest run time
To view more test analytics, go to the Test Analytics Dashboard |
TomCC7
force-pushed
the
cc/feat/external-python-native-module
branch
from
August 18, 2026 00:07
7b1680e to
e9c8f9b
Compare
Member
Author
|
Superseded by #3315, which now carries the isolated LeRobot implementation directly above #3478 in stack #3498. The adapted implementation uses IsolatedPythonModule, keeps LeRobot dependencies in the sibling runtime project, and has passed the host, isolated-runtime, mypy, pre-commit, and subprocess smoke checks. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Contribution path
Problem
LeRobot 0.6 requires a Transformers 5 and NumPy <2.3 environment that conflicts with the main DimOS perception and development dependency set. DimOS still needs a live policy module that can consume camera and joint-state observations without installing those packages into the main environment.
Solution
LeRobotPolicyModulehost contract backed by the Python-native runtime from feat: add isolated Python module runtime #3478.policy_statusover RPC.The root DimOS dependency lists and root
uv.lockare unchanged.How to Test
Validated locally: 7 host/registry tests and 12 isolated runtime tests passed; root and isolated mypy passed; changed-file pre-commit hooks passed; the real subprocess/RPC smoke example exited successfully.
AI assistance
OpenAI Codex with GPT-5 implemented and validated the change under direct user guidance. The user selected the module structure, RPC-only interface, dependency isolation strategy, and stacked-PR workflow.
Checklist