kyegomez / Blockwise-Parallel-TransformerLinks
32 times longer context window than vanilla Transformers and up to 4 times longer than memory efficient Transformers.
☆50Updated 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)☆88Updated last year
- Official repository for the paper "SwitchHead: Accelerating Transformers with Mixture-of-Experts Attention"☆102Updated last year
- Xmixers: A collection of SOTA efficient token/channel mixers☆28Updated 4 months ago
- ☆107Updated last year
- [ICML'24 Oral] The official code of "DiJiang: Efficient Large Language Models through Compact Kernelization", a novel DCT-based linear at…☆104Updated last year
- Here we will test various linear attention designs.☆62Updated last year
- ☆57Updated last year
- Sparse Backpropagation for Mixture-of-Expert Training☆29Updated last year
- Triton Implementation of HyperAttention Algorithm☆48Updated 2 years ago
- ☆32Updated last year
- [EMNLP 2022] Official implementation of Transnormer in our EMNLP 2022 paper - The Devil in Linear Transformer☆64Updated 2 years ago
- Contextual Position Encoding but with some custom CUDA Kernels https://arxiv.org/abs/2405.18719☆22Updated last year
- Using FlexAttention to compute attention with different masking patterns☆47Updated last year
- Reference implementation of "Softmax Attention with Constant Cost per Token" (Heinsen, 2024)☆24Updated last year
- [NeurIPS 2023] Sparse Modular Activation for Efficient Sequence Modeling☆40Updated 2 years ago
- [ICML 2024] When Linear Attention Meets Autoregressive Decoding: Towards More Effective and Efficient Linearized Large Language Models☆35Updated last year
- Official code for the paper "Attention as a Hypernetwork"☆47Updated last year
- DPO, but faster 🚀☆46Updated last year
- [ICML'24] The official implementation of “Rethinking Optimization and Architecture for Tiny Language Models”☆126Updated last year
- Official repository for the paper "Approximating Two-Layer Feedforward Networks for Efficient Transformers"☆38Updated 7 months ago
- The implementation for MLSys 2023 paper: "Cuttlefish: Low-rank Model Training without All The Tuning"☆45Updated 2 years ago
- ☆51Updated 2 years ago
- Repository for Sparse Finetuning of LLMs via modified version of the MosaicML llmfoundry☆42Updated 2 years ago
- Triton implement of bi-directional (non-causal) linear attention☆64Updated last year
- HGRN2: Gated Linear RNNs with State Expansion☆56Updated last year
- Code for "Everybody Prune Now: Structured Pruning of LLMs with only Forward Passes"☆30Updated last year
- [ACL 2024] RelayAttention for Efficient Large Language Model Serving with Long System Prompts☆40Updated last year
- Implementation of IceFormer: Accelerated Inference with Long-Sequence Transformers on CPUs (ICLR 2024).☆25Updated 6 months ago
- [ICLR 2023] Official implementation of Transnormer in our ICLR 2023 paper - Toeplitz Neural Network for Sequence Modeling☆81Updated last year
- Pytorch implementation of the PEER block from the paper, Mixture of A Million Experts, by Xu Owen He at Deepmind☆134Updated 3 months ago