facebookresearch / LayerSkipLinks
Code for "LayerSkip: Enabling Early Exit Inference and Self-Speculative Decoding", ACL 2024
☆344Updated 5 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☆352Updated 11 months ago
- ☆202Updated 10 months ago
- Memory layers use a trainable key-value lookup mechanism to add extra parameters to a model without increasing FLOPs. Conceptually, spars…☆342Updated 10 months ago
- Q-GaLore: Quantized GaLore with INT4 Projection and Layer-Adaptive Low-Rank Gradients.☆202Updated last year
- Efficient LLM Inference over Long Sequences☆390Updated 3 months ago
- ☆222Updated 3 weeks ago
- An extension of the nanoGPT repository for training small MOE models.☆202Updated 7 months ago
- ☆107Updated last month
- Explorations into some recent techniques surrounding speculative decoding☆288Updated 10 months ago
- The official implementation of the paper "What Matters in Transformers? Not All Attention is Needed".☆177Updated 6 months ago
- Code for studying the super weight in LLM☆120Updated 10 months ago
- [ICML 2024] CLLMs: Consistency Large Language Models☆405Updated 11 months ago
- ☆201Updated 10 months ago
- [NeurIPS 2025] Simple extension on vLLM to help you speed up reasoning model without training.☆197Updated 4 months ago
- Unofficial implementation for the paper "Mixture-of-Depths: Dynamically allocating compute in transformer-based language models"☆173Updated last year
- Block Transformer: Global-to-Local Language Modeling for Fast Inference (NeurIPS 2024)☆162Updated 6 months ago
- 🚀 Efficiently (pre)training foundation models with native PyTorch features, including FSDP for training and SDPA implementation of Flash…☆270Updated 3 months ago
- FlexAttention based, minimal vllm-style inference engine for fast Gemma 2 inference.☆296Updated 2 months ago
- LLM KV cache compression made easy☆660Updated last week
- For releasing code related to compression methods for transformers, accompanying our publications☆446Updated 9 months ago
- The official repo for "LLoCo: Learning Long Contexts Offline"☆117Updated last year
- Repo for "LoLCATs: On Low-Rank Linearizing of Large Language Models"☆248Updated 8 months ago
- [ICLR 2025] DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Heads☆494Updated 8 months ago
- Automated Identification of Redundant Layer Blocks for Pruning in Large Language Models☆249Updated last year
- ArcticTraining is a framework designed to simplify and accelerate the post-training process for large language models (LLMs)☆231Updated this week
- PyTorch building blocks for the OLMo ecosystem☆307Updated this week
- Official PyTorch implementation for Hogwild! Inference: Parallel LLM Generation with a Concurrent Attention Cache☆127Updated 2 months ago
- A framework to study AI models in Reasoning, Alignment, and use of Memory (RAM).☆295Updated this week
- EvolKit is an innovative framework designed to automatically enhance the complexity of instructions used for fine-tuning Large Language M…☆240Updated 11 months ago
- Simple & Scalable Pretraining for Neural Architecture Research☆297Updated 2 months ago