AGENT SKILL

inference

Run and adapt MMDetection3D point-cloud, monocular, multi-modality, and lidar segmentation inference workflows.

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

01 前言 Front Matter

name
inference
license
Apache 2.0
metadata
{ "disco-role": "operating" }
description
Run and adapt MMDetection3D point-cloud, monocular, multi-modality, and lidar segmentation inference workflows.
disable-model-invocation
true

02 资源文件 4

03 SKILL.md 正文

MMDetection3D inference sub-skill

Use this sub-skill when the user needs to run, modify, or troubleshoot MMDetection3D inference for:

  • LiDAR / point-cloud 3D detection.
  • Monocular image 3D detection.
  • LiDAR + image multi-modality 3D detection.
  • LiDAR point-cloud semantic segmentation.
  • Python API calls through mmdet3d.apis or the 3D inferencer classes.

This sub-skill is intentionally safe by default: the bundled script only renders commands and never loads models, checkpoints, datasets, GPUs, or visualizers.

Start here

  1. Identify the task type:
    • lidar-det: point-cloud detection.
    • mono-det: monocular image detection with an annotation/info file.
    • multi-modality-det: point cloud plus image(s) with an annotation/info file.
    • lidar-seg: point-cloud segmentation.
  2. Confirm the user has a matching config and checkpoint for the same model family, dataset, classes, and task.
  3. For demo-style command construction, use scripts/build_inference_command.py. It prints a shell command only.
  4. For Python integration, use references/api-reference.md to choose between low-level API functions and inferencer classes.
  5. For output, visualization, remote-server, and batch workflow choices, use references/workflows.md.
  6. For failures, use references/troubleshooting.md.

Route away

  • Dataset conversion, dataset root layout, or annotation/info generation belongs in the data-preparation sub-skill.
  • Config-family selection, model zoo alias lookup, or config mutation belongs in the configuration-model-zoo sub-skill.
  • Training, testing, metric evaluation, TTA, or distributed launch belongs in the training-evaluation sub-skill.
  • Geometry objects, coordinate conversions, box projection, or visualization internals belong in the structures-visualization sub-skill.
  • TorchServe, model publishing, FLOPs, or log-analysis utilities belong in the serving-tools sub-skill.

Minimal operating rules

  • Do not run an inference command unless the user explicitly asks for model execution and accepts the hardware/checkpoint/runtime cost.
  • Prefer no-display-safe commands on remote servers: omit --show, keep an --out-dir, and save predictions.
  • Demo commands are file-path workflows. For in-memory arrays, use the inferencer classes where supported; see the ndarray limitations in references/api-reference.md.
  • Treat checkpoint URLs and model aliases as potentially network-triggering during actual execution. The bundled command builder does not download anything.
  • Always preserve the user's config/checkpoint pairing unless they ask for model-family changes.

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