fkodom / grouped-query-attention-pytorch
(Unofficial) PyTorch implementation of grouped-query attention (GQA) from "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints" (https://arxiv.org/pdf/2305.13245.pdf)
☆160Updated 11 months ago
Alternatives and similar repositories for grouped-query-attention-pytorch:
Users that are interested in grouped-query-attention-pytorch are comparing it to the libraries listed below
- Lightning Attention-2: A Free Lunch for Handling Unlimited Sequence Lengths in Large Language Models☆276Updated last month
- Official implementation of TransNormerLLM: A Faster and Better LLM☆243Updated last year
- ☆219Updated 10 months ago
- ☆190Updated 5 months ago
- TransMLA: Multi-Head Latent Attention Is All You Need☆231Updated last month
- ☆189Updated last year
- ☆145Updated last year
- Unofficial implementation for the paper "Mixture-of-Depths: Dynamically allocating compute in transformer-based language models"☆157Updated 9 months ago
- Low-bit optimizers for PyTorch☆127Updated last year
- Official implementation of "DoRA: Weight-Decomposed Low-Rank Adaptation"☆123Updated 11 months ago
- LoRAMoE: Revolutionizing Mixture of Experts for Maintaining World Knowledge in Language Model Alignment☆318Updated 11 months ago
- This PyTorch package implements MoEBERT: from BERT to Mixture-of-Experts via Importance-Guided Adaptation (NAACL 2022).☆103Updated 2 years ago
- Code repo for the paper "LLM-QAT Data-Free Quantization Aware Training for Large Language Models"☆278Updated last month
- Official PyTorch implementation of DistiLLM: Towards Streamlined Distillation for Large Language Models (ICML 2024)☆207Updated last month
- Root Mean Square Layer Normalization☆237Updated 2 years ago
- ☆255Updated last year
- [ACL 2024] Long-Context Language Modeling with Parallel Encodings☆153Updated 10 months ago
- Rectified Rotary Position Embeddings☆365Updated 10 months ago
- Get down and dirty with FlashAttention2.0 in pytorch, plug in and play no complex CUDA kernels☆102Updated last year
- [ICML'24] The official implementation of “Rethinking Optimization and Architecture for Tiny Language Models”☆122Updated 3 months ago
- Official code for our CVPR'22 paper “Vision Transformer Slimming: Multi-Dimension Searching in Continuous Optimization Space”☆248Updated last year
- Awesome LLM pruning papers all-in-one repository with integrating all useful resources and insights.☆83Updated 4 months ago
- Code for paper "Patch-Level Training for Large Language Models"☆82Updated 5 months ago
- 🔥 A minimal training framework for scaling FLA models☆101Updated this week
- AdaLoRA: Adaptive Budget Allocation for Parameter-Efficient Fine-Tuning (ICLR 2023).☆319Updated last year
- [CVPR 2025 Highlight] The official CLIP training codebase of Inf-CL: "Breaking the Memory Barrier: Near Infinite Batch Size Scaling for C…☆240Updated 3 months ago
- [ICLR 2024]EMO: Earth Mover Distance Optimization for Auto-Regressive Language Modeling(https://arxiv.org/abs/2310.04691)☆121Updated last year
- Explorations into some recent techniques surrounding speculative decoding☆253Updated 3 months ago
- ☆132Updated 8 months ago
- ☆144Updated 7 months ago