AGENT SKILL

sensor-agent

Operate a trained TransFuser model through the CARLA sensor-agent interface, with checkpoint, sensor, tensor, control, and safety guidance that preserves the external CARLA runtime boundary.

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

01 前言 Front Matter

name
sensor-agent
license
MIT
metadata
{ "disco-role": "operating" }
description
Operate a trained TransFuser model through the CARLA sensor-agent interface, with checkpoint, sensor, tensor, control, and safety guidance that preserves the external CARLA runtime boundary.
disable-model-invocation
true

02 资源文件 5

03 SKILL.md 正文

TransFuser Sensor Agent

Use this sub-skill to prepare or diagnose the learned HybridAgent runtime for CARLA Leaderboard sensor-track evaluation. It covers the agent entry point, checkpoint-directory contract, backbone-dependent sensors, preprocessing, route-to-target transforms, CUDA placement, ensembling, PID control, and stuck/emergency behavior.

Route The Task

  1. For entry-point, configuration-directory, checkpoint, ensemble, CUDA, or Leaderboard interface questions, read agent-runtime.md.

  2. For sensor IDs, camera/LiDAR preprocessing, tensor shapes, coordinates, GPS route planning, or target-point construction, read sensor-and-tensor-contracts.md.

  3. For action repetition, waypoint ensembling, NMS, PID conversion, stuck recovery, or emergency braking, read control-and-safety.md.

  4. For missing CARLA/CUDA, bad args.txt, checkpoint-prefix mismatches, architecture drift, missing sensors, or route failures, read troubleshooting.md.

  5. Before arranging a CARLA evaluation, run the bundled, side-effect-free preflight:

    python scripts/validate_agent_config.py /path/to/team-config
    

    Add --json for machine-readable output or --strict to make warnings fail. The validator parses JSON and checks checkpoint files statically; it does not import CARLA or PyTorch, deserialize weights, allocate CUDA memory, run inference, launch a server, or download anything.

Inputs And Outputs

  • Input configuration is a directory containing args.txt and one or more .pth model state-dict files. The directory, not args.txt, is the Leaderboard TEAM_CONFIG value.
  • The Python agent module must expose get_entry_point() returning exactly HybridAgent; HybridAgent implements the Leaderboard AutonomousAgent interface and returns carla.VehicleControl from run_step.
  • The learned runtime is CUDA-only as implemented. CPU-only checks can validate files and schemas but cannot prove model inference.
  • Route execution needs an externally supplied global plan, synchronized sensor frames, and a CARLA 0.9.10.1-compatible Python API/server stack.

Boundaries

This bundle deliberately does not launch CARLA, build evaluation commands, download checkpoints, run model inference, or modify checkpoints. Route full Longest6/local evaluation to the sibling carla-evaluation sub-skill, and route model training or checkpoint provenance to model-training.

The verified inspection environment had Python 3.7, CUDA, PyTorch 1.12.1+cu113, mmcv-full 1.6.0, mmdet 2.25.0, and timm 0.6.7; model, data, config, and train imports passed. The CARLA Python module was absent. Therefore preserve an explicit external dependency on CARLA 0.9.10.1, its Python API, a running server, and the compatible Leaderboard/scenario-runner stack. Do not interpret static validation as end-to-end simulator readiness.

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