AXLearn
AXLearn is a JAX-based deep learning library with a config system, trainer runtime,
vision/audio experiment catalogs, and a GCP launcher/ops CLI.
Use this skill when the user asks about:
axlearn.common configs, modules, trainers, inputs, learners, checkpointers, or launchers.
axlearn CLI commands such as gcp config, gcp bundle, gcp launch, gcp vm, gcp bastion, gcp dataflow, gcp logs, or gcp auth.
- Vision workflows such as ImageNet, ResNet, CLIP, or other image-classification configs.
- Audio/ASR workflows such as Conformer, LibriSpeech, feature extraction, or WER evaluation.
- GPT / language-model trainer catalogs, tokenizers, MoE configs, or flash-attention paths.
Start here
- Read
references/repo-provenance.md if you need to check whether this skill is current for the checkout.
- Read
references/troubleshooting.md when installation, import, or optional dependency checks fail.
- Use
scripts/check_install.py for a safe import/version smoke check.
- Route to the matching sub-skill:
sub-skills/training-core/ for trainer configs, fake-data smoke checks, and tokenizer setup.
sub-skills/language-models/ for GPT, MoE, flash-attention, and tokenizer catalog workflows.
sub-skills/cli-cloud/ for GCP config, bundle, launch, VM, bastion, Dataflow, logs, and auth.
sub-skills/vision-workflows/ for ResNet/ImageNet and other vision model recipes.
sub-skills/audio-asr/ for Conformer, LibriSpeech, and ASR workflows.
Installation and smoke check
For local inspection, install the editable package with the extras that match the workflow.
Start with the base package, then add only the extras you need:
python -m pip install -e .
python -m pip install -e .[core,dev]
Common add-ons:
audio for ASR workflows.
gcp for cloud CLI workflows.
orbax when checkpoint utilities are needed.
dev only if you plan to run repo tests.
Minimal smoke checks:
python -I -c "import axlearn; print(axlearn.__file__)"
axlearn --help
If you are using the cloud CLI routes, also check:
axlearn gcp --help
Routing guidance
- Use
training-core for local config construction, SpmdTrainer, launch_trainer_main, fake inputs, and short tutorial-style probes.
- Use
language-models when the task names Fuji, Gala, Honeycrisp, Qwen, C4, Pajama, MoE, or flash attention.
- Use
cli-cloud when the task names GCP activation, bundling, launching, bastion, Dataflow, logs, or auth.
- Use
vision-workflows when the task names ImageNet, ResNet, image classification, or CLIP-like vision recipes.
- Use
audio-asr when the task names LibriSpeech, Conformer, speech features, ASR, or WER.
If the task spans trainer config mechanics plus a domain family, start in training-core and then jump to the domain sub-skill.
1---2name: axlearn3description: "Routes AXLearn training, language-model, vision, audio/ASR, and4 GCP CLI workflows."5disable-model-invocation: true6metadata:7 source: https://skillmd.com/skills/vectorspacelab/axlearn8 disco-role: operating9license: Apache 2.010---1112# AXLearn1314AXLearn is a JAX-based deep learning library with a config system, trainer runtime,15vision/audio experiment catalogs, and a GCP launcher/ops CLI.1617Use this skill when the user asks about:1819- `axlearn.common` configs, modules, trainers, inputs, learners, checkpointers, or launchers.20- `axlearn` CLI commands such as `gcp config`, `gcp bundle`, `gcp launch`, `gcp vm`, `gcp bastion`, `gcp dataflow`, `gcp logs`, or `gcp auth`.21- Vision workflows such as ImageNet, ResNet, CLIP, or other image-classification configs.22- Audio/ASR workflows such as Conformer, LibriSpeech, feature extraction, or WER evaluation.23- GPT / language-model trainer catalogs, tokenizers, MoE configs, or flash-attention paths.2425## Start here26271. Read `references/repo-provenance.md` if you need to check whether this skill is current for the checkout.282. Read `references/troubleshooting.md` when installation, import, or optional dependency checks fail.293. Use `scripts/check_install.py` for a safe import/version smoke check.304. Route to the matching sub-skill:31 - `sub-skills/training-core/` for trainer configs, fake-data smoke checks, and tokenizer setup.32 - `sub-skills/language-models/` for GPT, MoE, flash-attention, and tokenizer catalog workflows.33 - `sub-skills/cli-cloud/` for GCP config, bundle, launch, VM, bastion, Dataflow, logs, and auth.34 - `sub-skills/vision-workflows/` for ResNet/ImageNet and other vision model recipes.35 - `sub-skills/audio-asr/` for Conformer, LibriSpeech, and ASR workflows.3637## Installation and smoke check3839For local inspection, install the editable package with the extras that match the workflow.40Start with the base package, then add only the extras you need:4142```bash43python -m pip install -e .44python -m pip install -e .[core,dev]45```4647Common add-ons:4849- `audio` for ASR workflows.50- `gcp` for cloud CLI workflows.51- `orbax` when checkpoint utilities are needed.52- `dev` only if you plan to run repo tests.5354Minimal smoke checks:5556```bash57python -I -c "import axlearn; print(axlearn.__file__)"58axlearn --help59```6061If you are using the cloud CLI routes, also check:6263```bash64axlearn gcp --help65```6667## Routing guidance6869- Use `training-core` for local config construction, `SpmdTrainer`, `launch_trainer_main`, fake inputs, and short tutorial-style probes.70- Use `language-models` when the task names Fuji, Gala, Honeycrisp, Qwen, C4, Pajama, MoE, or flash attention.71- Use `cli-cloud` when the task names GCP activation, bundling, launching, bastion, Dataflow, logs, or auth.72- Use `vision-workflows` when the task names ImageNet, ResNet, image classification, or CLIP-like vision recipes.73- Use `audio-asr` when the task names LibriSpeech, Conformer, speech features, ASR, or WER.7475If the task spans trainer config mechanics plus a domain family, start in `training-core` and then jump to the domain sub-skill.