bzhangGo / rmsnormLinks
Root Mean Square Layer Normalization
☆258Updated 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 …☆185Updated last year
- Sequence modeling with Mega.☆301Updated 2 years ago
- Recurrent Memory Transformer☆154Updated 2 years ago
- ☆150Updated 2 years ago
- [ACL 2022] Structured Pruning Learns Compact and Accurate Models https://arxiv.org/abs/2204.00408☆198Updated 2 years ago
- Code for the ALiBi method for transformer language models (ICLR 2022)☆546Updated 2 years ago
- [EMNLP 2022] Official implementation of Transnormer in our EMNLP 2022 paper - The Devil in Linear Transformer☆63Updated 2 years ago
- Implementation of "Attention Is Off By One" by Evan Miller☆198Updated 2 years ago
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆218Updated 2 years ago
- Implementation of Linformer for Pytorch☆302Updated last year
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆384Updated 2 years ago
- [KDD'22] Learned Token Pruning for Transformers☆102Updated 2 years ago
- Prune a model while finetuning or training.☆404Updated 3 years ago
- ☆106Updated last year
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆230Updated last year
- Lightning Attention-2: A Free Lunch for Handling Unlimited Sequence Lengths in Large Language Models☆335Updated 9 months ago
- Low-bit optimizers for PyTorch☆133Updated 2 years ago
- Randomized Positional Encodings Boost Length Generalization of Transformers☆83Updated last year
- Official implementation of TransNormerLLM: A Faster and Better LLM☆248Updated last year
- Rectified Rotary Position Embeddings☆384Updated last year
- Implementation of a Transformer, but completely in Triton☆277Updated 3 years ago
- FairSeq repo with Apollo optimizer☆114Updated last year
- ☆121Updated last year
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆228Updated 3 years ago
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆373Updated last year
- Official PyTorch implementation of QA-LoRA☆145Updated 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
- Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"☆371Updated 2 years ago
- Repository of the paper "Accelerating Transformer Inference for Translation via Parallel Decoding"☆121Updated last year
- An implementation of local windowed attention for language modeling☆488Updated 4 months ago