kyegomez / Blockwise-Parallel-TransformerLinks
32 times longer context window than vanilla Transformers and up to 4 times longer than memory efficient Transformers.
☆49Updated 2 years ago
Alternatives and similar repositories for Blockwise-Parallel-Transformer
Users that are interested in Blockwise-Parallel-Transformer are comparing it to the libraries listed below
Sorting:
- Linear Attention Sequence Parallelism (LASP)☆86Updated last year
- ☆106Updated last year
- Here we will test various linear attention designs.☆62Updated last year
- Official repository for the paper "SwitchHead: Accelerating Transformers with Mixture-of-Experts Attention"☆98Updated 11 months ago
- Reference implementation of "Softmax Attention with Constant Cost per Token" (Heinsen, 2024)☆24Updated last year
- ☆32Updated last year
- Using FlexAttention to compute attention with different masking patterns☆44Updated 11 months ago
- Triton Implementation of HyperAttention Algorithm☆48Updated last year
- Contextual Position Encoding but with some custom CUDA Kernels https://arxiv.org/abs/2405.18719☆22Updated last year
- Sparse Backpropagation for Mixture-of-Expert Training☆30Updated last year
- ☆54Updated 3 months ago
- [ICML'24 Oral] The official code of "DiJiang: Efficient Large Language Models through Compact Kernelization", a novel DCT-based linear at…☆102Updated last year
- ☆56Updated last year
- [ICLR 2025 & COLM 2025] Official PyTorch implementation of the Forgetting Transformer and Adaptive Computation Pruning☆125Updated 3 weeks ago
- [NeurIPS 2023] Sparse Modular Activation for Efficient Sequence Modeling☆40Updated last year
- Xmixers: A collection of SOTA efficient token/channel mixers☆11Updated last week
- ☆29Updated 2 years ago
- DPO, but faster 🚀☆44Updated 9 months ago
- Repository of the paper "Accelerating Transformer Inference for Translation via Parallel Decoding"☆120Updated last year
- Official code for the paper "Attention as a Hypernetwork"☆41Updated last year
- ☆55Updated last year
- HGRN2: Gated Linear RNNs with State Expansion☆54Updated last year
- Official repository for the paper "Approximating Two-Layer Feedforward Networks for Efficient Transformers"☆38Updated 3 months ago
- ☆49Updated last year
- Triton implement of bi-directional (non-causal) linear attention☆54Updated 7 months ago
- Odysseus: Playground of LLM Sequence Parallelism☆77Updated last year
- [EMNLP 2022] Official implementation of Transnormer in our EMNLP 2022 paper - The Devil in Linear Transformer☆62Updated 2 years ago
- Code for "Everybody Prune Now: Structured Pruning of LLMs with only Forward Passes"☆28Updated last year
- [ACL 2024] RelayAttention for Efficient Large Language Model Serving with Long System Prompts☆40Updated last year
- The implementation for MLSys 2023 paper: "Cuttlefish: Low-rank Model Training without All The Tuning"☆45Updated 2 years ago