bzhangGo / rmsnormLinks
Root Mean Square Layer Normalization
☆256Updated 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 …☆181Updated last year
- Sequence modeling with Mega.☆300Updated 2 years ago
- Code for the ALiBi method for transformer language models (ICLR 2022)☆544Updated last year
- [EMNLP 2022] Official implementation of Transnormer in our EMNLP 2022 paper - The Devil in Linear Transformer☆63Updated 2 years ago
- Recurrent Memory Transformer☆151Updated 2 years ago
- Official implementation of TransNormerLLM: A Faster and Better LLM☆247Updated last year
- ☆149Updated 2 years ago
- [ACL 2022] Structured Pruning Learns Compact and Accurate Models https://arxiv.org/abs/2204.00408☆197Updated 2 years ago
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆230Updated last year
- ☆105Updated last year
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆383Updated 2 years ago
- [KDD'22] Learned Token Pruning for Transformers☆100Updated 2 years ago
- Lightning Attention-2: A Free Lunch for Handling Unlimited Sequence Lengths in Large Language Models☆330Updated 8 months ago
- Implementation of "Attention Is Off By One" by Evan Miller☆196Updated 2 years ago
- Randomized Positional Encodings Boost Length Generalization of Transformers☆82Updated last year
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆217Updated 2 years ago
- Simple implementation of Speculative Sampling in NumPy for GPT-2.☆96Updated 2 years ago
- Prune a model while finetuning or training.☆405Updated 3 years ago
- Rectified Rotary Position Embeddings☆380Updated last year
- Implementation of a Transformer, but completely in Triton☆276Updated 3 years ago
- Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"☆369Updated 2 years ago
- Low-bit optimizers for PyTorch☆132Updated 2 years ago
- Repository of the paper "Accelerating Transformer Inference for Translation via Parallel Decoding"☆120Updated last year
- Official PyTorch implementation of QA-LoRA☆141Updated last year
- Large Context Attention☆743Updated last week
- ☆292Updated 10 months ago
- Scalable PaLM implementation of PyTorch☆188Updated 2 years ago
- [ICML'24 Oral] The official code of "DiJiang: Efficient Large Language Models through Compact Kernelization", a novel DCT-based linear at…☆103Updated last year
- [ICLR 2023] Official implementation of Transnormer in our ICLR 2023 paper - Toeplitz Neural Network for Sequence Modeling☆80Updated last year
- ☆121Updated last year