# Layer graft

A layer graft moves one layer from a donor model into a recipient, as a drop-in at the same width or stitched with fitted maps between widths, and is judged against the missing-layer gap and a random donor. It is also a canonical Commons recipe method.

Canonical: https://parameterspaceinspector.com/glossary/layer-graft/  
Updated: 2026-10-16  
Part of the Parameter Space Inspector (free, open-source desktop app) · section: https://parameterspaceinspector.com/glossary/ · Site guide for AI: https://parameterspaceinspector.com/llms.txt

A **layer graft** takes one layer out of a donor model and connects it inside a recipient. If both models have the same width the layer drops in; if they differ, the [Graft lab](/instruments/graft-lab/) fits small linear maps that translate the layer's input and output between the two representations. The graft is a result only when it beats two controls: the recipient with the layer left missing (the gap), and a graft from a random donor layer.

The lab saves measurements and receipts, not weights. To share a graft that holds up, build it as a [Commons](/instruments/commons/) recipe with the layer-graft method, which pins both parents by hash and rebuilds to the same bytes anywhere.

---

From [The Emergence Machine](https://emergencemachine.com/). Newsletter: [subscribe on Substack](https://theemergencemachine.substack.com/subscribe). Use-case feed: https://parameterspaceinspector.com/feed.xml. Follow: [Substack](https://theemergencemachine.substack.com) · [YouTube](https://www.youtube.com/@emergencemachine) · [X](https://x.com/emergences4me) · [Bluesky](https://bsky.app/profile/emergencemachine.bsky.social) · [Reddit](https://www.reddit.com/r/emergencemachine/) · [Instagram](https://www.instagram.com/emergencemachine/) · [TikTok](https://www.tiktok.com/@emergencemachine) · [Kaggle](https://www.kaggle.com/emergencemachine/datasets).
