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

accelerate

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.

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

연동 도구Hugging Face
설치 방법 보기

포함된 파일(34)

  • SKILL.md3.8 KB
  • references/repo-provenance.md2.7 KB
  • references/repo-routing-metadata.json439 B
  • references/troubleshooting.md3.4 KB
  • scripts/check_accelerate_environment.py4.1 KB
  • sub-skills/big-model-inference/references/api-reference.md7.6 KB
  • sub-skills/big-model-inference/references/troubleshooting.md4.5 KB
  • sub-skills/big-model-inference/references/workflows.md5.9 KB
  • sub-skills/big-model-inference/scripts/big_model_api_smoke.py2.6 KB
  • sub-skills/big-model-inference/SKILL.md2.1 KB
  • sub-skills/checkpointing-and-tracking/references/api-reference.md8.5 KB
  • sub-skills/checkpointing-and-tracking/references/checkpointing.md7.2 KB
  • sub-skills/checkpointing-and-tracking/references/tracking-and-logging.md7.6 KB
  • sub-skills/checkpointing-and-tracking/references/troubleshooting.md8.4 KB
  • sub-skills/checkpointing-and-tracking/scripts/checkpoint_tracker_smoke.py8.5 KB
  • sub-skills/checkpointing-and-tracking/SKILL.md2.6 KB
  • sub-skills/configuration-and-cli/references/cli-reference.md5.2 KB
  • sub-skills/configuration-and-cli/references/configuration.md4.8 KB
  • sub-skills/configuration-and-cli/references/launching.md5.0 KB
  • sub-skills/configuration-and-cli/references/troubleshooting.md4.9 KB
  • sub-skills/configuration-and-cli/scripts/print_accelerate_help_summary.py3.8 KB
  • sub-skills/configuration-and-cli/scripts/validate_accelerate_config.py10.4 KB
  • sub-skills/configuration-and-cli/SKILL.md2.4 KB
  • sub-skills/distributed-training-backends/references/api-reference.md6.6 KB
  • sub-skills/distributed-training-backends/references/deepspeed-fsdp.md8.4 KB
  • sub-skills/distributed-training-backends/references/parallelism-and-precision.md9.1 KB
  • sub-skills/distributed-training-backends/references/troubleshooting.md6.6 KB
  • sub-skills/distributed-training-backends/scripts/validate_backend_config.py21.2 KB
  • sub-skills/distributed-training-backends/SKILL.md4.4 KB
  • sub-skills/training-loop-integration/references/api-reference.md11.6 KB
  • sub-skills/training-loop-integration/references/troubleshooting.md8.4 KB
  • sub-skills/training-loop-integration/references/workflows.md10.7 KB
  • sub-skills/training-loop-integration/scripts/accelerator_loop_smoke.py3.7 KB
  • sub-skills/training-loop-integration/SKILL.md3.0 KB

SKILL.md(원문)

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

Accelerate

Use this repo skill when a task involves Hugging Face Accelerate: adapting PyTorch code with Accelerator, building accelerate launch commands, validating config files, choosing distributed backends, loading large models with device maps/offload, or saving/logging training state.

Install And Import Check

For normal package use:

pip install accelerate
python - <<'PY'
import accelerate
from accelerate import Accelerator
print(accelerate.__version__)
print(Accelerator)
PY

Install optional backends only for workflows that need them, such as DeepSpeed, torch-xla, transformer-engine, torchao, bitsandbytes, experiment trackers, or model libraries. Do not install broad development or testing extras unless the user explicitly asks for repository development coverage.

Route By Task

  • Use sub-skills/training-loop-integration/ to migrate raw PyTorch training/evaluation loops to Accelerator, prepare(), backward(), mixed precision, dataloader handling, gradient accumulation, DDP kwargs, and distributed-loop debugging.
  • Use sub-skills/configuration-and-cli/ to create or validate Accelerate config YAML, construct accelerate launch commands, inspect accelerate env, estimate memory, merge weights, and plan multi-node or SLURM launches without executing them.
  • Use sub-skills/distributed-training-backends/ to choose and configure DeepSpeed, FSDP/FSDP2, Megatron-LM, TPU/XLA, FP8, quantization, compilation, tensor/context parallelism, Local SGD, or DDP communication hooks.
  • Use sub-skills/big-model-inference/ for init_empty_weights, infer_auto_device_map, load_checkpoint_and_dispatch, CPU/disk offload, model hooks, PiPPy/distributed inference, and memory-sizing workflows.
  • Use sub-skills/checkpointing-and-tracking/ for save_state, load_state, checkpoint hooks, ProjectConfiguration, model export, experiment trackers, distributed-safe logging, profiling, and memory cleanup.

Shared References And Scripts

  • Read references/troubleshooting.md first for cross-cutting install/import, CLI, optional dependency, hardware, and distributed hang triage.
  • Read references/repo-provenance.md before deciding whether this skill matches a current Accelerate checkout or should be refreshed.
  • Run scripts/check_accelerate_environment.py --help or the script itself for a safe import/CLI/backend availability diagnostic.

Common Decision Points

  • Prefer Accelerator and accelerator.prepare(...) for ordinary training loops; do not start with backend-specific plugins until the baseline loop is clear.
  • Prefer accelerate config or a reviewed config YAML when launch commands become long, multi-node, or backend-specific.
  • Treat DeepSpeed, FSDP, TPU/XLA, FP8, and quantization as optional backend surfaces with package, hardware, and version constraints.
  • Use big-model dispatch/offload APIs for model loading and inference memory pressure; do not use them as a replacement for normal training-loop preparation.
  • Use checkpointing/tracking helpers from the nearest sub-skill before adding custom save/load or logging code in distributed jobs.

Safety Defaults

  • Run helper scripts with --help first when adapting them.
  • Avoid commands that download models/datasets, launch multi-process distributed jobs, require GPUs/TPUs/SLURM, or contact external tracker services unless the user explicitly asks and the environment is ready.
  • For verification in limited environments, prefer parser checks, config validation, tiny CPU smoke tests, and static backend diagnostics over full distributed execution.

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

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

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

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

3ddfa

무료

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

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

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

3ddfa-v2

무료

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

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

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

ab3dmot

무료

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

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

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

acme

무료

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

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

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

Routes ACT++, ACT, Diffusion Policy, VINN, and MuJoCo simulation workflows for bimanual ALOHA episode data and imitation-learning tasks.

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

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

VectorSpaceLab의 스킬 모두 보기

이 스킬의 문제 신고