bzhangGo / rmsnorm
Root Mean Square Layer Normalization
☆241Updated 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 …☆165Updated last year
- Sequence modeling with Mega.☆295Updated 2 years ago
- Lightning Attention-2: A Free Lunch for Handling Unlimited Sequence Lengths in Large Language Models☆284Updated 2 months ago
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆377Updated last year
- Rectified Rotary Position Embeddings☆367Updated 11 months ago
- Recurrent Memory Transformer☆149Updated last year
- Code for the ALiBi method for transformer language models (ICLR 2022)☆526Updated last year
- ☆146Updated last year
- Official implementation of TransNormerLLM: A Faster and Better LLM☆243Updated last year
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆226Updated 8 months ago
- Large Context Attention☆710Updated 3 months ago
- A Pytorch implementation of Sparsely-Gated Mixture of Experts, for massively increasing the parameter count of language models☆739Updated last year
- ☆147Updated last year
- Implementation of Block Recurrent Transformer - Pytorch☆217Updated 8 months ago
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆330Updated 10 months ago
- Randomized Positional Encodings Boost Length Generalization of Transformers☆81Updated last year
- 🚀 Efficiently (pre)training foundation models with native PyTorch features, including FSDP for training and SDPA implementation of Flash…☆244Updated this week
- Experiments around a simple idea for inducing multiple hierarchical predictive model within a GPT☆212Updated 8 months ago
- [KDD'22] Learned Token Pruning for Transformers☆97Updated 2 years ago
- Tutel MoE: Optimized Mixture-of-Experts Library, Support DeepSeek FP8/FP4☆820Updated this week
- [ACL 2022] Structured Pruning Learns Compact and Accurate Models https://arxiv.org/abs/2204.00408☆195Updated 2 years ago
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆213Updated 2 years ago
- ☆290Updated 4 months ago
- ☆220Updated 11 months ago
- Code repo for the paper "LLM-QAT Data-Free Quantization Aware Training for Large Language Models"☆284Updated 2 months ago
- Code for exploring Based models from "Simple linear attention language models balance the recall-throughput tradeoff"☆232Updated 2 months ago
- Low-bit optimizers for PyTorch☆128Updated last year
- Implementation of "Attention Is Off By One" by Evan Miller☆191Updated last year
- An implementation of local windowed attention for language modeling☆447Updated 3 months ago
- Prune a model while finetuning or training.☆402Updated 2 years ago