machilusZ / FastGen
This repo contains the source code for: Model Tells You What to Discard: Adaptive KV Cache Compression for LLMs
☆32Updated 6 months ago
Alternatives and similar repositories for FastGen:
Users that are interested in FastGen are comparing it to the libraries listed below
- Pytorch implementation of our paper accepted by ICML 2024 -- CaM: Cache Merging for Memory-efficient LLMs Inference☆32Updated 7 months ago
- Activation-aware Singular Value Decomposition for Compressing Large Language Models☆56Updated 3 months ago
- QAQ: Quality Adaptive Quantization for LLM KV Cache☆46Updated 10 months ago
- ☆36Updated 5 months ago
- ☆49Updated 9 months ago
- ☆41Updated 2 months ago
- Official Repo for SparseLLM: Global Pruning of LLMs (NeurIPS 2024)☆51Updated last week
- An unofficial implementation of "Mixture-of-Depths: Dynamically allocating compute in transformer-based language models"☆35Updated 8 months ago
- ☆49Updated last year
- [ACL 2024] Not All Experts are Equal: Efficient Expert Pruning and Skipping for Mixture-of-Experts Large Language Models☆81Updated 8 months ago
- ☆65Updated last week
- [NeurIPS 2024] The official implementation of "Kangaroo: Lossless Self-Speculative Decoding for Accelerating LLMs via Double Early Exitin…☆48Updated 7 months ago
- 16-fold memory access reduction with nearly no loss☆76Updated 3 months ago
- GEAR: An Efficient KV Cache Compression Recipefor Near-Lossless Generative Inference of LLM☆157Updated 7 months ago
- PyTorch implementation of paper "Response Length Perception and Sequence Scheduling: An LLM-Empowered LLM Inference Pipeline".☆81Updated last year
- [ICLR 2024 Spotlight] Code for the paper "Merge, Then Compress: Demystify Efficient SMoE with Hints from Its Routing Policy"☆72Updated 8 months ago
- ☆23Updated 3 months ago
- [ICLR 2025] SWIFT: On-the-Fly Self-Speculative Decoding for LLM Inference Acceleration☆36Updated 2 months ago
- ☆111Updated 4 months ago
- The Official Implementation of Ada-KV: Optimizing KV Cache Eviction by Adaptive Budget Allocation for Efficient LLM Inference☆57Updated 3 weeks ago
- ☆36Updated 2 months ago
- SQUEEZED ATTENTION: Accelerating Long Prompt LLM Inference☆40Updated 2 months ago
- Source code for the paper "LongGenBench: Long-context Generation Benchmark"☆14Updated 4 months ago
- Code associated with the paper **Draft & Verify: Lossless Large Language Model Acceleration via Self-Speculative Decoding**☆157Updated this week
- Code for Palu: Compressing KV-Cache with Low-Rank Projection☆73Updated 2 weeks ago
- Official PyTorch implementation of IntactKV: Improving Large Language Model Quantization by Keeping Pivot Tokens Intact☆39Updated 8 months ago
- Pruner-Zero: Evolving Symbolic Pruning Metric from scratch for LLMs☆77Updated 2 months ago
- [ICLR 2025] TidalDecode: A Fast and Accurate LLM Decoding with Position Persistent Sparse Attention☆26Updated this week
- Multi-Candidate Speculative Decoding☆34Updated 9 months ago
- ☆57Updated last month