bzhangGo / rmsnormLinks
Root Mean Square Layer Normalization
☆254Updated 2 years ago
Alternatives and similar repositories for rmsnorm
Users that are interested in rmsnorm are comparing it to the libraries listed below
Sorting:
- (Unofficial) PyTorch implementation of grouped-query attention (GQA) from "GQA: Training Generalized Multi-Query Transformer Models from …☆180Updated last year
- Code for the ALiBi method for transformer language models (ICLR 2022)☆542Updated last year
- [EMNLP 2022] Official implementation of Transnormer in our EMNLP 2022 paper - The Devil in Linear Transformer☆62Updated 2 years ago
- ☆106Updated last year
- [KDD'22] Learned Token Pruning for Transformers☆100Updated 2 years ago
- Sequence modeling with Mega.☆300Updated 2 years ago
- Recurrent Memory Transformer☆150Updated 2 years ago
- [ACL 2022] Structured Pruning Learns Compact and Accurate Models https://arxiv.org/abs/2204.00408☆197Updated 2 years ago
- ☆149Updated 2 years ago
- Lightning Attention-2: A Free Lunch for Handling Unlimited Sequence Lengths in Large Language Models☆328Updated 7 months ago
- Prune a model while finetuning or training.☆405Updated 3 years ago
- ☆293Updated 9 months ago
- Rectified Rotary Position Embeddings☆381Updated last year
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆381Updated 2 years ago
- Implementation of Linformer for Pytorch☆300Updated last year
- Low-bit optimizers for PyTorch☆131Updated last year
- Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"☆369Updated 2 years ago
- Official implementation of TransNormerLLM: A Faster and Better LLM☆246Updated last year
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆214Updated 2 years ago
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆230Updated 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
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆361Updated last year
- ☆119Updated last year
- Implementation of a Transformer, but completely in Triton☆274Updated 3 years ago
- Implementation of "Attention Is Off By One" by Evan Miller☆197Updated 2 years ago
- Repository of the paper "Accelerating Transformer Inference for Translation via Parallel Decoding"☆120Updated last year
- ☆228Updated last year
- ☆154Updated 2 years ago
- [ICLR 2022] Official implementation of cosformer-attention in cosFormer: Rethinking Softmax in Attention☆196Updated 2 years ago
- Implementation of 💍 Ring Attention, from Liu et al. at Berkeley AI, in Pytorch☆539Updated 4 months ago