siyan-zhao / prepacking
The source code of our work "Prepacking: A Simple Method for Fast Prefilling and Increased Throughput in Large Language Models"
☆59Updated 4 months ago
Alternatives and similar repositories for prepacking:
Users that are interested in prepacking are comparing it to the libraries listed below
- Simple and efficient pytorch-native transformer training and inference (batched)☆68Updated 10 months ago
- Repository for Sparse Finetuning of LLMs via modified version of the MosaicML llmfoundry☆40Updated last year
- The simplest implementation of recent Sparse Attention patterns for efficient LLM inference.☆56Updated 3 weeks ago
- ☆43Updated 3 months ago
- Language models scale reliably with over-training and on downstream tasks☆96Updated 10 months ago
- ☆82Updated 4 months ago
- Boosting 4-bit inference kernels with 2:4 Sparsity☆64Updated 5 months ago
- NAACL '24 (Best Demo Paper RunnerUp) / MlSys @ NeurIPS '23 - RedCoast: A Lightweight Tool to Automate Distributed Training and Inference☆64Updated 2 months ago
- PyTorch building blocks for the OLMo ecosystem☆51Updated this week
- ☆88Updated 8 months ago
- Code for NeurIPS 2024 Spotlight: "Scaling Laws and Compute-Optimal Training Beyond Fixed Training Durations"☆70Updated 3 months ago
- [ICLR2025] Breaking Throughput-Latency Trade-off for Long Sequences with Speculative Decoding☆107Updated 2 months ago
- Pytorch implementation for "Compressed Context Memory For Online Language Model Interaction" (ICLR'24)☆53Updated 9 months ago
- Layer-Condensed KV cache w/ 10 times larger batch size, fewer params and less computation. Dramatic speed up with better task performance…☆147Updated 3 weeks ago
- Using FlexAttention to compute attention with different masking patterns☆40Updated 4 months ago
- Cascade Speculative Drafting☆28Updated 10 months ago
- Implementation of the paper: "Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attention" from Google in pyTO…☆53Updated this week
- ☆42Updated last year
- ☆36Updated 5 months ago
- ☆38Updated 9 months ago
- ☆74Updated last month
- Ouroboros: Speculative Decoding with Large Model Enhanced Drafting (EMNLP 2024 main)☆84Updated 4 months ago
- Triton-based implementation of Sparse Mixture of Experts.☆196Updated 2 months ago
- This repo is based on https://github.com/jiaweizzhao/GaLore☆24Updated 4 months ago
- Tree Attention: Topology-aware Decoding for Long-Context Attention on GPU clusters☆114Updated 2 months ago
- ☆76Updated last year
- JORA: JAX Tensor-Parallel LoRA Library (ACL 2024)☆32Updated 9 months ago
- Fast and memory-efficient exact attention☆59Updated this week
- ☆111Updated 4 months ago
- The official implementation of the paper "Demystifying the Compression of Mixture-of-Experts Through a Unified Framework".☆57Updated 3 months ago