cli-and-operations
Guides agents using Axolotl CLI commands, launcher flags, agent-docs, config-schema, install checks, merge LoRA, inference, vLLM serving, evaluation, fetch, and quantize operations.
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- cli-and-operations
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Guides agents using Axolotl CLI commands, launcher flags, agent-docs, config-schema, install checks, merge LoRA, inference, vLLM serving, evaluation, fetch, and quantize operations.
- disable-model-invocation
- true
02 资源文件 5
- 参考文档references/cli-reference.md5.2 KB
- 参考文档references/operations.md7.4 KB
- 参考文档references/troubleshooting.md7.2 KB
- 脚本scripts/axolotl_command_builder.py6.7 KB
- 脚本scripts/check_axolotl_install.py6.4 KB
03 SKILL.md 正文
CLI and Operations
Use this sub-skill when the task is about an axolotl command, CLI flags, command construction, agent-docs, config-schema, install checks, fetching examples, preprocessing runs, training launchers, inference, evaluation, LoRA merge, sharded FSDP merge, vLLM serving, cloud invocation, or post-training quantization.
Read First
- references/cli-reference.md for the command map, launcher argument placement, option syntax, and
agent-docs/config-schemausage. - references/operations.md for safe operational sequences from install checks through preprocess, train, evaluate, inference, merge, vLLM serve, fetch, and quantize.
- references/troubleshooting.md for symptom-driven fixes around missing entry points, broken imports, config paths, overrides, launcher args, chat/Gradio conflicts, adapter paths, vLLM, and cloud configs.
- scripts/axolotl_command_builder.py to build a safely quoted Axolotl command from a config path, command name, launcher, and JSON options without executing it.
- scripts/check_axolotl_install.py to check package metadata, top-level import,
axolotlonPATH, andaxolotl --helpwithout starting training or loading a model.
Fast Workflow
- Check the local install first when the task mentions
command not found, import errors, or a failing help/schema command. - Use
axolotl agent-docs --list,axolotl agent-docs <topic>, andaxolotl config-schema --field <name>for installed-package truth before guessing config keys. - Build commands with config path first, Axolotl overrides before the
--separator, and launcher-specific args after--. - Prefer
axolotl preprocess config.yml --debugbefore long training when dataset formatting,chat_template, labels, packing, or tokenization is uncertain. - Route field-level YAML, dataset, method, model, adapter, DeepSpeed, FSDP, or performance tuning questions to the matching sibling sub-skill after the command route is clear.
Boundaries
This sub-skill owns Axolotl CLI entry points, safe command construction, install/entry-point checks, operational sequencing, fetch, agent-docs, config-schema, cloud flags, inference/evaluation/merge/vLLM/quantize command routes, and common CLI failures. Route detailed config fields and dataset shapes to data-and-configs, method recipes to SFT/pretraining or RL/preference sub-skills, model/adapters to model-loading-and-adapters, and distributed/performance backend tuning to distributed-and-performance.
04 同仓库更多 Skills
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.
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.
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.
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.
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.
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).