composer
Use MosaicML Composer for PyTorch training loops, speedup methods, loggers, checkpoints, distributed launch, profiling, and model export.
Skill by VectorSpaceLab
Chalk Labs
Need help deploying composer?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/vectorspacelab-composer
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: ml
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/composer
What's inside
- Skill name
composer- Description
- Use MosaicML Composer for PyTorch training loops, speedup methods, loggers, checkpoints, distributed launch, profiling, and model export.
- License
- Apache-2.0
- Metadata
- disco-role: operating
- Instructions
- 76 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (36)
- SKILL.md
- installation-and-package-map.md · references/
- repo-provenance.md · references/
- repo-routing-metadata.json · references/
- troubleshooting.md · references/
- check_import.py · scripts/
- run_smokes.py · scripts/
- SKILL.md · sub-skills/distributed/
- launcher-and-ranks.md · sub-skills/distributed/references/
- parallelism-and-backends.md · sub-skills/distributed/references/
- troubleshooting.md · sub-skills/distributed/references/
- device_probe.py · sub-skills/distributed/scripts/
- launcher_help.py · sub-skills/distributed/scripts/
- SKILL.md · sub-skills/inference-export/
- export-and-inference.md · sub-skills/inference-export/references/
- huggingface-integration.md · sub-skills/inference-export/references/
- troubleshooting.md · sub-skills/inference-export/references/
- export_torchscript_smoke.py · sub-skills/inference-export/scripts/
- SKILL.md · sub-skills/methods/
- algorithm-catalog.md · sub-skills/methods/references/
- functional-api.md · sub-skills/methods/references/
- troubleshooting.md · sub-skills/methods/references/
- functional_smoke.py · sub-skills/methods/scripts/
- SKILL.md · sub-skills/observability/
- loggers-and-callbacks.md · sub-skills/observability/references/
- profiling-and-artifacts.md · sub-skills/observability/references/
- troubleshooting.md · sub-skills/observability/references/
- logger_smoke.py · sub-skills/observability/scripts/
- profiler_smoke.py · sub-skills/observability/scripts/
- SKILL.md · sub-skills/training/
- checkpointing-and-time.md · sub-skills/training/references/
- model-and-data-contracts.md · sub-skills/training/references/
- trainer-workflows.md · sub-skills/training/references/
- troubleshooting.md · sub-skills/training/references/
- checkpoint_smoke.py · sub-skills/training/scripts/
- train_smoke.py · sub-skills/training/scripts/
SKILL.md (first lines)
# MosaicML Composer Repo Skill Use this repo skill when a task involves MosaicML Composer, the `mosaicml` Python distribution, or the importable `composer` package for PyTorch training engines, efficient training methods, callbacks/loggers, checkpoints, distributed launch, profiling, or model export. Public install: ```bash pip install mosaicml ``` Minimal import check: ```bash python - <<'PY' import composer print(composer.__version__) from composer import Trainer print(Trainer) PY ``` For optional integrations, read [installation and package map](references/installation-and-package-map.md) before adding extras. ## Route by task - **Build, run, resume, or debug a training workflow**: read [training](sub-skills/training/SKILL.md). This route owns `Trainer`, `ComposerModel`, `ComposerClassifier`, `DataSpec`, `Evaluator`, `Time`, `State`, manual checkpoint load, autoresume, and basic device/precision choices. - **Add or debug Composer speedup methods**: read [methods](sub-skills/methods/SKILL.md). This route owns `composer.algorithms`, `composer.functional`, MixUp/CutMix/LabelSmoothing, model surgery, batch-key routing, and method recipe placement. - **Make run state visible**: read [observability](sub-skills/observability/SKILL.md). This route owns loggers, monitoring callbacks, local/remote file upload, profiler traces, `composer_collect_env`, and observability troubleshooting. - **Launch or reason about distributed/backend workflows**: read [distributed](sub-skills/distributed/SKILL.md). This route owns the `composer` launcher, rank/world-size helpers, distributed samplers, `get_device`, FSDP/FSDP2/TP basics, and auto microbatching caveats. - **Export models for inference**: read [inference-export](sub-skills/inference-export/SKILL.md). This route owns `export_for_inference`, `ExportForInferenceCallback`, TorchScript/ONNX validation, checkpoint-backed export, and optional HuggingFace/PEFT caveats. ## Root references and scripts - [Installation and package map](references/installation-and-package-map.md): distribution/import names, optional extras, top-level namespaces, console entry points, and first checks. - [Troubleshooting](references/troubleshooting.md): cross-cutting install/import, backend, optional dependency, CLI, and package-surface failures. - [Repo provenance](references/repo-provenance.md): source commit, branch, package version, dirty-state baseline, and relative evidence paths. - [Routing metadata](references/repo-routing-metadata.json): structured scenario placement for managed repo-skill import. - [check_import.py](scripts/check_import.py): safe JSON import/backend probe for Composer and PyTorch. - [run_smokes.py](scripts/run_smokes.py): runs bundled sub-skill smoke scripts with the current Python. ## Fast operating workflow 1. Verify installation with `python scripts/check_import.py` from this skill root. 2. Pick the closest sub-skill route from the task wording and load only the references/scripts it names. 3. Start with CPU/tiny-data scripts when debugging model, data, or API issues. 4. Add optional extras only for the integration in use; do not install `mosaicml[all]` unless the task truly spans many optional backends. 5. For GPU/distributed issues, run the distributed `device_probe.py` before launching training. 6. For checkpoint/export issues, decide whether the task is about training-state resume or inference artifact export; route accordingly. 7. Keep generated project code independent of this skill's source provenance and do not copy private machine paths into user scripts. ## Composer concepts to recognize - `Trainer` is the high-level training loop that manages fit/eval/predict, checkpoint save/load, callbacks, algorithms, logging, precision, devices, and distributed integration. - `ComposerModel` is the model contract for batches; `ComposerClassifier` wraps simple `(input, target)` classification modules. - `Algorithm` classes integrate methods through Trainer events; `composer.functional` helpers are for custom loops or one-off model/batch mutation. - `LoggerDestination` subclasses receive metrics and uploaded files; callbacks and trace handlers generate many of those files. - The `composer` console entry point launches multi-process distributed jobs and configures rank environment variables. - `export_for_inference` and `ExportForInferenceCallback` produce TorchScript or ONNX artifacts after optional load/surgery/transform steps. ## Avoid using this skill when - The task is ordinary PyTorch with no Composer APIs, errors, configs, or artifacts. - The user is actually using PyTorch Lightning, Accelerate, DeepSpeed, or another training framework without Composer. - The task is model-family-specific and only incidentally mentions a project that once used Composer. - The user asks to edit the Composer repository itself rather than operate the package; this skill is for package/runtime use, not maintainer development. ## Verification posture The generated skill favors CPU-safe, no-download workflows first and documents CUDA/distributed behavior with backend caveats. Optional CUDA was available during construction and a PyTorch CUDA smoke passed, but production-scale multi-rank training should still be verified in the user's target environment before relying on it.
From VectorSpaceLab/AREX-Skill, Apache-2.0.
More from VectorSpaceLab/AREX-Skill
- 0.563score
data-designer-repo-skill
VectorSpaceLab
Use when you need to design DataDesigner configs, run preview/create/validate workflows, inspect the CLI or agent context, work with plugins or MCP tools, or…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
everos
VectorSpaceLab
Use this skill for EverOS local-first Markdown memory service setup, HTTP memory and knowledge APIs, cascade/OME operations, and observability integration.
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
bentoml
VectorSpaceLab
Use BentoML to author model-serving Services, build and containerize Bentos, run HTTP/gRPC servers and clients, manage models, operate the CLI and BentoCloud…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
dash
VectorSpaceLab
Use when building, debugging, testing, or maintaining Plotly Dash applications, callbacks, server backends, component packages, renderer internals, and Dash…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
diffusers
VectorSpaceLab
Use this skill for Hugging Face Diffusers tasks: pipeline inference, schedulers, adapters/loaders, training recipes, modular pipelines, conversion helpers…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
espnet
VectorSpaceLab
Use when working with ESPnet speech AI toolkit: installation, ESPnet2 recipes and training, pretrained inference/model zoo, ESPnet3 stage workflows, and…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
alphafold3
VectorSpaceLab
Use this skill for AlphaFold 3 input preparation, prediction command planning, output interpretation, and Python API inspection.
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
autogen
VectorSpaceLab
Use this skill for maintaining, migrating, debugging, and safely operating Microsoft AutoGen Python 0.7.x applications, including AgentChat, Core runtimes…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
browser-use
VectorSpaceLab
Use this self-contained Browser Use repo skill for Python agents that automate websites, browser sessions, custom tools, LLM/provider setup, persistent CLI…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
dagster
VectorSpaceLab
Use when working with Dagster OSS: assets, jobs, Definitions, config/resources, schedules/sensors, automation, CLI/local development, deployment operations…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
datasets
VectorSpaceLab
Use this skill when working with Hugging Face Datasets: loading local or Hub datasets, defining Features schemas, processing/streaming datasets, converting…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
geopandas
VectorSpaceLab
Use when working with GeoPandas GeoDataFrame and GeoSeries workflows, vector geospatial I/O, CRS-aware spatial operations, mapping, geocoding, and…
SkillBFreshness: B★ 341Claude Code +9
Signals
- Stars
- 341
- Forks
- 26
- Open issues
- 0
- Last commit (this folder)
- Aug 26, 2026 (2 months ago)
- Last release
- Sep 2, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/VectorSpaceLab/AREX-Skill
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from VectorSpaceLab
- 0.563score
bentoml
VectorSpaceLab
Use BentoML to author model-serving Services, build and containerize Bentos, run HTTP/gRPC servers and clients, manage models, operate the CLI and BentoCloud…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
dagster
VectorSpaceLab
Use when working with Dagster OSS: assets, jobs, Definitions, config/resources, schedules/sensors, automation, CLI/local development, deployment operations…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
alphafold3
VectorSpaceLab
Use this skill for AlphaFold 3 input preparation, prediction command planning, output interpretation, and Python API inspection.
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
autogen
VectorSpaceLab
Use this skill for maintaining, migrating, debugging, and safely operating Microsoft AutoGen Python 0.7.x applications, including AgentChat, Core runtimes…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
browser-use
VectorSpaceLab
Use this self-contained Browser Use repo skill for Python agents that automate websites, browser sessions, custom tools, LLM/provider setup, persistent CLI…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
dash
VectorSpaceLab
Use when building, debugging, testing, or maintaining Plotly Dash applications, callbacks, server backends, component packages, renderer internals, and Dash…
SkillBFreshness: B★ 341Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get composer running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
composer skill. Agent Mart. https://agentmart.dev/skills/vectorspacelab-composer (last updated 2026-10-24)