AGENT SKILL

axolotl

Routes agents working with Axolotl config-driven LLM fine-tuning, datasets, SFT, preference tuning, GRPO/EBFT, model adapters, distributed training, CLI operations, and troubleshooting.

License 许可
Apache-2.0
最近更新
2026-09-03
Stars
★ 351
Forks
27

01 前言 Front Matter

name
axolotl
license
Apache 2.0
metadata
{ "disco-role": "operating" }
description
Routes agents working with Axolotl config-driven LLM fine-tuning, datasets, SFT, preference tuning, GRPO/EBFT, model adapters, distributed training, CLI operations, and troubleshooting.
disable-model-invocation
true

02 资源文件 4

03 SKILL.md 正文

Axolotl

Use this repo skill when the user asks about Axolotl, axolotl CLI commands, Axolotl YAML configs, LLM fine-tuning recipes, dataset/preprocess issues, LoRA/QLoRA, preference tuning, GRPO/EBFT, vLLM-assisted training, model architecture support, DeepSpeed/FSDP/Ray scaling, or Axolotl-specific troubleshooting.

Axolotl is config-driven: a single YAML config selects the base model, adapter/training method, datasets, preprocessing, launch/runtime settings, and output paths.

Start Here

  1. Identify the user’s primary task family before editing YAML.
  2. Read the nearest sub-skill route below, then only open deeper references as needed.
  3. Prefer safe static helpers first; run axolotl preprocess <config> --debug only in the user’s Axolotl environment when tokenizer/model access and runtime cost are acceptable.
  4. Treat bundled helper scripts as triage tools, not replacements for Axolotl’s installed config-schema, preprocess, or training runtime.
  5. Read references/repo-provenance.md before judging whether this skill matches a current Axolotl checkout.

Route By Task

User task Read
Write or debug YAML config structure, dataset columns, chat_template, prompt strategies, preprocessing, sample packing, or schema issues data-and-configs
Build SFT, LoRA/QLoRA, full fine-tune, or continual pretraining recipes; diagnose SFT/pretraining loss, OOM, checkpoint, or resume issues sft-and-pretraining
Configure DPO, IPO, KTO, ORPO, SimPO, reward model, process reward model, paired/unpaired preference data, or preference loss settings preference-tuning
Configure GRPO, EBFT, custom reward functions, vLLM rollout servers, async online RL, NeMo Gym, or Hatchery reward hooks rl-and-rewards
Choose base models, tokenizers/processors, chat templates, LoRA targets, QLoRA, quantization/QAT/PTQ, multimodal settings, architecture quirks, or new model support model-loading-and-adapters
Configure DeepSpeed, FSDP, Ray, SLURM/multi-node, tensor/context/sequence/expert parallelism, precision, kernels, profiling, or performance troubleshooting distributed-and-performance
Use axolotl commands, launchers, agent-docs, config-schema, fetch, inference, evaluate, merge-lora, vllm-serve, quantize, install checks, or command construction cli-and-operations

Common Entry Points

  • axolotl preprocess config.yaml --debug checks rendered/tokenized samples and label masking before expensive training.
  • axolotl train config.yaml launches training; use --launcher torchrun, --launcher accelerate, or --launcher python deliberately.
  • axolotl inference config.yaml, axolotl merge-lora config.yaml, axolotl evaluate config.yaml, axolotl vllm-serve config.yaml, and axolotl quantize config.yaml are operational routes covered by cli-and-operations.
  • axolotl agent-docs --list, axolotl agent-docs <topic>, and axolotl config-schema --field <field> are preferred installed-package truth checks when available.

Cross-Cutting Helpers

Routing Notes

  • Reward-model and process-reward-model training belong to preference-tuning; callable reward functions for GRPO/EBFT belong to rl-and-rewards.
  • Config validation usually starts in data-and-configs, then narrows to method/model/distributed/CLI-specific static helpers, then escalates to axolotl config-schema or axolotl preprocess in the user’s runtime.
  • Model downloads, gated repositories, GPU kernels, vLLM services, distributed launchers, and long training runs require user environment readiness and should not be inferred from static helper success.

Refresh Guidance

Run refresh-repo-skill when the Axolotl commit, package version, CLI entry points, config schema, docs, examples, or training APIs have changed relative to references/repo-provenance.md.

04 同仓库更多 Skills

VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-triton-opt

Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-solve

END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-skill

PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-pattern-fusion

Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-orchestrate

Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-feedback

Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).

★ 351