A collection of tricks and tools to speed up transformer models
☆227Sep 17, 2026Updated this week
Alternatives and similar repositories for transformer-tricks
Users that are interested in transformer-tricks are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- [ICML 2025] This is the official PyTorch implementation of "ZipAR: Accelerating Auto-regressive Image Generation through Spatial Locality…☆52Mar 25, 2025Updated last year
- Code repository for ICLR 2025 paper "LeanQuant: Accurate and Scalable Large Language Model Quantization with Loss-error-aware Grid"☆28Mar 2, 2025Updated last year
- ☆138May 29, 2025Updated last year
- Official implementation for "K-Forcing: Joint Next-K-Token Decoding via Push-Forward Language Modeling"☆18Aug 16, 2026Updated last month
- A PyTorch implementation of [VCT](https://github.com/google-research/google-research/tree/master/vct)☆10Nov 25, 2022Updated 3 years ago
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- An experimental GUI framework with GTK4 component generation using HTML, CSS and JavaScript☆20Jun 14, 2023Updated 3 years ago
- PegaFlow is a high-performance KV cache offloading solution for vLLM v1 on single-node multi-GPU setups.☆25Jan 7, 2026Updated 8 months ago
- Official PyTorch implementation of "GuidedQuant: Large Language Model Quantization via Exploiting End Loss Guidance" (ICML 2025)☆56Apr 13, 2026Updated 5 months ago
- ☆92Jan 23, 2025Updated last year
- Flash-Muon: An Efficient Implementation of Muon Optimizer☆262Jun 15, 2025Updated last year
- [NeurIPS 2024] The official implementation of ZipCache: Accurate and Efficient KV Cache Quantization with Salient Token Identification☆33Mar 30, 2025Updated last year
- [ICML 2025] XAttention: Block Sparse Attention with Antidiagonal Scoring☆282Jul 6, 2025Updated last year
- ☆69Mar 21, 2025Updated last year
- supporting pytorch FSDP for optimizers☆84Dec 8, 2024Updated last year
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- ☆125May 28, 2024Updated 2 years ago
- ☆93Jul 7, 2025Updated last year
- Auto Thinking Mode switch for Qwen3 in Open webui☆70May 8, 2025Updated last year
- Code for paper: [ICLR2025 Oral] FlexPrefill: A Context-Aware Sparse Attention Mechanism for Efficient Long-Sequence Inference☆172Oct 13, 2025Updated 11 months ago
- Try out HallOumi, a state-of-the-art claim verification model in a simple UI!☆41Updated this week
- Helpful tools and examples for working with flex-attention☆1,247Updated this week
- Speculative Decoding Meets Quantization: Compatibility Evaluation and Hierarchical Framework Design☆26May 29, 2025Updated last year
- ☆14Dec 22, 2024Updated last year
- ☆287Jun 6, 2025Updated last year
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- BFloat16 Fused Adam Operator for PyTorch☆20Nov 16, 2024Updated last year
- 🚀 Efficient implementations for emerging model architectures☆5,764Updated this week
- LLM KV cache compression made easy☆1,209Updated this week
- A toolkit for scaling law research ⚖☆69Jan 27, 2025Updated last year
- This is a fork of SGLang for hip-attention integration. Please refer to hip-attention for detail.☆18Mar 31, 2026Updated 5 months ago
- [ICML 2024] When Linear Attention Meets Autoregressive Decoding: Towards More Effective and Efficient Linearized Large Language Models☆35Jun 12, 2024Updated 2 years ago
- Towards Economical Inference: Enabling DeepSeek's Multi-Head Latent Attention in Any Transformer-based LLMs☆213Dec 4, 2025Updated 9 months ago
- This repo is an exploratory experiment to enable frozen pretrained RWKV language models to accept speech modality input. We followed the …☆54Dec 23, 2024Updated last year
- Implementation and evaluation of Scaling Embedding Layers in Language Models research paper☆17Feb 2, 2026Updated 7 months ago
- GPUs on demand by Runpod - Special Offer Available • AdRun AI, ML, and HPC workloads on powerful cloud GPUs—without limits or wasted spend. Deploy GPUs in under a minute and pay by the second.
- Demonstration that finetuning RoPE model on larger sequences than the pre-trained model adapts the model context limit☆62Jun 21, 2023Updated 3 years ago
- AirLLM 70B inference with single 4GB GPU☆21Jun 27, 2025Updated last year
- Muon is Scalable for LLM Training☆1,546Aug 3, 2025Updated last year
- Public Goods Game (PGG) Benchmark: Contribute & Punish is a multi-agent benchmark that tests cooperative and self-interested strategies a…☆41Apr 10, 2025Updated last year
- ☆13May 8, 2023Updated 3 years ago
- 🐳 Efficient Triton implementations for "Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attention"☆1,021Feb 5, 2026Updated 7 months ago
- Code, Resources - Personal project - Llama Paper Summary - October 14, 2024.☆11Oct 15, 2024Updated last year