Accelerate

From VectorSpaceLab/AREX-Skill · View interactive version

Accelerate is an AI agent skill from the GitHub repository VectorSpaceLab/AREX-Skill. Use Hugging Face Accelerate for PyTorch training-loop migration, distributed launch/configuration, DeepSpeed/FSDP/TPU backend setup, big-model inference/offload, checkpointing, tracking, and troubleshooting.

How to use this skill

Skill file

Accelerate

Use this repo skill when a task involves Hugging Face Accelerate: adapting PyTorch code with Accelerator, building accelerate launch commands, validating config files, choosing distributed backends, loading large models with device maps/offload, or saving/logging training state.

Install And Import Check

For normal package use:

pip install accelerate
python - <<'PY'
import accelerate
from accelerate import Accelerator
print(accelerate.__version__)
print(Accelerator)
PY

Install optional backends only for workflows that need them, such as DeepSpeed, torch-xla, transformer-engine, torchao, bitsandbytes, experiment trackers, or model libraries. Do not install broad development or testing extras unless the user explicitly asks for repository development coverage.

Route By Task

Shared References And Scripts

Common Decision Points

Safety Defaults

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.