kyegomez / Blockwise-Parallel-Transformer
32 times longer context window than vanilla Transformers and up to 4 times longer than memory efficient Transformers.
☆43Updated last year
Related projects ⓘ
Alternatives and complementary repositories for Blockwise-Parallel-Transformer
- Official repository for the paper "SwitchHead: Accelerating Transformers with Mixture-of-Experts Attention"☆92Updated last month
- Repository for Sparse Finetuning of LLMs via modified version of the MosaicML llmfoundry☆38Updated 10 months ago
- [ICLR 2024] This is the official PyTorch implementation of "QLLM: Accurate and Efficient Low-Bitwidth Quantization for Large Language Mod…☆19Updated 8 months ago
- ☆98Updated 8 months ago
- Linear Attention Sequence Parallelism (LASP)☆64Updated 5 months ago
- Triton Implementation of HyperAttention Algorithm☆46Updated 11 months ago
- ☆35Updated 9 months ago
- Official repository for the paper "Approximating Two-Layer Feedforward Networks for Efficient Transformers"☆36Updated last year
- Here we will test various linear attention designs.☆56Updated 6 months ago
- Sparse Backpropagation for Mixture-of-Expert Training☆24Updated 4 months ago
- Code for "Everybody Prune Now: Structured Pruning of LLMs with only Forward Passes"☆28Updated 7 months ago
- Using FlexAttention to compute attention with different masking patterns☆40Updated last month
- Contextual Position Encoding but with some custom CUDA Kernels https://arxiv.org/abs/2405.18719☆19Updated 5 months ago
- [ICML 2024] When Linear Attention Meets Autoregressive Decoding: Towards More Effective and Efficient Linearized Large Language Models☆26Updated 5 months ago
- A Closer Look into Mixture-of-Experts in Large Language Models☆40Updated 3 months ago
- ☆29Updated 5 months ago
- This repo is based on https://github.com/jiaweizzhao/GaLore☆19Updated 2 months ago
- Odysseus: Playground of LLM Sequence Parallelism☆57Updated 5 months ago
- [ICML'24 Oral] The official code of "DiJiang: Efficient Large Language Models through Compact Kernelization", a novel DCT-based linear at…☆98Updated 5 months ago
- CUDA implementation of autoregressive linear attention, with all the latest research findings☆43Updated last year
- ☆45Updated 4 months ago
- The source code of our work "Prepacking: A Simple Method for Fast Prefilling and Increased Throughput in Large Language Models"☆56Updated last month
- [ICLR 2023] "Sparse MoE as the New Dropout: Scaling Dense and Self-Slimmable Transformers" by Tianlong Chen*, Zhenyu Zhang*, Ajay Jaiswal…☆44Updated last year
- HGRN2: Gated Linear RNNs with State Expansion☆49Updated 3 months ago
- Reference implementation of "Softmax Attention with Constant Cost per Token" (Heinsen, 2024)☆24Updated 5 months ago
- ☆45Updated 9 months ago
- ☆29Updated 2 years ago
- ☆122Updated 9 months ago
- The implementation for MLSys 2023 paper: "Cuttlefish: Low-rank Model Training without All The Tuning"☆43Updated last year