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
model-toolsOperate AutoTrain Advanced utility commands for LLM adapter merging and Kohya LoRA conversion.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill for autotrain tools commands and standalone model-artifact utilities.
autotrain tools merge-llm-adapter --help
autotrain tools convert_to_kohya --help
Tool workflows:
merge-llm-adapter loads a base causal LM, loads a PEFT adapter, merges it, then saves locally and/or pushes to Hub.convert_to_kohya converts a safetensors LoRA state dict through PEFT format into Kohya format.scripts/merge_llm_adapter.py — source-derived standalone wrapper for the merge function.scripts/convert_to_kohya.py — source-derived standalone wrapper for Kohya conversion.Use the package CLI when the installed autotrain command is available; use the bundled scripts when a future agent needs a clear self-contained copy of the core tool logic.
autotrain tools merge-llm-adapter \
--base-model-path base/model-or-path \
--adapter-path adapter/model-or-path \
--output-folder merged-model \
--token "$HF_TOKEN"
autotrain tools convert_to_kohya \
--input-path adapter_model.safetensors \
--output-path adapter_kohya.safetensors
--output-folder or --push-to-hub.references/workflows.md — exact inputs/outputs and script/CLI mapping.references/troubleshooting.md — load, memory, token, output, and conversion failures.