Setup build

From VectorSpaceLab/AREX-Skill · View interactive version

Setup build is an AI agent skill from the GitHub repository VectorSpaceLab/AREX-Skill. Guides legacy-compatible AdelaiDet installation, Detectron2/PyTorch/CUDA version selection, editable extension builds, and runtime smoke checks.

How to use this skill

Skill file

setup-build

Use this sub-skill when a task involves installing AdelaiDet, selecting PyTorch/Detectron2/CUDA versions, building adet._C, checking custom operators, or diagnosing import/build failures.

Use this route for

Do not use this route for

Read first

Skill-owned scripts

Standard workflow

  1. Create the compatible Python/PyTorch/CUDA/Detectron2 environment described in references/setup-build.md.
  2. Install AdelaiDet with python -m pip install --no-build-isolation -e <checkout>.
  3. Pin compatibility fixes: Pillow<10, rapidfuzz<3, NumPy 1.23.x, and OpenCV headless 4.8.x.
  4. Run:

```bash

python ../../scripts/check_install.py --cuda-ops

```

  1. If --cuda-ops fails, do not start training or inference; fix setup first or explicitly narrow the task to import/config-only analysis.

Decision points

Success signal

A healthy CUDA-capable environment reports:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.