Home Projects LayerSkip
LayerSkip
Python

LayerSkip

Code for "LayerSkip: Enabling Early Exit Inference and Self-Speculative Decoding", ACL 2024

by facebookresearch · GitHub
Stars
Forks
Created
Last commit
Category
Language
early-exitlayer-dropllmPython
View on GitHub
In plain words

Implement early exit inference and self-speculative decoding techniques in language models to improve performance.

You maintain this project?

Claim its page: indexed whatever its rank, translated into six languages, and enriched with what you write yourself.

Claim this page →
LayerSkip — GitHub preview card
📈 Star history
372371
2026-07-202026-08-31
📈 Track LayerSkip

Get an email alert on its next release or when it starts trending — never miss the moment.

Free · no card · unsubscribe anytime
Get email alerts →
📄 About

Code for "LayerSkip: Enabling Early Exit Inference and Self-Speculative Decoding", ACL 2024

LayerSkip has 371 stars on GitHub. It has been forked 45 times. LayerSkip is written mainly in Python. It has been in active development since 2024. Its main topics are early-exit, layer-drop, llm, optimization.

Frequently asked questions

What is LayerSkip?

Code for "LayerSkip: Enabling Early Exit Inference and Self-Speculative Decoding", ACL 2024

Is LayerSkip open source?

LayerSkip is an open-source project.

Is LayerSkip free?

Yes. LayerSkip is free and open source — you can use, modify and self-host it.

What language is LayerSkip written in?

LayerSkip is written mainly in Python.

🏅 Maintainer of this project?
olud.ai badge — LayerSkip

Add this live badge to your README — your GitHub stars and directory rank, refreshed daily.

[![olud.ai](https://olud.ai/badge.php?tool=facebookresearch-layerskip)](https://olud.ai/project/facebookresearch-layerskip.html)
More badge options →
🧬 Shares DNA with🧬 View the DNA map →

Measured from GitHub topics shared by both projects, weighted by how rare each topic is.