kyegomez / Blockwise-Parallel-TransformerLinks
32 times longer context window than vanilla Transformers and up to 4 times longer than memory efficient Transformers.
☆48Updated 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:
- Here we will test various linear attention designs.☆62Updated last year
- ☆106Updated last year
- Linear Attention Sequence Parallelism (LASP)☆86Updated last year
- Official repository for the paper "SwitchHead: Accelerating Transformers with Mixture-of-Experts Attention"☆98Updated 10 months ago
- ☆32Updated last year
- Official repository for the paper "Approximating Two-Layer Feedforward Networks for Efficient Transformers"☆38Updated 2 months ago
- Sparse Backpropagation for Mixture-of-Expert Training☆30Updated last year
- Reference implementation of "Softmax Attention with Constant Cost per Token" (Heinsen, 2024)☆24Updated last year
- [ICML'24 Oral] The official code of "DiJiang: Efficient Large Language Models through Compact Kernelization", a novel DCT-based linear at…☆102Updated last year
- Official code for the paper "Attention as a Hypernetwork"☆40Updated last year
- ☆51Updated 2 months ago
- ☆49Updated last year
- Triton Implementation of HyperAttention Algorithm☆48Updated last year
- Explorations into adversarial losses on top of autoregressive loss for language modeling☆37Updated 6 months ago
- ☆56Updated last year
- Contextual Position Encoding but with some custom CUDA Kernels https://arxiv.org/abs/2405.18719☆22Updated last year
- [EMNLP 2022] Official implementation of Transnormer in our EMNLP 2022 paper - The Devil in Linear Transformer☆61Updated 2 years ago
- [NeurIPS 2023] Sparse Modular Activation for Efficient Sequence Modeling☆39Updated last year
- [ICML 2024] When Linear Attention Meets Autoregressive Decoding: Towards More Effective and Efficient Linearized Large Language Models☆33Updated last year
- ☆29Updated 2 years ago
- Using FlexAttention to compute attention with different masking patterns☆44Updated 11 months ago
- CUDA and Triton implementations of Flash Attention with SoftmaxN.☆73Updated last year
- HGRN2: Gated Linear RNNs with State Expansion☆55Updated last year
- [ICLR 2024] This is the official PyTorch implementation of "QLLM: Accurate and Efficient Low-Bitwidth Quantization for Large Language Mod…☆29Updated last year
- DPO, but faster 🚀☆44Updated 8 months ago
- [NAACL 2025] A Closer Look into Mixture-of-Experts in Large Language Models☆54Updated 6 months ago
- Official repository of paper "RNNs Are Not Transformers (Yet): The Key Bottleneck on In-context Retrieval"☆27Updated last year
- Odysseus: Playground of LLM Sequence Parallelism☆76Updated last year
- ☆55Updated last year
- Pytorch implementation of the PEER block from the paper, Mixture of A Million Experts, by Xu Owen He at Deepmind☆127Updated last year