Skip to content
Agentmart
Submit a tool

colossal-ai

Use ColossalAI for distributed PyTorch training, large-model parallelism, Booster plugins, ShardFormer, Colossal-Inference, and first-party application…

Skill by VectorSpaceLab

IndexedApache-2.0★ 341
Write a review

Chalk Labs

Need help deploying colossal-ai?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/vectorspacelab-colossal-ai

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use ColossalAI for distributed PyTorch training, large-model parallelism, Booster plugins, ShardFormer, Colossal-Inference, and first-party application workflow routing.

Use cases: ml, productivity

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/colossal-ai

What's inside

Skill name
colossal-ai
Description
Use ColossalAI for distributed PyTorch training, large-model parallelism, Booster plugins, ShardFormer, Colossal-Inference, and first-party application workflow routing.
License
Apache-2.0
Metadata
disco-role: operating
Instructions
54 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (38)

  • SKILL.md
  • installation.md · references/
  • repo-provenance.md · references/
  • repo-routing-metadata.json · references/
  • testing-and-verification.md · references/
  • troubleshooting.md · references/
  • check_colossalai_environment.py · scripts/
  • SKILL.md · sub-skills/application-recipes/
  • application-overview.md · sub-skills/application-recipes/references/
  • colossalchat.md · sub-skills/application-recipes/references/
  • llama-eval-qa-moe.md · sub-skills/application-recipes/references/
  • troubleshooting.md · sub-skills/application-recipes/references/
  • application_env_matrix.py · sub-skills/application-recipes/scripts/
  • SKILL.md · sub-skills/booster-training/
  • booster-api.md · sub-skills/booster-training/references/
  • gemini-zero-and-checkpointing.md · sub-skills/booster-training/references/
  • plugin-guide.md · sub-skills/booster-training/references/
  • troubleshooting.md · sub-skills/booster-training/references/
  • booster_loop_template.py · sub-skills/booster-training/scripts/
  • plugin_decision_helper.py · sub-skills/booster-training/scripts/
  • SKILL.md · sub-skills/inference-and-serving/
  • diffusion-serving-benchmarks.md · sub-skills/inference-and-serving/references/
  • inference-api.md · sub-skills/inference-and-serving/references/
  • llm-and-speculative-decoding.md · sub-skills/inference-and-serving/references/
  • troubleshooting.md · sub-skills/inference-and-serving/references/
  • inference_command_builder.py · sub-skills/inference-and-serving/scripts/
  • SKILL.md · sub-skills/installation-and-launch/
  • cli-and-launch.md · sub-skills/installation-and-launch/references/
  • installation-and-backends.md · sub-skills/installation-and-launch/references/
  • troubleshooting.md · sub-skills/installation-and-launch/references/
  • colossalai_launch_builder.py · sub-skills/installation-and-launch/scripts/
  • SKILL.md · sub-skills/parallelism-and-sharding/
  • auto-parallel-and-offload.md · sub-skills/parallelism-and-sharding/references/
  • parallelism-guide.md · sub-skills/parallelism-and-sharding/references/
  • shardformer.md · sub-skills/parallelism-and-sharding/references/
  • troubleshooting.md · sub-skills/parallelism-and-sharding/references/
  • parallelism_config_advisor.py · sub-skills/parallelism-and-sharding/scripts/
  • shardformer_model_matrix.py · sub-skills/parallelism-and-sharding/scripts/

SKILL.md (first lines)

# ColossalAI

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.

## Quick Start

1. Verify the package and backend before giving GPU or distributed advice:
   ```bash
   python scripts/check_colossalai_environment.py --check-cli
   ```
2. Route to the focused sub-skill for detailed commands and recovery steps.
3. Keep hardware, model weights, datasets, credentials, and optional extensions explicit. Do not promise a CUDA, Apex, flash-attn, TensorNVMe, vLLM, or application package path until that dependency is installed and checked.
4. Prefer synthetic or helper-generated command checks before running long training, benchmark, model-download, or service workflows.

## Route By Task

- **Install, check, and launch**: use `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.
- **Booster training**: use `sub-skills/booster-training/SKILL.md` for `Booster`, plugin selection, training loop structure, dataloaders, checkpointing, LoRA, mixed precision, ZeRO, Gemini, and memory-aware training.
- **Parallelism and sharding**: use `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.
- **Inference and serving**: use `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.
- **First-party applications**: use `sub-skills/application-recipes/SKILL.md` for ColossalChat/Coati, Colossal-LLaMA, ColossalEval, ColossalQA, and ColossalMoE environment isolation, command anatomy, and limitations.

## Core Import and CLI Signals

```bash
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.

## Cross-Cutting References and Helpers

- `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.

## Operating Rules

- Initialize distributed state before constructing most Booster plugins. For ordinary scripts, use `torchrun` or `colossalai run`; for manual setup, call `colossalai.launch(...)` with rank/world size/host/port.
- Treat app packages as separate environments unless proven compatible. The core ColossalAI package uses modern PyTorch; ColossalQA and some application stacks pin older or conflicting dependencies.
- Do not run benchmark-scale examples, large model generation, multi-node jobs, or service listeners unless the user has supplied assets, hardware, and approval.
- Do not route generic PyTorch, DeepSpeed, Lightning, Transformers, vLLM, or LangChain tasks here unless ColossalAI owns the launcher, plugin, sharding, inference, or application workflow in the user request.

From VectorSpaceLab/AREX-Skill, Apache-2.0.

More from VectorSpaceLab/AREX-Skill

Signals

Stars
341
Forks
26
Open issues
0
Last commit (this folder)
Aug 26, 2026 (2 months ago)
Last release
Sep 2, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from VectorSpaceLab

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get colossal-ai running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying colossal-ai?

CallGet help
Cite this page

colossal-ai skill. Agent Mart. https://agentmart.dev/skills/vectorspacelab-colossal-ai (last updated 2026-10-24)