executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
colossal-aiUse ColossalAI for distributed PyTorch training, large-model parallelism, Booster plugins, ShardFormer, Colossal-Inference, and first-party application workflow routing.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this skill when the task names ColossalAI, colossalai, colossalai run, Booster, GeminiPlugin, HybridParallelPlugin, ShardFormer, Colossal-Inference, ColossalChat, Colossal-LLaMA, ColossalEval, ColossalQA, or ColossalMoE.
ColossalAI is a Linux-oriented distributed PyTorch and large-model system. Most meaningful training and inference workflows require CUDA-capable PyTorch, torchrun or ColossalAI launch setup, and model/data assets chosen by the user.
python scripts/check_colossalai_environment.py --check-cli
sub-skills/installation-and-launch/SKILL.md for installation variants, colossalai check -i, colossalai run, hostfiles, torchrun, SLURM/OpenMPI launch APIs, and port/NCCL startup failures.sub-skills/booster-training/SKILL.md for Booster, plugin selection, training loop structure, dataloaders, checkpointing, LoRA, mixed precision, ZeRO, Gemini, and memory-aware training.sub-skills/parallelism-and-sharding/SKILL.md for tensor/pipeline/sequence parallelism, ShardFormer, topology sizing, auto-parallel, activation checkpointing, NVMe offload, and process-group reasoning.sub-skills/inference-and-serving/SKILL.md for InferenceConfig, InferenceEngine, LLM generation, speculative decoding, Stable Diffusion 3 patched parallelism, serving/client benchmarks, and inference errors.sub-skills/application-recipes/SKILL.md for ColossalChat/Coati, Colossal-LLaMA, ColossalEval, ColossalQA, and ColossalMoE environment isolation, command anatomy, and limitations.python - <<'PY'
import colossalai, torch
print('colossalai', colossalai.__version__)
print('torch', torch.__version__, 'cuda', torch.version.cuda, 'available', torch.cuda.is_available())
PY
colossalai --help
colossalai check -i
Use colossalai check -i to distinguish PyTorch CUDA compatibility, system CUDA visibility, and AOT extension build information. System CUDA version: N/A usually means CUDA_HOME or nvcc is not visible; PyTorch CUDA wheels can still run CUDA kernels when the driver supports them.
references/installation.md summarizes package, Python, PyTorch, CUDA, and optional extension constraints that affect all workflows.references/troubleshooting.md covers install/import/backend/CLI/distributed failures that are not owned by one sub-skill.references/testing-and-verification.md lists safe checks, native candidates, and expensive examples to avoid by default.references/repo-provenance.md records the source revision, package version, and evidence paths used to build this skill.scripts/check_colossalai_environment.py performs a safe import, version, CUDA, and optional CLI-help diagnostic without downloading models or starting services.torchrun or colossalai run; for manual setup, call colossalai.launch(...) with rank/world size/host/port.