技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
booster-training【数据与研究】Use ColossalAI Booster, plugins, dataloaders, checkpointing, LoRA, ZeRO/Gemini, and memory-aware training loops.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
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.
TorchDDPPlugin, LowLevelZeroPlugin, GeminiPlugin, HybridParallelPlugin, TorchFSDPPlugin, or MoeHybridParallelPlugin.Booster(plugin=...) training loop.plugin.prepare_dataloader, booster.boost, booster.backward, booster.execute_pipeline, and optimizer step ordering.../installation-and-launch/SKILL.md first.../parallelism-and-sharding/SKILL.md.../inference-and-serving/SKILL.md.../application-recipes/SKILL.md.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/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.loss.backward() in a Booster-managed loop unless a specific plugin path explicitly permits it; use booster.backward.enable_flash_attention, fused normalization, FP8, Apex, TensorNVMe, and application-specific extras as optional until installed and tested.