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
package-apis-configurationInspect and use LLM Foundry package APIs, registries, MPT/HF model classes, tokenizers, callbacks, optimizers, metrics, loggers, config transforms, optional backends, and MCLI adaptation patterns.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when the task is about LLM Foundry's installed Python package surface: package import health, registry entries, custom registry extensions, MPT/Hugging Face model constructors, tokenizers, callbacks, optimizers, schedulers, metrics, loggers, configuration transforms, optional dependency gates, or MosaicML platform YAML adaptation.
Start here:
llmfoundry registry, Python entry points, code_paths, import_file, and construct_from_registry patterns.Operating rules:
build_tokenizer and Hugging Face model wrappers can download remote assets; do not call them unless the task explicitly allows network/model access.attn_impl: torch and ComposerMPT loss to loss_fn: torch_crossentropy; defaults favor GPU/flash-attention paths.llmfoundry registry get <group> or direct registry.<group>.get_all().code_paths import file for one run and Python entry points for reusable packages. The imported code must register into the appropriate llmfoundry.registry object before builders run.name before passing kwargs to constructors, do not pass optimizer params through YAML, and only pass callback train_config through build_callback's train_config argument.