deployment-and-robots
Export ProtoMotions trackers, validate deployment input contracts, test MuJoCo deployment, and add or troubleshoot robot assets.
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- deployment-and-robots
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Export ProtoMotions trackers, validate deployment input contracts, test MuJoCo deployment, and add or troubleshoot robot assets.
- disable-model-invocation
- true
02 资源文件 6
- 参考文档references/custom-robots-and-assets.md2.3 KB
- 参考文档references/deployment-contract.md3.1 KB
- 参考文档references/onnx-export.md2.2 KB
- 参考文档references/troubleshooting.md2.4 KB
- 脚本scripts/inspect_tracker_yaml.py1.4 KB
- 脚本scripts/tracker_alignment_smoke.py2.3 KB
03 SKILL.md 正文
ProtoMotions deployment and robots
Use this sub-skill for G1 deployment tracker workflows, ONNX export, standalone MuJoCo validation, tracker input semantics, real-robot integration cautions, custom robot configs, MJCF/USD conversion, and cross-simulator robot issues.
Read first
references/deployment-contract.md: ONNX tracker inputs, frame conventions, MuJoCo validation, and real-robot safety.references/onnx-export.md: export artifact roles and checkpoint/config requirements.references/custom-robots-and-assets.md: adding robots, asset requirements, MJCF/USD, and factory registration.references/troubleshooting.md: deployment, input-frame, robot asset, and simulator migration failures.scripts/inspect_tracker_yaml.py: summarize a deployment YAML sidecar.scripts/tracker_alignment_smoke.py: pure NumPy smoke for the heading/reference alignment contract.
Deployment action pattern
- Verify the checkpoint directory includes
resolved_configs_inference.ptor an accepted fallback config. - Export the policy to
unified_pipeline.onnxplusunified_pipeline.yamlusing a CPU-capable environment with PyTorch and ProtoMotions; no simulator should be needed for export. - Inspect YAML input/output metadata before wiring a deployment framework.
- Validate in standalone MuJoCo before real hardware.
- Preserve heading alignment, root-local angular velocity frame, action post-processing, acceleration clamp, EMA action filter, and PD target semantics.
- Require explicit human approval and safety procedures for real robot execution.
Custom robot action pattern
- Provide MJCF as the source-of-truth robot asset.
- Define robot config: body-name mappings, trackable body subset, asset config, default root height, PD controls, and per-simulator params.
- Register the robot name in the factory.
- Run factory/config smokes before simulator instantiation.
- Validate in a random-pose or simple simulation check before training.
- For IsaacLab, handle MJCF-to-USD conversion and D6 workaround behavior carefully.
Non-negotiable safety
Real-robot deployment can cause unsafe physical motion. Never skip MuJoCo validation, PD/action post-processing checks, emergency-stop verification, or human authorization when moving from simulation to hardware.
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).