Skip to content
Back to skills

Booster Training

ASecurity

"Use ColossalAI Booster, plugins, dataloaders, checkpointing, LoRA,

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
toolspythongoapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill booster-training --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Booster Training?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Booster Training
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-booster-training/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-booster-training)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: booster-training
description: "Use ColossalAI Booster, plugins, dataloaders, checkpointing, LoRA,
  ZeRO/Gemini, and memory-aware training loops."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# Booster Training

Use this sub-skill when the task is to adapt a PyTorch training script to ColossalAI, choose a Booster plugin, build a distributed dataloader, call `booster.backward`, save/load checkpoints, enable LoRA, or diagnose ZeRO/Gemini training behavior.

## Route Here

- Choose among `TorchDDPPlugin`, `LowLevelZeroPlugin`, `GeminiPlugin`, `HybridParallelPlugin`, `TorchFSDPPlugin`, or `MoeHybridParallelPlugin`.
- Write or review a `Booster(plugin=...)` training loop.
- Use `plugin.prepare_dataloader`, `booster.boost`, `booster.backward`, `booster.execute_pipeline`, and optimizer step ordering.
- Save/load model, optimizer, and scheduler checkpoints, including sharded and safetensors variants.
- Enable LoRA or bitsandbytes-aware LoRA through Booster when the required optional dependencies are installed.
- Tune memory behavior with ZeRO stage, Gemini placement/offload, lazy initialization, mixed precision, gradient accumulation, and gradient clipping.

## Reroute

- Installing PyTorch/CUDA or launching processes: use `../installation-and-launch/SKILL.md` first.
- Tensor/pipeline/sequence topology theory and ShardFormer policies: use `../parallelism-and-sharding/SKILL.md`.
- Colossal-Inference generation or serving: use `../inference-and-serving/SKILL.md`.
- ColossalChat/Colossal-LLaMA application commands: use `../application-recipes/SKILL.md`.

## Fast Start

```python
import colossalai
colossalai.launch_from_torch(seed=42)
```

For a first CUDA smoke, use `TorchDDPPlugin`. For optimizer-state and gradient sharding, use `LowLevelZeroPlugin`. For ZeRO-3-style memory management, use `GeminiPlugin`. For tensor/pipeline/data parallel combinations, use `HybridParallelPlugin`.

## References and Helpers

- `references/booster-api.md` lists the core Booster workflow and inspected method signatures.
- `references/plugin-guide.md` maps user goals to plugin choices and constructor knobs.
- `references/gemini-zero-and-checkpointing.md` covers ZeRO/Gemini memory controls, checkpoints, LoRA, and optional async save.
- `references/troubleshooting.md` maps common training failures to checks and fixes.
- `scripts/plugin_decision_helper.py` suggests a plugin from safe command-line requirements.
- `scripts/booster_loop_template.py` prints a self-contained minimal Booster training skeleton.

## Operating Rules

- Do not call `loss.backward()` in a Booster-managed loop unless a specific plugin path explicitly permits it; use `booster.backward`.
- Do not construct GPU plugins before distributed initialization.
- Treat `enable_flash_attention`, fused normalization, FP8, Apex, TensorNVMe, and application-specific extras as optional until installed and tested.
- Validate a one-process or tiny synthetic case before long model training.

Files in this skill

  • SKILL.md2.9 KB
  • references/booster-api.md2.2 KB
  • references/gemini-zero-and-checkpointing.md2.3 KB
  • references/plugin-guide.md2.3 KB
  • references/troubleshooting.md2.4 KB
  • scripts/booster_loop_template.py1.2 KB
  • scripts/plugin_decision_helper.py2.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.