facebookresearch / LayerSkipLinks
Code for "LayerSkip: Enabling Early Exit Inference and Self-Speculative Decoding", ACL 2024
☆323Updated 3 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☆347Updated 8 months ago
- Memory layers use a trainable key-value lookup mechanism to add extra parameters to a model without increasing FLOPs. Conceptually, spars…☆342Updated 7 months ago
- Q-GaLore: Quantized GaLore with INT4 Projection and Layer-Adaptive Low-Rank Gradients.☆198Updated last year
- ☆190Updated 7 months ago
- The official implementation of the paper "What Matters in Transformers? Not All Attention is Needed".☆174Updated 4 months ago
- ☆199Updated 7 months ago
- ☆99Updated 2 months ago
- Code for studying the super weight in LLM☆114Updated 8 months ago
- LLM KV cache compression made easy☆560Updated last week
- LongRoPE is a novel method that can extends the context window of pre-trained LLMs to an impressive 2048k tokens.☆237Updated 11 months ago
- Efficient LLM Inference over Long Sequences☆385Updated last month
- Simple extension on vLLM to help you speed up reasoning model without training.☆169Updated 2 months ago
- Unofficial implementation for the paper "Mixture-of-Depths: Dynamically allocating compute in transformer-based language models"☆167Updated last year
- [ICML 2024] CLLMs: Consistency Large Language Models☆397Updated 8 months ago
- For releasing code related to compression methods for transformers, accompanying our publications☆437Updated 6 months ago
- Block Transformer: Global-to-Local Language Modeling for Fast Inference (NeurIPS 2024)☆160Updated 3 months ago
- An extension of the nanoGPT repository for training small MOE models.☆163Updated 4 months ago
- ☆206Updated 5 months ago
- Explorations into some recent techniques surrounding speculative decoding☆275Updated 7 months ago
- Repo for "LoLCATs: On Low-Rank Linearizing of Large Language Models"☆244Updated 6 months ago
- [ICLR 2025] DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Heads☆480Updated 5 months ago
- Tina: Tiny Reasoning Models via LoRA☆272Updated 2 months ago
- ☆223Updated last year
- Automated Identification of Redundant Layer Blocks for Pruning in Large Language Models☆243Updated last year
- ArcticTraining is a framework designed to simplify and accelerate the post-training process for large language models (LLMs)☆190Updated this week
- The official repo for "LLoCo: Learning Long Contexts Offline"☆118Updated last year
- Official PyTorch implementation for Hogwild! Inference: Parallel LLM Generation with a Concurrent Attention Cache☆113Updated 2 weeks ago
- Code for the paper "Rethinking Benchmark and Contamination for Language Models with Rephrased Samples"☆306Updated last year
- [NeurIPS 2024] Official Repository of The Mamba in the Llama: Distilling and Accelerating Hybrid Models☆226Updated 3 months ago
- Cold Compress is a hackable, lightweight, and open-source toolkit for creating and benchmarking cache compression methods built on top of…☆138Updated 11 months ago