mergekit — Skill

Community

Merge LoRA and fine-tunes into one model

Authorthistleknot
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It solves the problem of combining multiple pretrained LLM checkpoints, fine-tunes, or LoRA adapters into a single merged .safetensors artifact without doing full retraining.

Core Features & Use Cases

  • Out-of-core tensor streaming merges: run merges without loading entire models into RAM by streaming tensors layer-by-layer.
  • Task-vector and delta-aware merge methods: apply methods such as linear blending, slerp/nuslerp interpolation, task arithmetic, TIES/DARE/DELLA, and breadcrumbs-based pruning for interference reduction.
  • Frankenmerging via layer slices: assemble a model by selecting and optionally blending contiguous layer ranges from different sources.
  • Tokenizer and LoRA handling: configure tokenizer sources and extract LoRA adapters approximating finetune deltas.

Quick Start

Use mergekit to merge two LoRA- or fine-tuned checkpoints into a single .safetensors model by telling the AI to run the mergekit-yaml CLI on a provided YAML config that specifies the merge method, base model (when required), input model paths, and output directory.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: mergekit — Skill
Download link: https://github.com/thistleknot/skills/archive/main.zip#mergekit-skill

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.