AGENT SKILL

deployment

Guides VLA-Adapter inference servers, MsgPack or JSON action payloads, ALOHA fake-client checks, and real robot deployment boundaries.

License 许可
MIT
最近更新
2026-09-03
Stars
★ 351
Forks
27

01 前言 Front Matter

name
deployment
license
MIT
metadata
{ "disco-role": "operating" }
description
Guides VLA-Adapter inference servers, MsgPack or JSON action payloads, ALOHA fake-client checks, and real robot deployment boundaries.
disable-model-invocation
true

02 资源文件 5

03 SKILL.md 正文

Deployment (external-checkout adapter)

This sub-skill documents deployment contracts and renders commands for a separate native checkout. It contains only documentation and safe command or synthetic-payload helpers; it does not contain prismatic/, vla-scripts/, or experiments/robot/, and it never starts a server, client, or robot.

Before using any native entrypoint, set and enter the absolute checkout root:

export VLA_ADAPTER_REPO_ROOT=/abs/path/to/VLA-Adapter
cd "$VLA_ADAPTER_REPO_ROOT"
python -m pip install -e "$VLA_ADAPTER_REPO_ROOT"

External prerequisites depend on the selected operation: base package plus CUDA/checkpoint for a server; FastAPI/uvicorn and the matching JSON or MsgPack serialization packages for HTTP serving; the native ALOHA fake-client and its runtime for a fake check; and ROS, cv_bridge, sensor/message packages, camera inputs, hardware, and a human operator for a real client. Install these in the native/robot environment, not in this generated skill.

Read and render

  • Read references/server-client-contracts.md for JSON/MsgPack schemas and native command expectations.
  • Read references/aloha-real-robot.md before any real Cobot Magic/ALOHA deployment.
  • Read references/troubleshooting.md for HTTP, serialization, checkpoint, CUDA, and ROS failures.
  • Render commands with scripts/build_aloha_launch.py using --repo-root "$VLA_ADAPTER_REPO_ROOT". build_aloha_launch only prints cd <absolute-repo-root> && ... commands; it does not execute or validate a server/client.
  • Run scripts/validate_msgpack_payload.py only to inspect a deterministic synthetic payload. It checks keys, image dtype/shape, state shape, and non-empty strings; it is not a server, client, HTTP probe, or connectivity test. --write-msgpack additionally requires external msgpack and msgpack-numpy packages.

Native source entrypoints

After review, native commands must be run from cd <absolute-repo-root> and use the external source files below (the adapter does not invoke them):

Operation Native source entrypoint
MsgPack server experiments/robot/server_deploy/deploy.py
JSON server vla-scripts/deploy.py
Fake ALOHA client experiments/robot/aloha/run_fake_cobot_client.py
Real ROS client experiments/robot/aloha/run_cobot_client.py

Deployment workflow

  1. Validate the checkpoint and server contract against the linked references.
  2. Confirm CUDA and operation-specific package/ROS prerequisites.
  3. Decide whether the client/server should use MsgPack (ALOHA primary) or JSON.
  4. Inspect a synthetic payload with the bundled validator; this does not contact a server.
  5. Review the rendered native command, then run a native fake-client sanity check before any real robot client.
  6. For real robots, confirm ROS topics, emergency stop, operator procedure, action scaling, and unnorm_key before publishing commands.

Safety boundaries

  • Never run a real robot client from an automated agent without explicit human operator approval and a safe physical setup.
  • Do not expose a VLA action server on an untrusted network without access controls; the basic repo server is a research utility, not a hardened service.
  • Treat unnorm_key mismatch as a safety issue because it changes action scale.

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