본문으로 건너뛰기
cccskills
무료GitHub에 공개

colossal-ai

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

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(38)

  • SKILL.md4.5 KB
  • references/installation.md1.8 KB
  • references/repo-provenance.md2.8 KB
  • references/repo-routing-metadata.json566 B
  • references/testing-and-verification.md1.1 KB
  • references/troubleshooting.md2.5 KB
  • scripts/check_colossalai_environment.py3.5 KB
  • sub-skills/application-recipes/references/application-overview.md1.4 KB
  • sub-skills/application-recipes/references/colossalchat.md1.3 KB
  • sub-skills/application-recipes/references/llama-eval-qa-moe.md1.3 KB
  • sub-skills/application-recipes/references/troubleshooting.md1.4 KB
  • sub-skills/application-recipes/scripts/application_env_matrix.py1.1 KB
  • sub-skills/application-recipes/SKILL.md3.0 KB
  • sub-skills/booster-training/references/booster-api.md2.2 KB
  • sub-skills/booster-training/references/gemini-zero-and-checkpointing.md2.3 KB
  • sub-skills/booster-training/references/plugin-guide.md2.3 KB
  • sub-skills/booster-training/references/troubleshooting.md2.4 KB
  • sub-skills/booster-training/scripts/booster_loop_template.py1.2 KB
  • sub-skills/booster-training/scripts/plugin_decision_helper.py2.1 KB
  • sub-skills/booster-training/SKILL.md2.9 KB
  • sub-skills/inference-and-serving/references/diffusion-serving-benchmarks.md1.1 KB
  • sub-skills/inference-and-serving/references/inference-api.md1.7 KB
  • sub-skills/inference-and-serving/references/llm-and-speculative-decoding.md1.4 KB
  • sub-skills/inference-and-serving/references/troubleshooting.md1.9 KB
  • sub-skills/inference-and-serving/scripts/inference_command_builder.py1.8 KB
  • sub-skills/inference-and-serving/SKILL.md2.8 KB
  • sub-skills/installation-and-launch/references/cli-and-launch.md2.0 KB
  • sub-skills/installation-and-launch/references/installation-and-backends.md2.1 KB
  • sub-skills/installation-and-launch/references/troubleshooting.md1.8 KB
  • sub-skills/installation-and-launch/scripts/colossalai_launch_builder.py2.6 KB
  • sub-skills/installation-and-launch/SKILL.md2.8 KB
  • sub-skills/parallelism-and-sharding/references/auto-parallel-and-offload.md1.2 KB
  • sub-skills/parallelism-and-sharding/references/parallelism-guide.md1.7 KB
  • sub-skills/parallelism-and-sharding/references/shardformer.md1.9 KB
  • sub-skills/parallelism-and-sharding/references/troubleshooting.md1.7 KB
  • sub-skills/parallelism-and-sharding/scripts/parallelism_config_advisor.py1.1 KB
  • sub-skills/parallelism-and-sharding/scripts/shardformer_model_matrix.py888 B
  • sub-skills/parallelism-and-sharding/SKILL.md3.0 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

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:
    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

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.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3402026년 9월 3일 업데이트

3ddfa

무료

Guide 3DDFA Python inference, geometry rendering, training/evaluation, and optional C++ ONNX workflows for 3D dense face alignment.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3402026년 9월 3일 업데이트

3ddfa-v2

무료

Routes 3DDFA_V2 face-alignment setup, still-image demos, video tracking, and ONNX benchmarking workflows.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3402026년 9월 3일 업데이트

ab3dmot

무료

Operate AB3DMOT 3D multi-object tracking workflows for KITTI and nuScenes data, tracking, evaluation, and visualization.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3402026년 9월 3일 업데이트

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.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3402026년 9월 3일 업데이트

acme

무료

Route Acme reinforcement-learning framework tasks across core loops, replay/data, JAX agents, and TensorFlow/Sonnet agents.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3402026년 9월 3일 업데이트

VectorSpaceLab의 스킬 모두 보기

이 스킬의 문제 신고