facebookresearch / LayerSkipLinks
Code for "LayerSkip: Enabling Early Exit Inference and Self-Speculative Decoding", ACL 2024
☆344Updated 6 months 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☆355Updated last week
- Efficient LLM Inference over Long Sequences☆390Updated 4 months ago
- Memory layers use a trainable key-value lookup mechanism to add extra parameters to a model without increasing FLOPs. Conceptually, spars…☆355Updated 11 months ago
- ☆202Updated 11 months ago
- The official implementation of the paper "What Matters in Transformers? Not All Attention is Needed".☆179Updated 7 months ago
- ☆225Updated 3 weeks ago
- An extension of the nanoGPT repository for training small MOE models.☆210Updated 8 months ago
- LLM KV cache compression made easy☆680Updated this week
- Explorations into some recent techniques surrounding speculative decoding☆290Updated 10 months ago
- ☆111Updated 2 months ago
- For releasing code related to compression methods for transformers, accompanying our publications☆447Updated 9 months ago
- Load compute kernels from the Hub☆326Updated this week
- Q-GaLore: Quantized GaLore with INT4 Projection and Layer-Adaptive Low-Rank Gradients.☆202Updated last year
- [NeurIPS 2025] Simple extension on vLLM to help you speed up reasoning model without training.☆203Updated 5 months ago
- [ICLR 2025] DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Heads☆499Updated 9 months ago
- Code for studying the super weight in LLM☆119Updated 11 months ago
- Unofficial implementation for the paper "Mixture-of-Depths: Dynamically allocating compute in transformer-based language models"☆175Updated last year
- ☆201Updated 11 months ago
- LongRoPE is a novel method that can extends the context window of pre-trained LLMs to an impressive 2048k tokens.☆267Updated 2 weeks ago
- Repo for "LoLCATs: On Low-Rank Linearizing of Large Language Models"☆249Updated 9 months ago
- Automated Identification of Redundant Layer Blocks for Pruning in Large Language Models☆253Updated last year
- 🚀 Efficiently (pre)training foundation models with native PyTorch features, including FSDP for training and SDPA implementation of Flash…☆271Updated last week
- Official PyTorch implementation of QA-LoRA☆143Updated last year
- Block Transformer: Global-to-Local Language Modeling for Fast Inference (NeurIPS 2024)☆162Updated 7 months ago
- Manage scalable open LLM inference endpoints in Slurm clusters☆274Updated last year
- Simple & Scalable Pretraining for Neural Architecture Research☆298Updated 2 weeks ago
- BABILong is a benchmark for LLM evaluation using the needle-in-a-haystack approach.☆215Updated 2 months ago
- EvolKit is an innovative framework designed to automatically enhance the complexity of instructions used for fine-tuning Large Language M…☆242Updated last year
- ☆234Updated last year
- [ICML 2024] CLLMs: Consistency Large Language Models☆404Updated 11 months ago