Tree Attention: Topology-aware Decoding for Long-Context Attention on GPU clusters
☆135Dec 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 5 months ago
- Training hybrid models for dummies.☆30Nov 1, 2025Updated 10 months ago
- Linear Attention Sequence Parallelism (LASP)☆87Jun 4, 2024Updated 2 years ago
- Ring attention implementation with flash attention☆1,060Sep 10, 2025Updated last year
- [COLM'25] A Controlled Study on Long Context Extension and Generalization in LLMs☆65Mar 9, 2026Updated 6 months ago
- Bare Metal GPUs on DigitalOcean Gradient AI • AdPurpose-built for serious AI teams training foundational models, running large-scale inference, and pushing the boundaries of what's possible.
- Large Context Attention☆773Oct 13, 2025Updated 11 months ago
- ☆334Jul 10, 2025Updated last year
- Latent Large Language Models☆19Aug 24, 2024Updated 2 years ago
- Overflow Prevention Enhances Long-Context Recurrent LLMs (COLM 2025)☆18Jul 8, 2025Updated last year
- FlexAttention w/ FlashAttention3 Support☆27Oct 5, 2024Updated last year
- ☆51Jul 3, 2026Updated 2 months ago
- [NeurIPS'24 Spotlight, ICLR'25, ICML'25] To speed up Long-context LLMs' inference, approximate and dynamic sparse calculate the attention…☆1,230Sep 10, 2026Updated 2 weeks ago
- ring-attention experiments☆176Oct 17, 2024Updated last year
- [ICLR 2025] DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Heads☆540Feb 10, 2025Updated last year
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- Efficient LLM Inference over Long Sequences☆392Jun 25, 2025Updated last year
- JAX bindings for Flash Attention v2☆109Feb 28, 2026Updated 6 months ago
- Layer-Condensed KV cache w/ 10 times larger batch size, fewer params and less computation. Dramatic speed up with better task performance…☆155Apr 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,021Feb 5, 2026Updated 7 months ago
- Minimal (400 LOC) implementation Maximum (multi-node, FSDP) GPT training☆132Apr 17, 2024Updated 2 years ago
- ☆56Nov 6, 2024Updated last year
- Code for the paper "Stack Attention: Improving the Ability of Transformers to Model Hierarchical Patterns"☆19Mar 15, 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☆85Dec 8, 2024Updated last year
- ☆34May 14, 2025Updated last year
- Helpful tools and examples for working with flex-attention☆1,253Updated 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.☆24Apr 8, 2026Updated 5 months ago
- Kernel Library for Large Headdim Attention (64~1024, BF16/FP8/FP4), 1.5x~15x↑ vs PyTorch SDPA.☆334Updated this week
- ACL 2023☆39Jun 6, 2023Updated 3 years ago
- ☆22Apr 27, 2026Updated 5 months 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.
- ☆1,593Mar 25, 2026Updated 6 months ago
- Official implementation of Acc-SpMM: Accelerating General-purpose Sparse Matrix-Matrix Multiplication with GPU Tensor Cores.☆38Nov 13, 2025Updated 10 months ago
- USP: Unified (a.k.a. Hybrid, 2D) Sequence Parallel Attention for Long Context Transformers Model Training and Inference☆695Sep 16, 2026Updated last week
- Sparse Backpropagation for Mixture-of-Expert Training☆30Jul 2, 2024Updated 2 years ago
- OpenDiLoCo: An Open-Source Framework for Globally Distributed Low-Communication Training☆593Jul 17, 2026Updated 2 months ago
- ☆54May 20, 2024Updated 2 years ago
- An implementation of the Llama architecture, to instruct and delight☆21May 31, 2025Updated last year