OpenMachine-ai / transformer-tricksLinks
A collection of tricks and tools to speed up transformer models
☆189Updated last month
Alternatives and similar repositories for transformer-tricks
Users that are interested in transformer-tricks are comparing it to the libraries listed below
Sorting:
- ☆66Updated 8 months ago
- Flash-Muon: An Efficient Implementation of Muon Optimizer☆212Updated 5 months ago
- The evaluation framework for training-free sparse attention in LLMs☆106Updated last month
- [ICLR 2025] Official PyTorch Implementation of Gated Delta Networks: Improving Mamba2 with Delta Rule☆382Updated 2 months ago
- ☆256Updated 6 months ago
- Tree Attention: Topology-aware Decoding for Long-Context Attention on GPU clusters☆130Updated last year
- RWKV-7: Surpassing GPT☆100Updated last year
- Towards Economical Inference: Enabling DeepSeek's Multi-Head Latent Attention in Any Transformer-based LLMs☆196Updated 2 months ago
- Normalized Transformer (nGPT)☆194Updated last year
- Efficient LLM Inference over Long Sequences☆392Updated 5 months ago
- ☆61Updated 6 months ago
- Work in progress.☆75Updated last week
- ☆58Updated 2 years ago
- ☆132Updated 6 months ago
- Repo for "LoLCATs: On Low-Rank Linearizing of Large Language Models"☆249Updated 10 months ago
- Fused Qwen3 MoE layer for faster training, compatible with HF Transformers, LoRA, 4-bit quant, Unsloth☆214Updated last month
- ☆148Updated last year
- Chain of Experts (CoE) enables communication between experts within Mixture-of-Experts (MoE) models☆223Updated last month
- Block Transformer: Global-to-Local Language Modeling for Fast Inference (NeurIPS 2024)☆162Updated 7 months ago
- An efficent implementation of the method proposed in "The Era of 1-bit LLMs"☆155Updated last year
- Fast and memory-efficient exact attention☆74Updated 9 months ago
- ☆113Updated 6 months ago
- A minimal PyTorch re-implementation of Qwen3 VL with a fancy CLI☆256Updated this week
- An efficient implementation of the NSA (Native Sparse Attention) kernel☆126Updated 5 months ago
- The simplest implementation of recent Sparse Attention patterns for efficient LLM inference.☆91Updated 4 months ago
- ☆99Updated 9 months ago
- An extension of the nanoGPT repository for training small MOE models.☆215Updated 8 months ago
- Lightning Attention-2: A Free Lunch for Handling Unlimited Sequence Lengths in Large Language Models☆338Updated 9 months ago
- CUDA-L1: Improving CUDA Optimization via Contrastive Reinforcement Learning☆247Updated last month
- RWKV is an RNN with transformer-level LLM performance. It can be directly trained like a GPT (parallelizable). So it's combining the best…☆57Updated 8 months ago