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
observabilityConfigure Composer logging, callbacks, artifact uploading, profiling, environment reports, and monitoring for training runs.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when a Composer task is about making run state visible: metrics/loggers, callback-based monitoring, file and artifact uploads, profiler traces, TensorBoard, environment reports, or diagnosing why observability outputs are missing.
InMemoryLogger, ConsoleLogger, ProgressBarLogger, or FileLogger.Profiler, JSONTraceHandler, cyclic_schedule, and short trace windows.composer_collect_env output when debugging hardware, Python, PyTorch, or CUDA availability.../training/SKILL.md.../methods/SKILL.md.../distributed/SKILL.md.../inference-export/SKILL.md.Profiler, JSONTraceHandler, file upload routing, trace retention, and composer_collect_env.log_to_console=True and console_log_interval="100ba" when stdout/stderr logs are easier to archive than progress bars.InMemoryLogger() when a test, smoke script, or agent needs assertions over metrics and hyperparameters after the run.FileLogger(filename="{run_name}/logs-rank{rank}.txt") for durable per-rank local text logs.TensorboardLogger(log_dir=...) when users expect TensorBoard event files.RemoteUploaderDownloader(bucket_uri=...) when the task is about object-store upload/download rather than experiment tracking.trainer.logger.upload_file(...) call.autoresume=True, avoid unsupported concurrent upload settings and keep a stable run_name plus checkpoint latest filename.Use a short window before expanding trace collection:
from composer.profiler import Profiler, JSONTraceHandler, cyclic_schedule
profiler = Profiler(
schedule=cyclic_schedule(skip_first=0, wait=0, warmup=1, active=4, repeat=1),
trace_handlers=[JSONTraceHandler(folder="traces", overwrite=True)],
torch_prof_memory_filename=None,
)
Attach it as Trainer(..., profiler=profiler). Prefer one or two batches first, then increase active or enable stack/memory options when the tiny trace is usable.
max_duration="1ba" run and InMemoryLogger().FileLogger or TensorBoard.SKIP or WARMUP.composer_collect_env output when debugging PyTorch/CUDA/device issues, but do not put machine-specific paths into reusable project code.Run from this sub-skill directory:
python scripts/logger_smoke.py
python scripts/profiler_smoke.py
Both scripts use random CPU tensors and temporary directories; they do not contact external services.