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
mergekitUse mergekit to configure, validate, and operate language-model merges, checkpoint surgery, tokenizer changes, MoE construction, LoRA extraction, and optional evolutionary searches.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this repo skill when a task names mergekit, mergekit-yaml, model merging,
TIES/DARE/DELLA/SLERP/task arithmetic, layer or tokenizer surgery, dense-to-MoE
conversion, LoRA extraction, or mergekit's optional evolutionary search.
mergekit 0.1.4 is a PyTorch/Transformers toolkit that writes a new checkpoint;
it does not train a model or replace downstream validation.
Install the public package in an isolated Python 3.10+ environment. The base
package includes PyTorch, Transformers, safetensors, Accelerate, Pydantic,
Hugging Face Hub, PEFT, datasets, and related runtime dependencies. Add only
[test] for focused tests; [evolve] adds Ray/CMA/lm-eval/W&B and [vllm]
adds a pinned vLLM/evaluation path. Do not install every extra by default.
python -m pip install mergekit
python -c "import mergekit, torch, transformers; print(mergekit.__name__, torch.__version__, transformers.__version__)"
For a local checkout, an editable install is useful for development but the runtime guidance in this skill uses installed console entry points. Before a run, use the read-only diagnostics in sub-skills/model-io-and-architecture/scripts/mergekit_model_diagnostic.py and references/troubleshooting.md.
mergekit-yaml.mergekit-pytorch, mergekit-moe, mergekit-multi, LoRA extraction,
mergekit-tokensurgeon, layer shuffle, and compatibility routes.mergekit-evolve.models, slices, and modules mutually exclusive at each level.--trust-remote-code and --allow-crimes as explicit risk decisions.
Prefer safe safetensors, a new output directory, and a recorded command.Read references/repo-provenance.md before refreshing this skill. It records the inspected mergekit commit, package version, and evidence baseline; source or entry-point drift is a refresh signal. The detailed method, CLI, tokenizer, architecture, and failure references are owned by the nearest sub-skill and are intentionally not duplicated here.