Tree Attention: Topology-aware Decoding for Long-Context Attention on GPU clusters
☆134Dec 3, 2024Updated last year
Alternatives and similar repositories for tree_attention
Users that are interested in tree_attention are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- This is a fork of SGLang for hip-attention integration. Please refer to hip-attention for detail.☆18Mar 31, 2026Updated 2 months ago
- Linear Attention Sequence Parallelism (LASP)☆88Jun 4, 2024Updated 2 years ago
- Ring attention implementation with flash attention☆1,025Sep 10, 2025Updated 9 months ago
- [COLM'25] A Controlled Study on Long Context Extension and Generalization in LLMs☆65Mar 9, 2026Updated 3 months ago
- ☆320Jul 10, 2025Updated 11 months ago
- Proton VPN Special Offer - Get 70% off • AdSpecial partner offer. Trusted by over 100 million users worldwide. Tested, Approved and Recommended by Experts.
- Large Context Attention☆773Oct 13, 2025Updated 8 months ago
- Official implementation of Acc-SpMM: Accelerating General-purpose Sparse Matrix-Matrix Multiplication with GPU Tensor Cores.☆15Nov 13, 2025Updated 7 months ago
- LLM KV cache compression made easy☆1,112Updated this week
- Latent Large Language Models☆19Aug 24, 2024Updated last year
- Measuring the Signal to Noise Ratio in Language Model Evaluation☆30Aug 19, 2025Updated 9 months ago
- FlexAttention w/ FlashAttention3 Support☆27Oct 5, 2024Updated last year
- Prepare for DeekSeek R1 inference: Benchmark CPU, DRAM, SSD, iGPU, GPU, ... with efficient code.☆73Feb 2, 2025Updated last year
- [NeurIPS'24 Spotlight, ICLR'25, ICML'25] To speed up Long-context LLMs' inference, approximate and dynamic sparse calculate the attention…☆1,221Apr 8, 2026Updated 2 months ago
- Layer-Condensed KV cache w/ 10 times larger batch size, fewer params and less computation. Dramatic speed up with better task performance…☆156Apr 7, 2025Updated last year
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- [ICLR 2025] DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Heads☆541Feb 10, 2025Updated last year
- ring-attention experiments☆167Oct 17, 2024Updated last year
- Code for paper: Long cOntext aliGnment via efficient preference Optimization☆26Oct 10, 2025Updated 8 months ago
- Efficient LLM Inference over Long Sequences☆395Jun 25, 2025Updated 11 months ago
- JAX bindings for Flash Attention v2☆106Feb 28, 2026Updated 3 months ago
- 🐳 Efficient Triton implementations for "Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attention"☆1,006Feb 5, 2026Updated 4 months ago
- Code and dataset for the paper "IsarStep: a Benchmark for High-level Mathematical Reasoning"☆12Mar 15, 2021Updated 5 years ago
- A repository for research on medium sized language models.☆78May 23, 2024Updated 2 years ago
- Minimal (400 LOC) implementation Maximum (multi-node, FSDP) GPT training☆132Apr 17, 2024Updated 2 years 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.
- Lightning Attention-2: A Free Lunch for Handling Unlimited Sequence Lengths in Large Language Models☆345Feb 23, 2025Updated last year
- ☆56Nov 6, 2024Updated last year
- [ACL 24 Findings] Implementation of Resonance RoPE and the PosGen synthetic dataset.☆24Mar 5, 2024Updated 2 years ago
- supporting pytorch FSDP for optimizers☆84Dec 8, 2024Updated last year
- ☆34May 14, 2025Updated last year
- A toolkit for scaling law research ⚖☆64Jan 27, 2025Updated last year
- ☆29Aug 30, 2024Updated last year
- Helpful tools and examples for working with flex-attention☆1,195May 28, 2026Updated 2 weeks ago
- ACL 2023☆39Jun 6, 2023Updated 3 years ago
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- USP: Unified (a.k.a. Hybrid, 2D) Sequence Parallel Attention for Long Context Transformers Model Training and Inference☆672May 21, 2026Updated 3 weeks ago
- 🤖FFPA: Extends FlashAttention-2 via Split-D for large headdims, 1.5x~3×↑🎉 vs SDPA, up to 430T🎉 on H200.☆308Updated this week
- OpenDiLoCo: An Open-Source Framework for Globally Distributed Low-Communication Training☆577Updated this week
- Sparse Backpropagation for Mixture-of-Expert Training☆30Jul 2, 2024Updated last year
- ☆54May 20, 2024Updated 2 years ago
- Tritonbench is a collection of PyTorch custom operators with example inputs to measure their performance.☆359Updated this week
- The official implementation of paper: SimLayerKV: A Simple Framework for Layer-Level KV Cache Reduction.☆51Oct 18, 2024Updated last year