executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
big-model-inferenceUse Accelerate big-model inference utilities for meta initialization, device-map planning, checkpoint dispatch, CPU/disk offload, hooks, pipeline inference, and memory sizing without triggering downloads or heavyweight runs.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when an agent needs to load, inspect, partition, or troubleshoot models that may not fit in a single device's memory. It covers Accelerate's init_empty_weights, infer_auto_device_map, load_checkpoint_and_dispatch, dispatch_model, CPU/disk offload helpers, hook behavior, prepare_pippy, and model-size estimation concepts.
accelerate launch, accelerate config, or accelerate estimate-memory CLI syntax, route to ../configuration-and-cli/.../distributed-training-backends/.Accelerator.prepare training loops, route to the training-oriented sub-skill instead of using big-model dispatch primitives.references/workflows.md for safe workflows: meta-device construction, device-map planning, checkpoint dispatch, CPU/disk offload, distributed inference, and pipeline parallelism.references/api-reference.md for public APIs, key parameters, and import locations.references/troubleshooting.md when device maps, offload folders, checkpoint indexes, meta tensors, split points, or optional model libraries fail.scripts/big_model_api_smoke.py --help or run the script directly to verify tiny CPU/meta-device API availability without downloads.torch.nn.Module models for inspection and examples.from_pretrained, snapshot_download, or heavyweight model examples unless the user explicitly wants network/model downloads..to("cpu"), .cuda(), or a forward pass on a model still initialized on meta; load or set real tensors first.