arcee-ai/mergekit

Tools for merging pretrained large language models.

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 35 minutes ago
Added to GitGenius on September 9th, 2026
Created on August 21st, 2023
Open Issues & Pull Requests: 273 (+0)
GitHub issues: Enabled
Number of forks: 787
Total Stargazers: 7,343 (+0)
Total Subscribers: 61 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 2.9 days
Mean response time: 24.7 days
90th percentile: 34.2 days
Tracked items: 117

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Only 3% of issues opened in the past year have been closed. Three people close 50% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 106
New in 7 days: 0
Closed in 7 days: 2
Avg open age: 543 days
Stale 30+ days: 106
Stale 90+ days: 100

Recent activity

Opened in 7 days: 0
Closed in 7 days: 2
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Detailed Description

mergekit is a toolkit for merging pretrained large language models.

The tool addresses the challenge of combining multiple specialized language models into a single model without the computational overhead of ensembling or the need for retraining. It uses an out-of-core approach that enables merges to run on CPU or with as little as 8 GB of VRAM, making it practical for resource-constrained environments. The toolkit supports multiple merging algorithms and can perform operations like piecewise assembly of models from individual layers, extraction of LoRA adapters from merged models, and merging of Mixture of Experts architectures.

Developers should consider mergekit when they need to combine capabilities from different models, transfer knowledge between models without access to training data, or explore trade-offs between different model behaviors while maintaining single-model inference costs. The tool supports a range of model architectures including Llama, Mistral, GPT-NeoX, and StableLM. It offers both simple merging workflows and complex multi-stage merging for elaborate combinations, as well as raw PyTorch model merging and tokenizer transplantation capabilities for advanced use cases.

The project maintains active community engagement through GitHub Issues and Discord discussions, and explicitly welcomes contributions including new merge methods and features. Development activity shows ongoing expansion of supported merge algorithms and refinement of the toolkit's capabilities.