bzhangGo / rmsnorm
Root Mean Square Layer Normalization
☆230Updated last year
Alternatives and similar repositories for rmsnorm:
Users that are interested in rmsnorm are comparing it to the libraries listed below
- (Unofficial) PyTorch implementation of grouped-query attention (GQA) from "GQA: Training Generalized Multi-Query Transformer Models from …☆153Updated 9 months ago
- Large Context Attention☆684Updated last month
- Sequence modeling with Mega.☆298Updated 2 years ago
- ☆138Updated last year
- Recurrent Memory Transformer☆149Updated last year
- ☆288Updated 2 months ago
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆370Updated last year
- [ICML'24 Oral] The official code of "DiJiang: Efficient Large Language Models through Compact Kernelization", a novel DCT-based linear at…☆99Updated 8 months ago
- Lightning Attention-2: A Free Lunch for Handling Unlimited Sequence Lengths in Large Language Models☆262Updated this week
- Implementation of Linformer for Pytorch☆268Updated last year
- ☆99Updated 11 months ago
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆309Updated 8 months ago
- [ACL 2022] Structured Pruning Learns Compact and Accurate Models https://arxiv.org/abs/2204.00408☆192Updated last year
- Code for the ALiBi method for transformer language models (ICLR 2022)☆515Updated last year
- Rectified Rotary Position Embeddings☆351Updated 9 months ago
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch☆642Updated 2 months ago
- [EMNLP 2022] Official implementation of Transnormer in our EMNLP 2022 paper - The Devil in Linear Transformer☆59Updated last year
- A simple but robust PyTorch implementation of RetNet from "Retentive Network: A Successor to Transformer for Large Language Models" (http…☆104Updated last year
- Official implementation of TransNormerLLM: A Faster and Better LLM☆241Updated last year
- Implementation of a Transformer, but completely in Triton☆258Updated 2 years ago
- ☆217Updated 8 months ago
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆210Updated 2 years ago
- Tutel MoE: An Optimized Mixture-of-Experts Implementation☆768Updated this week
- Code repo for the paper "LLM-QAT Data-Free Quantization Aware Training for Large Language Models"☆271Updated 5 months ago
- ☆143Updated last year
- Get down and dirty with FlashAttention2.0 in pytorch, plug in and play no complex CUDA kernels☆102Updated last year
- Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"☆358Updated last year
- Official PyTorch implementation of QA-LoRA☆126Updated 11 months ago
- Prune a model while finetuning or training.☆399Updated 2 years ago
- Implementation of 💍 Ring Attention, from Liu et al. at Berkeley AI, in Pytorch☆502Updated 4 months ago