facebookresearch / LayerSkipLinks
Code for "LayerSkip: Enabling Early Exit Inference and Self-Speculative Decoding", ACL 2024
☆327Updated 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☆348Updated 9 months ago
- Memory layers use a trainable key-value lookup mechanism to add extra parameters to a model without increasing FLOPs. Conceptually, spars…☆344Updated 8 months ago
- Efficient LLM Inference over Long Sequences☆389Updated last month
- Q-GaLore: Quantized GaLore with INT4 Projection and Layer-Adaptive Low-Rank Gradients.☆199Updated last year
- ☆201Updated 8 months ago
- LLM KV cache compression made easy☆586Updated this week
- ☆211Updated 6 months ago
- The official implementation of the paper "What Matters in Transformers? Not All Attention is Needed".☆174Updated 4 months ago
- ☆193Updated 8 months ago
- Explorations into some recent techniques surrounding speculative decoding☆282Updated 8 months ago
- Code for studying the super weight in LLM☆115Updated 8 months ago
- ArcticTraining is a framework designed to simplify and accelerate the post-training process for large language models (LLMs)☆200Updated last week
- Block Transformer: Global-to-Local Language Modeling for Fast Inference (NeurIPS 2024)☆160Updated 4 months ago
- ☆225Updated last year
- An extension of the nanoGPT repository for training small MOE models.☆178Updated 5 months ago
- LongRoPE is a novel method that can extends the context window of pre-trained LLMs to an impressive 2048k tokens.☆240Updated last year
- [ICLR 2025] DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Heads☆487Updated 6 months ago
- Simple extension on vLLM to help you speed up reasoning model without training.☆177Updated 2 months ago
- Repo for "LoLCATs: On Low-Rank Linearizing of Large Language Models"☆244Updated 6 months ago
- ☆100Updated 3 weeks ago
- [ICML 2024] CLLMs: Consistency Large Language Models☆400Updated 9 months ago
- 🚀 Efficiently (pre)training foundation models with native PyTorch features, including FSDP for training and SDPA implementation of Flash…☆260Updated last month
- Unofficial implementation for the paper "Mixture-of-Depths: Dynamically allocating compute in transformer-based language models"☆169Updated last year
- Load compute kernels from the Hub☆244Updated this week
- Official PyTorch implementation of QA-LoRA☆138Updated last year
- Automated Identification of Redundant Layer Blocks for Pruning in Large Language Models☆243Updated last year
- FlexAttention based, minimal vllm-style inference engine for fast Gemma 2 inference.☆250Updated 2 weeks ago
- ☆514Updated 3 weeks ago
- Code for the paper "Rethinking Benchmark and Contamination for Language Models with Rephrased Samples"☆308Updated last year
- The official repo for "LLoCo: Learning Long Contexts Offline"☆118Updated last year