bzhangGo / rmsnormLinks
Root Mean Square Layer Normalization
☆245Updated 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 …☆171Updated last year
- Sequence modeling with Mega.☆296Updated 2 years ago
- [ACL 2022] Structured Pruning Learns Compact and Accurate Models https://arxiv.org/abs/2204.00408☆196Updated 2 years ago
- Code for the ALiBi method for transformer language models (ICLR 2022)☆536Updated last year
- Prune a model while finetuning or training.☆403Updated 3 years ago
- [EMNLP 2022] Official implementation of Transnormer in our EMNLP 2022 paper - The Devil in Linear Transformer☆61Updated last year
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆379Updated last year
- Rectified Rotary Position Embeddings☆374Updated last year
- Recurrent Memory Transformer☆150Updated last year
- Official implementation of TransNormerLLM: A Faster and Better LLM☆247Updated last year
- Implementation of Linformer for Pytorch☆290Updated last year
- Implementation of a Transformer, but completely in Triton☆270Updated 3 years ago
- [KDD'22] Learned Token Pruning for Transformers☆98Updated 2 years ago
- ☆147Updated 2 years ago
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆230Updated 10 months ago
- Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"☆366Updated last year
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆225Updated 3 years ago
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆214Updated 2 years ago
- ☆105Updated last year
- Low-bit optimizers for PyTorch☆129Updated last year
- FairSeq repo with Apollo optimizer☆114Updated last year
- [ICLR 2022] Official implementation of cosformer-attention in cosFormer: Rethinking Softmax in Attention☆194Updated 2 years ago
- Lightning Attention-2: A Free Lunch for Handling Unlimited Sequence Lengths in Large Language Models☆322Updated 4 months ago
- ☆292Updated 7 months ago
- ☆112Updated last year
- Simple Parameter-efficient Fine-tuning for Transformer-based Masked Language-models☆142Updated 2 years ago
- Run Effective Large Batch Contrastive Learning Beyond GPU/TPU Memory Constraint☆396Updated last year
- [ICML'24 Oral] The official code of "DiJiang: Efficient Large Language Models through Compact Kernelization", a novel DCT-based linear at…☆101Updated last year
- Tutel MoE: Optimized Mixture-of-Experts Library, Support DeepSeek FP8/FP4☆851Updated this week
- [NeurIPS 2022] A Fast Post-Training Pruning Framework for Transformers☆190Updated 2 years ago