Install and build

From VectorSpaceLab/AREX-Skill · View interactive version

Install and build is an AI agent skill from the GitHub repository VectorSpaceLab/AREX-Skill. Install, build, repair, and validate AIMET package environments and repository build/test workflows.

How to use this skill

Skill file

AIMET install and build

Use this sub-skill when the user asks to install AIMET, choose aimet-torch vs aimet-onnx, repair imports, select CPU/CUDA packages, build from source, package wheels, set up GenAILab dependencies, or run focused checks in an AIMET checkout.

Read/run first

Decision flow

  1. Confirm desired surface. aimet-torch, aimet-onnx, or both; PyPI install versus editable/source build; CPU versus CUDA; repository maintenance versus package use.
  2. Choose an isolated environment. Prefer Python 3.10 or 3.11 for compiled ML dependencies. Do not mutate Conda base or a broad user environment unless explicitly approved.
  3. Install the minimum variant. Use PyPI for package use. Use CMAKE_ARGS source builds only when editing the checkout or validating build behavior.
  4. Run pip check. Dependency conflicts usually explain AIMET import failures faster than source inspection.
  5. Run the bundled smoke. A tiny QuantSim smoke is better than launching ImageNet or LLM examples while diagnosing install state.
  6. Escalate to native tests only for repo maintenance. Pick the smallest source-checkout pytest target that covers the changed area; do not run all tests by default.

Source build notes

AIMET's source build is controlled by three CMake switches:

The default source documentation emphasizes CUDA-capable builds, but core package-use checks can be CPU-only. CUDA source builds need a development toolkit; CUDA runtime wheels alone are not proof that nvcc is available.

Boundaries

Good completion signals

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.