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.☆19Mar 31, 2026Updated 3 months ago
- Training hybrid models for dummies.☆31Nov 1, 2025Updated 8 months ago
- Linear Attention Sequence Parallelism (LASP)☆87Jun 4, 2024Updated 2 years ago
- Ring attention implementation with flash attention☆1,037Sep 10, 2025Updated 10 months ago
- [COLM'25] A Controlled Study on Long Context Extension and Generalization in LLMs☆65Mar 9, 2026Updated 4 months ago
- Serverless GPU API endpoints on Runpod - Get Bonus Credits • AdSkip the infrastructure headaches. Auto-scaling, pay-as-you-go, no-ops approach lets you focus on innovating your application.
- Large Context Attention☆773Oct 13, 2025Updated 9 months ago
- ☆326Jul 10, 2025Updated last year
- Latent Large Language Models☆19Aug 24, 2024Updated last year
- Overflow Prevention Enhances Long-Context Recurrent LLMs (COLM 2025)☆18Jul 8, 2025Updated last year
- FlexAttention w/ FlashAttention3 Support☆27Oct 5, 2024Updated last year
- ☆48Jul 3, 2026Updated 3 weeks ago
- Code for the paper "Stack Attention: Improving the Ability of Transformers to Model Hierarchical Patterns"☆18Mar 15, 2024Updated 2 years ago
- [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 3 months ago
- ring-attention experiments☆171Oct 17, 2024Updated last year
- AI Agents on DigitalOcean Gradient AI Platform • AdBuild production-ready AI agents using customizable tools or access multiple LLMs through a single endpoint. Create custom knowledge bases or connect external data.
- [ICLR 2025] DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Heads☆539Feb 10, 2025Updated last year
- Efficient LLM Inference over Long Sequences☆392Jun 25, 2025Updated last year
- JAX bindings for Flash Attention v2☆108Feb 28, 2026Updated 4 months ago
- Layer-Condensed KV cache w/ 10 times larger batch size, fewer params and less computation. Dramatic speed up with better task performance…☆157Apr 7, 2025Updated last year
- Prepare for DeekSeek R1 inference: Benchmark CPU, DRAM, SSD, iGPU, GPU, ... with efficient code.☆73Feb 2, 2025Updated last year
- 🐳 Efficient Triton implementations for "Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attention"☆1,014Feb 5, 2026Updated 5 months ago
- ☆56Nov 6, 2024Updated last year
- Minimal (400 LOC) implementation Maximum (multi-node, FSDP) GPT training☆132Apr 17, 2024Updated 2 years ago
- A repository for research on medium sized language models.☆78May 23, 2024Updated 2 years ago
- 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.
- Lightning Attention-2: A Free Lunch for Handling Unlimited Sequence Lengths in Large Language Models☆344Feb 23, 2025Updated last year
- supporting pytorch FSDP for optimizers☆84Dec 8, 2024Updated last year
- ☆34May 14, 2025Updated last year
- Helpful tools and examples for working with flex-attention☆1,212Updated this week
- A toolkit for scaling law research ⚖☆69Jan 27, 2025Updated last year
- Code and data to explore neural scaling laws of xLSTM and Transformer models.☆23Apr 8, 2026Updated 3 months ago
- 🤖FFPA: Extends FA-2/3 via Split-D for large headdims, 1.5x~6×↑🎉 vs SDPA, up to 513~535 TFLOPS🎉 on NVIDIA H200.☆315Updated this week
- ACL 2023☆39Jun 6, 2023Updated 3 years ago
- ☆1,583Mar 25, 2026Updated 4 months ago
- GPU virtual machines on DigitalOcean Gradient AI • AdGet to production fast with high-performance AMD and NVIDIA GPUs you can spin up in seconds. The definition of operational simplicity.
- ☆21Apr 27, 2026Updated 2 months ago
- Official implementation of Acc-SpMM: Accelerating General-purpose Sparse Matrix-Matrix Multiplication with GPU Tensor Cores.☆17Nov 13, 2025Updated 8 months ago
- USP: Unified (a.k.a. Hybrid, 2D) Sequence Parallel Attention for Long Context Transformers Model Training and Inference☆682May 21, 2026Updated 2 months ago
- Sparse Backpropagation for Mixture-of-Expert Training☆30Jul 2, 2024Updated 2 years ago
- OpenDiLoCo: An Open-Source Framework for Globally Distributed Low-Communication Training☆583Jul 17, 2026Updated last week
- ☆54May 20, 2024Updated 2 years ago
- An implementation of the Llama architecture, to instruct and delight☆21May 31, 2025Updated last year