facebookresearch / LayerSkipLinks
Code for "LayerSkip: Enabling Early Exit Inference and Self-Speculative Decoding", ACL 2024
☆356Updated 2 weeks ago
Alternatives and similar repositories for LayerSkip
Users that are interested in LayerSkip are comparing it to the libraries listed below
Sorting:
- A family of compressed models obtained via pruning and knowledge distillation☆364Updated 3 months ago
- Memory layers use a trainable key-value lookup mechanism to add extra parameters to a model without increasing FLOPs. Conceptually, spars…☆371Updated last year
- Efficient LLM Inference over Long Sequences☆394Updated 7 months ago
- ☆115Updated 5 months ago
- ☆203Updated last year
- Unofficial implementation for the paper "Mixture-of-Depths: Dynamically allocating compute in transformer-based language models"☆177Updated last year
- [NeurIPS 2025] Simple extension on vLLM to help you speed up reasoning model without training.☆220Updated 8 months ago
- Code for studying the super weight in LLM☆121Updated last year
- ArcticTraining is a framework designed to simplify and accelerate the post-training process for large language models (LLMs)☆273Updated this week
- For releasing code related to compression methods for transformers, accompanying our publications☆455Updated last year
- LongRoPE is a novel method that can extends the context window of pre-trained LLMs to an impressive 2048k tokens.☆277Updated 3 months ago
- The official implementation of the paper "What Matters in Transformers? Not All Attention is Needed".☆188Updated 2 months ago
- An extension of the nanoGPT repository for training small MOE models.☆236Updated 10 months ago
- Explorations into some recent techniques surrounding speculative decoding☆299Updated last year
- Q-GaLore: Quantized GaLore with INT4 Projection and Layer-Adaptive Low-Rank Gradients.☆201Updated last year
- Block Transformer: Global-to-Local Language Modeling for Fast Inference (NeurIPS 2024)☆163Updated 9 months ago
- ☆232Updated 2 months ago
- [ICLR 2025] DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Heads☆524Updated 11 months ago
- ☆208Updated last year
- Load compute kernels from the Hub☆397Updated this week
- A framework to study AI models in Reasoning, Alignment, and use of Memory (RAM).☆344Updated last month
- Accelerating your LLM training to full speed! Made with ❤️ by ServiceNow Research☆287Updated this week
- Automated Identification of Redundant Layer Blocks for Pruning in Large Language Models☆261Updated last year
- LLM KV cache compression made easy☆876Updated last week
- [ICML 2024] CLLMs: Consistency Large Language Models☆410Updated last year
- [ICLR 2026] Tina: Tiny Reasoning Models via LoRA☆319Updated 4 months ago
- 🚀 Efficiently (pre)training foundation models with native PyTorch features, including FSDP for training and SDPA implementation of Flash…☆279Updated 2 months ago
- Cold Compress is a hackable, lightweight, and open-source toolkit for creating and benchmarking cache compression methods built on top of…☆148Updated last year
- BABILong is a benchmark for LLM evaluation using the needle-in-a-haystack approach.☆238Updated 5 months ago
- Official PyTorch implementation for Hogwild! Inference: Parallel LLM Generation with a Concurrent Attention Cache☆140Updated 5 months ago