---
title: "🤗 PEFT welcomes new merging methods"
description: "PEFT adds on-the-fly merging methods for LoRA adapters through add_weighted_adapter(): concatenation (cat), linear/task arithmetic, SVD, TIES, DARE variants and magnitude pruning."
url: "https://swe.quest/articles/peft-welcomes-new-merging-methods-bbd6e8127278d8ce"
canonical: "https://huggingface.co/blog/peft_merging"
source: "Hugging Face"
published: "2024-02-19"
difficulty: "hard"
kind: "How-to"
reading_minutes: 12
tags: ["model-training","llms","machine-learning","computer-vision"]
---

# 🤗 PEFT welcomes new merging methods

A post on [Hugging Face](https://swe.quest/sources/hugging-face.md), published 2024-02-19, 12 min read, How-to. Original: [https://huggingface.co/blog/peft\_merging](https://huggingface.co/blog/peft_merging)

## Summary

PEFT adds on-the-fly merging methods for LoRA adapters through add\_weighted\_adapter(): concatenation (cat), linear/task arithmetic, SVD, TIES, DARE variants and magnitude pruning. Each method's math is laid out along with its tradeoffs. cat gives exact weighted merging and supports differing ranks. linear requires equal ranks. svd lets you choose the output rank but needs a lot of GPU memory. TIES and DARE use pruning, rescaling and majority-sign masks to reduce interference. Worked examples merge LLM adapters, such as Hinglish plus mental-health to combine both capabilities, and SDXL style LoRAs in Diffusers by wrapping them as PeftModels.

Written by swe.quest, not by the author.

**Difficulty:** Hard: written for specialists in the field

## Topics

- [Model training](https://swe.quest/tags/model-training.md) (AI & ML)
- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)
- [Machine learning](https://swe.quest/tags/machine-learning.md) (AI & ML)
- [Computer vision](https://swe.quest/tags/computer-vision.md) (AI & ML)

## Prerequisites

- LoRA fine-tuning ([easy posts on Model training](https://swe.quest/tags/model-training.md?difficulty=easy))
- PyTorch
- Hugging Face Diffusers
- singular value decomposition

## Keywords

PEFT, LoRA, TIES-Merging, DARE, Diffusers, SDXL, task arithmetic, mergekit

## Related posts

- [Beyond LoRA: Can you beat the most popular fine-tuning technique?](https://swe.quest/articles/beyond-lora-can-you-beat-the-most-popular-fine-tuning-technique-ce7bf6b22fef0efd.md): Hugging Face · 2026-06-18 · Medium · 13 min read · Model training, LLMs, Evaluation
  LoRA accounts for roughly 95–98% of PEFT usage across Hugging Face Hub model cards and image-generation checkpoints, but controlled benchmarks in the PEFT library show it is often not the best tradeoff.
- [Parameter-Efficient Fine-Tuning using 🤗 PEFT](https://swe.quest/articles/parameter-efficient-fine-tuning-using-peft-5c28b9ec4e65b0a1.md): Hugging Face · 2023-02-10 · Medium · 5 min read · Model training, LLMs, Python
  Hugging Face's PEFT library brings parameter-efficient fine-tuning methods (LoRA, Prefix Tuning, Prompt Tuning, P-Tuning) to Transformers and Accelerate.
- [LoRA Explained: Faster, More Efficient Fine-Tuning with Docker](https://swe.quest/articles/lora-explained-faster-more-efficient-fine-tuning-with-docker-c2d6a36ff181eafe.md): Docker · 2025-10-09 · Medium · 8 min read · Model training, LLMs, Privacy
  Gemma 3 270M can be specialized into a compact PII-masking assistant using LoRA, which freezes the base weights and trains only small low-rank adapters, cutting compute and memory needs while avoiding catastrophic forgetting.
- [Together AI expands fine-tuning service with more models, live metrics, and finer controls](https://swe.quest/articles/together-ai-expands-fine-tuning-service-with-more-models-live-metrics-and-finer-30dc413ddac46c8c.md): Together AI · 2026-09-11 · Medium · 10 min read · Model training, LLMs, ML platforms
  Together Fine-Tuning adds support for new open-weight models (GLM-5.3, Kimi K2.7, Qwen 3.5/3.6/3.8, Gemma 4, DeepSeek-V4-Flash), live per-step metrics via API, CLI and dashboard, and new training controls.
- [Meta’s Generative Ads Model (GEM): Scaling the Central Model and Compute Engine for Frontier Ads AI](https://swe.quest/articles/meta-s-generative-ads-model-gem-scaling-the-central-model-and-compute-engine-588a45420da8f0cd.md): Meta Engineering · 2026-10-13 · Hard · 14 min read · Recommendations & ranking, Ads, Model training, Inference & serving, Scaling
  Meta's 2026 GEM replaces per-surface ads ranking models with a single central recommendation foundation model trained across Facebook, Instagram, Reels and deep-funnel conversion objectives, reporting 18.9% conversion and 12% CTR gains.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
