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:
- ☆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
- Linear Attention Sequence Parallelism (LASP)☆88Updated last year
- Official repository for the paper "SwitchHead: Accelerating Transformers with Mixture-of-Experts Attention"☆102Updated last year
- ☆58Updated last year
- [NeurIPS 2023] Sparse Modular Activation for Efficient Sequence Modeling☆40Updated 2 years ago
- Here we will test various linear attention designs.☆62Updated last year
- Xmixers: A collection of SOTA efficient token/channel mixers☆28Updated 5 months ago
- Contextual Position Encoding but with some custom CUDA Kernels https://arxiv.org/abs/2405.18719☆22Updated last year
- Reference implementation of "Softmax Attention with Constant Cost per Token" (Heinsen, 2024)☆24Updated last year
- [ICML 2023] "Data Efficient Neural Scaling Law via Model Reusing" by Peihao Wang, Rameswar Panda, Zhangyang Wang☆14Updated 2 years ago
- ☆32Updated last year
- Official repository for the paper "Approximating Two-Layer Feedforward Networks for Efficient Transformers"☆38Updated 7 months ago
- ☆29Updated 3 years ago
- Sparse Backpropagation for Mixture-of-Expert Training☆29Updated last year
- ☆51Updated 2 years ago
- [ICML'24] The official implementation of “Rethinking Optimization and Architecture for Tiny Language Models”☆126Updated last year
- [EVA ICLR'23; LARA ICML'22] Efficient attention mechanisms via control variates, random features, and importance sampling☆87Updated 2 years ago
- HGRN2: Gated Linear RNNs with State Expansion☆56Updated last year
- [EMNLP 2022] Official implementation of Transnormer in our EMNLP 2022 paper - The Devil in Linear Transformer☆64Updated 2 years ago
- Official code for the paper "Attention as a Hypernetwork"☆47Updated last year
- Repository of the paper "Accelerating Transformer Inference for Translation via Parallel Decoding"☆123Updated last year
- Using FlexAttention to compute attention with different masking patterns☆47Updated last year
- ☆20Updated last year
- [ICML 2024] When Linear Attention Meets Autoregressive Decoding: Towards More Effective and Efficient Linearized Large Language Models☆35Updated last year
- Triton Implementation of HyperAttention Algorithm☆48Updated 2 years ago
- Official repository of paper "RNNs Are Not Transformers (Yet): The Key Bottleneck on In-context Retrieval"☆27Updated last year
- Some personal experiments around routing tokens to different autoregressive attention, akin to mixture-of-experts☆122Updated last year
- A repository for research on medium sized language models.☆77Updated last year
- Repository for Sparse Finetuning of LLMs via modified version of the MosaicML llmfoundry☆42Updated 2 years ago