siyan-zhao / prepacking
The source code of our work "Prepacking: A Simple Method for Fast Prefilling and Increased Throughput in Large Language Models" [AISTATS 2025]
☆59Updated 6 months ago
Alternatives and similar repositories for prepacking:
Users that are interested in prepacking are comparing it to the libraries listed below
- Repository for Sparse Finetuning of LLMs via modified version of the MosaicML llmfoundry☆40Updated last year
- Simple and efficient pytorch-native transformer training and inference (batched)☆73Updated last year
- Using FlexAttention to compute attention with different masking patterns☆43Updated 7 months ago
- The simplest implementation of recent Sparse Attention patterns for efficient LLM inference.☆60Updated 3 months ago
- ☆125Updated last year
- Tree Attention: Topology-aware Decoding for Long-Context Attention on GPU clusters☆126Updated 5 months ago
- Layer-Condensed KV cache w/ 10 times larger batch size, fewer params and less computation. Dramatic speed up with better task performance…☆148Updated 3 weeks ago
- ☆50Updated 6 months ago
- This repo is based on https://github.com/jiaweizzhao/GaLore☆27Updated 7 months ago
- ☆44Updated 2 months ago
- Language models scale reliably with over-training and on downstream tasks☆96Updated last year
- A scalable asynchronous reinforcement learning implementation with in-flight weight updates.☆94Updated this week
- Code and Configs for Asynchronous RLHF: Faster and More Efficient RL for Language Models☆48Updated last week
- ☆77Updated 3 months ago
- some common Huggingface transformers in maximal update parametrization (µP)☆80Updated 3 years ago
- Flash-Muon: An Efficient Implementation of Muon Optimzer☆91Updated this week
- [ICLR2025] Breaking Throughput-Latency Trade-off for Long Sequences with Speculative Decoding☆115Updated 5 months ago
- Boosting 4-bit inference kernels with 2:4 Sparsity☆73Updated 8 months ago
- Load compute kernels from the Hub☆115Updated last week
- ☆78Updated 8 months ago
- ☆43Updated last year
- ☆126Updated 2 months ago
- ☆103Updated 11 months ago
- Implementation of the paper: "Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attention" from Google in pyTO…☆55Updated 2 weeks ago
- Work in progress.☆58Updated 3 weeks ago
- Ouroboros: Speculative Decoding with Large Model Enhanced Drafting (EMNLP 2024 main)☆103Updated last month
- DPO, but faster 🚀☆41Updated 5 months ago
- Code for data-aware compression of DeepSeek models☆21Updated 3 weeks ago
- The official repository for SkyLadder: Better and Faster Pretraining via Context Window Scheduling☆29Updated last month
- Pytorch implementation for "Compressed Context Memory For Online Language Model Interaction" (ICLR'24)☆59Updated last year