AGENT SKILL

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

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

  1. Verify the checkpoint directory includes resolved_configs_inference.pt or an accepted fallback config.
  2. Export the policy to unified_pipeline.onnx plus unified_pipeline.yaml using a CPU-capable environment with PyTorch and ProtoMotions; no simulator should be needed for export.
  3. Inspect YAML input/output metadata before wiring a deployment framework.
  4. Validate in standalone MuJoCo before real hardware.
  5. Preserve heading alignment, root-local angular velocity frame, action post-processing, acceleration clamp, EMA action filter, and PD target semantics.
  6. Require explicit human approval and safety procedures for real robot execution.

Custom robot action pattern

  1. Provide MJCF as the source-of-truth robot asset.
  2. Define robot config: body-name mappings, trackable body subset, asset config, default root height, PD controls, and per-simulator params.
  3. Register the robot name in the factory.
  4. Run factory/config smokes before simulator instantiation.
  5. Validate in a random-pose or simple simulation check before training.
  6. 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

VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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).

★ 351