Weights Merging (mergekit)
Command-line toolkit for combining fine-tuned LLM weights into one model without any further training.
About
Arcee AI's mergekit combines the weights of two or more fine-tuned language models into one checkpoint with no gradient training. You describe a merge in a YAML file and run the mergekit-yaml command; the config names source models or layer slices, a method, per-tensor parameters, and how to reconcile tokenizers and chat templates. Methods range from plain weighted averaging and SLERP to task-vector approaches like TIES, DARE, DELLA, Model Breadcrumbs and Model Stock, plus passthrough for stacking layers into larger frankenmerges. Extra commands build mixture-of-experts models from dense ones, extract LoRA adapters from a fine-tune, chain multi-stage merges, merge raw PyTorch checkpoints and transplant tokenizers, and an in-memory Python API covers scripted use. Tensors load lazily, so merges run on an ordinary CPU, and GPU acceleration needs only a mid-range card (the authors cite 8 GB). Install by cloning the repo and running pip install. The toolkit is licensed LGPL-3.0, which allows commercial use, and contributors sign a CLA. A good fit for model tinkerers and small labs testing blends without paying for training runs.
Should you use Weights Merging (mergekit)?
Pick it when
Pick it when you want to blend fine-tuned variants of the same base model with SLERP, TIES, or DARE to combine their strengths without any training, on a CPU or a GPU with as little as 8 GB of VRAM.
Look elsewhere when
Most merge methods need models with the same architecture, and TIES or DARE also need a shared base; merging only recombines what the models already know. To teach a model your own data, fine-tune with LLaMA-Factory, Unsloth, or TRL.
Alternatives to Weights Merging (mergekit)
- PEFT
Can combine LoRA adapters with weighted, TIES, or DARE methods, enough when you only merge adapters rather than full checkpoints.
- LLaMA-Factory
Actually trains on your data with LoRA or full tuning, which merging cannot do, but needs a GPU and a dataset.
- TRL
Teaches preferences or skills directly through DPO or GRPO, at the cost of the GPU time that merging avoids.
Reviews (0)
Leave a Review
No reviews yet. Be the first to review!
Details
- Category
- Model Training & Fine-Tuning
- Price
- Free
- Platform
- Local/Desktop
- Difficulty
- Easy (2/5)
- License
- LGPL-3.0
- Added
- Apr 3, 2026