facebookresearch / LayerSkip
Code for "LayerSkip: Enabling Early Exit Inference and Self-Speculative Decoding", ACL 2024
☆277Updated 3 weeks ago
Alternatives and similar repositories for LayerSkip:
Users that are interested in LayerSkip are comparing it to the libraries listed below
- Q-GaLore: Quantized GaLore with INT4 Projection and Layer-Adaptive Low-Rank Gradients.☆196Updated 8 months ago
- Memory layers use a trainable key-value lookup mechanism to add extra parameters to a model without increasing FLOPs. Conceptually, spars…☆307Updated 3 months ago
- A family of compressed models obtained via pruning and knowledge distillation☆329Updated 4 months ago
- ☆173Updated 3 months ago
- The official implementation of the paper "What Matters in Transformers? Not All Attention is Needed".☆164Updated 3 months ago
- OpenCoconut implements a latent reasoning paradigm where we generate thoughts before decoding.☆168Updated 2 months ago
- ☆194Updated 3 months ago
- PyTorch implementation of models from the Zamba2 series.☆177Updated 2 months ago
- LLM KV cache compression made easy☆440Updated this week
- Unofficial implementation for the paper "Mixture-of-Depths: Dynamically allocating compute in transformer-based language models"☆154Updated 9 months ago
- LongRoPE is a novel method that can extends the context window of pre-trained LLMs to an impressive 2048k tokens.☆209Updated 7 months ago
- Automated Identification of Redundant Layer Blocks for Pruning in Large Language Models☆226Updated 11 months ago
- The official repo for "LLoCo: Learning Long Contexts Offline"☆116Updated 9 months ago
- The official evaluation suite and dynamic data release for MixEval.☆233Updated 4 months ago
- Code for studying the super weight in LLM☆91Updated 3 months ago
- Code for the paper "Rethinking Benchmark and Contamination for Language Models with Rephrased Samples"☆298Updated last year
- Block Transformer: Global-to-Local Language Modeling for Fast Inference (NeurIPS 2024)☆150Updated 3 months ago
- EvolKit is an innovative framework designed to automatically enhance the complexity of instructions used for fine-tuning Large Language M…☆207Updated 4 months ago
- [ICLR 2025] DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Heads☆438Updated last month
- Explorations into some recent techniques surrounding speculative decoding☆248Updated 3 months ago
- [ACL'24] Selective Reflection-Tuning: Student-Selected Data Recycling for LLM Instruction-Tuning☆349Updated 6 months ago
- Manage scalable open LLM inference endpoints in Slurm clusters☆253Updated 8 months ago
- A project to improve skills of large language models☆256Updated this week
- Official repository for ORPO☆445Updated 9 months ago
- Repo for "LoLCATs: On Low-Rank Linearizing of Large Language Models"☆223Updated last month
- Official repository for "Scaling Retrieval-Based Langauge Models with a Trillion-Token Datastore".☆196Updated this week
- Repo for Rho-1: Token-level Data Selection & Selective Pretraining of LLMs.☆405Updated 11 months ago
- Efficient LLM Inference over Long Sequences☆365Updated last month